Resampling Stats Commands
Basic Commands
ADD adds the elements of two vectors together
CONCAT combines two or more vectors into one long one
COPY records data or copies vectors; synonym for DATA and NUMBERS
COUNT determines frequency of a particular number or range of numbers
DATA enter data; synonym for COPY and NUMBERS
DEDUP eliminates duplicate values
DIVIDE divides the contents of one vector by another
END ends a loop, sends you back to a "REPEAT" statement
GENERATE produces the desired quantity of random integers within the desired range
HISTOGRAM produces a histogram of trial results
IF succeeding commands execute only when IF condition holds
MEAN calculates the mean of a vector
MULTIPLES determines the frequency of multiplicates of a number
MULTIPLY multiplies the elements in one vector by those in another
NUMBERS enter data or define a variable; synonym for DATA and COPY
PERCENTILE calculates the xth percentile of a frequency distribution
PRINT specifies output to be shown on screen
RANDOM produces the desired quantity of random integers within the desired range
REMARK precede remarks with an apostrophe '
REPEAT allows user to repeat simulation up to 15,000 times
RUNS calculates the number of runs of a given length
SAMPLE samples with replacement
SCORE allows user to keep track of the result of each simulation
SHUFFLE randomizes the elements in a vector
SORT sort the elements in a single vector
SUBTRACT subtracts the elements in one vector from those in another
SUM adds together the elements of a vector
TAKE takes a specified number of elements from a vector and creates a new vector
URN creates a vector of specified quantities of specified numbers
WEED removes specified numbers or a specified range
Additional Mathematical and Statistical Commands
ABS finds absolute value of each element in a vector
BOXPLOT produces a boxplot
CORR calculates correlation coefficient
EXP raises "e" to the power of each vector element
EXPONENTIAL generates numbers from an exponential distribution
LET allows arithmetic expression of the form LET x=a+b
LOG takes the log of elements in a vector
LOGNORMAL generates numbers randomly from a lognormal distribution
MAX identifies the maximum value in a vector
MEDIAN calculates the median of a vector
MIN identifies the minimum value in a vector
MODE identifies the most frequent value in a vector
NORMAL generates numbers randomly from a normal distribution
PARETO generates numbers randomly from a pareto distribution
POISSON generates numbers randomly from a poisson distribution
POWER raises each element in first vector to the power of the corresponding element in the second
REGRESS does multiple linear regression
RANKS computes the ranks of elements in a vector
ROUND rounds each element to an integer
SQRT determines the square root of each element in a vector
SQUARE squares each element in a vector
STDEV finds the standard deviation of each element in a vector
SUMABSDEV sums the absolute deviations of one vector from another
SUMSQRDEV sums the squared deviations of one vector from another
TIMEPLOT plots a vector sequentially along x-axis
UNIFORM produces random values from a continuous uniform distribution
VARIANCE finds the variance of the elements in a vector
WEIBULL generates numbers randomly from a Weibull distribution