### Differences between Statistics101 and Resampling Stats

Enhancements:

• REPEAT command can accept a variable as an argument

• Most commands, where it is reasonable, allow the result vector to be the same as (one of) the input vector(s).

• BOXPLOT allows multiple input vectors and in that case, determines a common scale to plot them against.

• Commands are not reserved words (but the keyword constants such as table are reserved in the commands that recognize them).

• TIMEPLOT is not limited to 65 elements.

• The data commands, CONCAT, COPY, DATA, NUMBERS, and URN, and have been generalized so that all can work with lists, sequences, and number multiples. Now they are all just different names for the same command and can be used interchangeably. All are backwards compatible with the original Resampling Stats commands of the same name.

• The ARGCOUNT, BINOMIALPROB, BREAK, COMBINATIONS, DEBUG, CHISQUARE, CLEAN, ELSE, ELSEIF, FOREACH, FRACTION, GLOBAL, INCLUDE, INTEGER, NAME, NEWCMD, NORMALPROB, NORMALPROBINV, OUTPUT, PERMUTATIONS, PRODUCT, REMAINDER, REMOVE, ROTATE, SCATTERGRAPH, SHIFT, SIGN, TAGS, TIME, XYGRAPH, XYPLOT, and trig function commands are newly added by Statistics101. The notMemberOf and notBetween tests are new also.

• Logical expressions have been added to the language. Logical expressions, which combine tests with AND, OR, XOR, or NOT operators, are allowed with the IF, ELSEIF, WHILE and UNTIL commands.

• Subroutines can be written using the NEWCMD command. They can be saved in separate files and included in new programs using the INCLUDE command.

• The LOGNORMAL command can take as arguments the parameters (mean and standard deviation) of either the lognormal distribution or those of the underlying normal distribution.

• Variable names can be any length.

• Variables may have any number of elements as long as you have enough memory. There is no need for the MAXSIZE command.

• Program text in the Edit and Debug windows can be automatically formatted (indented). During formatting, the command names can be automatically forced to upper case or lower case by user's choice.

• C/Java-style block comments (/* ... */) are allowed.

• A full-featured debugger with dynamic breakpoints makes debugging your simulations very easy.

• "Wizards" have been added for every command. Wizards are forms that the user fills out to create a command.

Random Number Generator:

By default, all the random numbers used by Statistics101 are generated by the Mersenne Twister algorithm, which is considered to be superior for simulation applications. However, Statistics101 provides the option of using the generator in the java.util.Random class. For details on the Java class, see http://java.sun.com/j2se/1.4.2/docs/api/java/util/Random.html. See the SEED command for how to choose the algorithm. You can also change the default algorithm in the Edit>Preferences dialog.