Statistical demonstration Java applets

November 23, 1999    

One variable

     

Confidence intervals for means

  This applet simulates finding confidence intervals for the mean of a normal random variable.  A sample of size 20 is generated from a standard normal random variable. The blue marks represent the sample data.  The sample mean and standard deviation are found and used to calculate the confidence interval.
http://www.math.csusb.edu/faculty/stanton/m262/confidence_means/confidence_means.html
     

Central limit theorem

  Rolling dice
http://www.math.csusb.edu/faculty/stanton/m262/central_limit_theorem/clt.html
     

Central limit theorem

  Rolling dice
http://www.stat.sc.edu/~west/javahtml/CLT.html
     

Tests of proportions

  This applet simulates a series of hypothesis tests for the value of the parameter p in a Bernoulli random variable. Each column of red and green marks represents a sample of 30 observations. "Successes'' are coded by green marks and "failures'' by red marks.
http://www.math.csusb.edu/faculty/stanton/m262/proportions/proportions.html
     

t distribution

  This example demonstrates how the t distribution approaches the normal distribution for large degrees of freedom.
http://www-stat.stanford.edu/~naras/jsm/TDensity/TDensity.html
     

Normal approximation to the binomial

  This Java applet shows how the binomial distribution can be approximated by the normal distribution. The initial values are for a binomial distribution with the parameters N = 8 and p = 0.5 where N is the number of trials and p is the probability of success on each trial. You can change the values of N and p and see the result.
http://www.ruf.rice.edu/~lane/stat_sim/binom_demo.html
     

Normal approximation to the binomial

  This applet simulates Galton's Board, in which balls are dropped through a triangular array of nails. This device is also called a "quincunx." Every time a ball hits a nail it has a probability of 50 percent to fall to the left of the nail and a probability of 50 percent to fall to the right of the nail.
http://stad.dsl.nl/~berrie1/index.html
     

Histograms

  What bin width do you think provides the best picture of the underlying data?
http://www.stat.sc.edu/~west/javahtml/Histogram.html
     

Central tendency & dispersion

  This applet demonstrates basic properties of the mean and median including (a) the effect of skew on the relative size of the mean and median, (b) the mean deviation from the mean is zero, and (c) the mean squared deviation from the mean is less than or equal to the mean squared deviation from the median (or any other number).
http://www.ruf.rice.edu/~lane/stat_sim/descriptive/index.html
     

Box plot & histogram

  Create a boxplot and histogram. Intervally measured data may be entered from the keyboard or pre-loaded datasets.
http://www.ctc.edu/~tkaupe/211/java/describe/describe.htm
     

 Distribution of sample means

  This Java applet lets you explore various aspects of sampling distributions. When the applet begins, a histogram is displayed at the top of the screen. This
is the distribution from which samples are taken. The mean of the
distribution is indicated by a small blue line and the median is indicated by a small purple line. The second histogram displays the sample data. This histogram is initially blank. The third and fourth histograms show
the distribution of statistics computed from the sample data.
http://www.ruf.rice.edu/~lane/stat_sim/sampling_dist/index.html
     
     
     
     
Two variables

     

Linear regression

  This applet lets you mark the locations of ordered pairs (x, y), determines the equation of the regression line, and graphs it.
http://www.math.csusb.edu/faculty/stanton/m262/regress/regress.html
     

Linear regression

  Use the mouse to put points in the blue area. After each point, the correlation coefficient and the regression equation will be calculated.
http://www.stat.uiuc.edu/~stat100/java/guess/PPApplet.html
     

 Linear regression

  Effect of outlier data points on a regression line
http://www.stat.sc.edu/~west/javahtml/Regression.html
     

 Linear regression

  Fit a regression line to data and add 95% confidence limits
http://www.stat.wvu.edu/SRS/Modules/Applets/Regression/regression.html
     

 Linear regression

  Points P1 through P6 represent data points. A line is drawn through the points and from each data point to the line a square is constructed. Drag the y-intercept and slope of the line so that the sum of the areas of the squares is minimized. That line is the least squares regression line for the data.
http://www.keypress.com/sketchpad/java_gsp/squares.html
     

