# Simulation

• ### Analysis Tool: 2x2 Contingency Table (Version 1)

For a table of frequency data cross-classified according to two categorical variables, X and Y, each of which has two levels or subcategories, this page will calculate the Phi coefficient of association; perform a chi-square test of association, if the sample size is not too small; and perform the Fisher exact probability test, if the sample size is not too large. For intermediate values of n, the chi-square and Fisher tests will both be performed.

• ### Analysis Tool: t-Test for Independent or Correlated Samples

This page will compute the t-test for either correlated or independent samples. One may copy and paste data in or type the data in individually.

• ### Mann-Whitney Test

As the page opens, you will be prompted to enter two sample size values, na and nb. If the samples are of different sizes, the larger of the two should be designated as sample A. If you are starting out with raw (unranked) data, the necessary rank- ordering will be performed automatically.

• ### Analysis Tool: Analysis of Covariance (one-way)

These pages will perform an analysis of covariance for k independent samples, where the individual samples, A, B, etc., represent k quantitative or categorical levels of the independent variable; DV = the dependent variable of interest; and CV = the concomitant variable whose effects one wishes to bring under statistical control. The pages in this first batch require the direct entry of data, item by item, and as they open you will be prompted to enter the size of the largest of your several samples. The pages in this second batch allow for the import of data from a spreadsheet via copy and paste procedures.

• ### Analysis Tool: Analysis of Covariance Model (two-way)

These pages will perform a factorial analysis of covariance for RxC independent samples, cross-tabulated according to two independent variables, A and B, where A is the row variable and B the column variable; DV = the dependent variable of interest; and CV = the concomitant variable whose effects one wishes to bring under statistical control. As the pages open, you will be prompted to enter the size of the largest of your several samples.

• ### Wilcoxon Signed-Rank Test

Beginning with a set of n paired values of Xa and Xb, this page will perform the necessary rank- ordering along with all other steps appropriate to the Wilcoxon test. As the page opens, you will be prompted to enter the number of paired values of Xa and Xb.

• ### Analysis Tool: Normal Distribution

Generate a graphic and numerical display of the properties of the Normal Distribution. For a unit normal distribution, with M=0 and SD=Œ±1, enter 0 and 1 at the prompt. For a distribution with M=100 and SD=Œ±15, enter 100 and 15. And so forth

• ### Stock Exchange Game

This activity allows the user to experiment with expected values by changing probabilities and payoffs for two people buying stocks, repeating the experiment up to 100 times. There are links to discussion topics and activities related to the applet.

• ### Family Applet 1

This applet simulates families of three children. The probability of having a boy on any attempt can be changed in the parameter statement. The percantage of times "x" number of girls occurs is updated in the bar chart. There is a 2nd applet on the page that is the same as above, but the families stop having children after the first boy or after they have had 3 girls.
• ### M and M Applet

Students can sample numerous bags of M&Ms. A plot of the relative frequency of each color is continually updated above the sampling frame. Each sample bag of M&Ms contains 56 candies.