CASTI-89 TITANIUM (STATS/LIST EDITOR APP) · CALC89

randSamp(

Draws a random sample of elements from a list.

Syntax

randSamp(List, #Trials[, NoRepl])

Group
Probability
Arguments
Takes the list, the sample size and an optional flag that draws without replacement.
Availability
Included
Origin
On the TI-89 Titanium this command comes with the preinstalled Stats/List Editor app

Example

InputResult
RandSeed 7:randSamp({1,2,3,4,5},3){4,2,5}

Typing RandSeed 7:randSamp({1,2,3,4,5},3) on the home screen and pressing ENTER returns {4,2,5}.

Related commands