Bivariate normal distribution

  The bivariate normal distribution has two variables, z1 and z2, possibly dependent.
http://www.math.csusb.edu/faculty/stanton/m262/target/target.html
     
     
     

Regression

  Java Applets for Visualisation of Statistical Concepts
about 20 Java applets illustrating regression and ANOVA concepts (be patient -- these take a while to load)
http://www.kuleuven.ac.be/ucs/java/index.html
     
     

Central Limit Theorem
Chi Square
Confidence Interval
Correlation
Central Tendency
Effect Size
Goodness of Fit
Histogram
Normal Distribution
Power
Regression
Repeated Measures
Restriction of Range
Sampling Distribution
Skew
t-test
Transformations

  Rice Virtual Lab in Statistics -- Simulations/Demos
http://www.ruf.rice.edu/~lane/stat_sim/index.html
     
     
     

Correlation

  Match the scatterplots with the correlation coefficients
http://www.stat.uiuc.edu/~stat100/java/guess/GCApplet.html
http://www.stat.uiuc.edu/~stat100/java/GCApplet/GCAppletFrame.html
     

 

  Data analysis with many kinds of small data sets
http://www.stat.uiuc.edu/~stat100/cuwu/
     

Correlation

  Play with the sliders to change the correlation coefficient and the sample size.
http://www.stat.berkeley.edu/users/stark/Java/Correlation.htm

 

   

Scatterplots

  This applet lets you study the relationship between pairs of variables using scatterplots, the correlation coefficient, the graph of averages, linear regression, and residual plots. You can select one of four data sets: the number of homeless in 50 cities in the USA, data about the 47 smallest of those 50 cities, pollutant emissions from EPA test vehicles in 96 tests, and data about the GPAs and GMAT scores of 913 first year MBA students
http://www.stat.berkeley.edu/users/stark/Java/ScatterPlot.htm
     

2 × 2 Contingency tables

  Specify the probability of success, P(S), and sample size, N, for the experimental conditions (Cond 1 and Cond 2). For each simulation, two chi-square tests are conducted. One test does not use the Yates correction for continuity. The other uses the Yates correction when the smallest expected frequency is less than 5.
http://www.ruf.rice.edu/~lane/stat_sim/contingency/index.html
     

Regression by Eye

  A scatterplot is displayed and you draw in a regression line by hand. You can then compare your line to the best least squares fit. You can also try to guess the value of Pearson's correlation coefficient
http://www.ruf.rice.edu/~lane/stat_sim/reg_by_eye/index.html
     

 Data transformation

  Demonstrates how data transformations of the x and/or y variables (log, square-root, or square) affect the relationship between two variables.
http://www.ruf.rice.edu/~lane/stat_sim/transformations/index.html
     

Correlation

  This applet creates a scatterplot and regression line and computes basic correlation and regression statistics. Data may be entered from the keyboard, mouse, or pre-loaded datasets. Use the arrow keys and the Home button to navigate the spread sheet and enter data.
http://www.ctc.edu/~tkaupe/211/java/correlate/correlate.htm
     
     


http://yip5.chem.wfu.edu/yip/spectspy/specmain.html
     http://www.ctc.edu/~tkaupe/211/java/describe/describe.htm
http://www.coe.tamu.edu/~strader/Mathematics/Statistics/LeastSquares/least_squares.html

http://www.duxbury.com/authors/mcclellandg/tiein/howell/reg.htm
http://www.duxbury.com/authors/mcclellandg/tiein/howell/chisq.htm
http://www.duxbury.com/authors/mcclellandg/tiein/howell/chisq2.htm
http://www.duxbury.com/authors/mcclellandg/tiein/howell/correlation.htm
http://espse.ed.psu.edu/espse/hale/edpsy101/Chapters/Chapter14/residuals.html

http://www.maths.napier.ac.uk/~neilt/show_off/whirl.htm
     
     
     
     
     

Lawrence L. Giventer
Professor, Dept. of Politics & Public Administration
California State University, Stanislaus
Turlock, CA 95382
http://web.csustan.edu/ppa/llg/stat_demos.htm
November 23, 1999