StatCalc

Instructions

There are two parts to this applet. One, (Stat), is for doing basic statistcal calculations and the other, (Calc), serves as a scientific calculator.

Stat

The statistical calculator is button-operated. Paste or type your data into the data entry area, and click the button(s) for the procedures you want.
ButtonWhat it does
ComputeCompute summary statistics about the data in the data entry window
HistogramOpen a new window to draw a histogram of the data. The number of bins is user-selectable
SortSort the data and put it back in the data entry window
Chi-squareCompute chi-square for test of independence. Assumes that a rectangular array of data is in the data entry window. If this array is 2 x 2, it also reports the odds ratio for being in the first column of the table (for the first row relative to the second row).
RegressionOpens a new window to make a scatter plot of pairwise data and find the coefficients of least squares regression line. Your data should be entered with two numbers (the x and y coordinates of a data point) on each line. Example:
2 4
3 6
7 13
t-TestDoes a t-test comparing the means of two samples. Call the groups 0 and 1 and enter the values one to each line followed by the number of the group to which they belong.
Example:
11.4 0
12.5 0
9.4 1
10.9 1
CumulativeZWith one number x in the data entry window, this button computes P[Z less than x] and displays this value in place of x. The value of x is lost.
CumulativeBinomialYou provide the numbers n p k and this calculates the probability that a Binomial(n,p) variable has a value of k or more:
P[B(n,p) greater than or equal to k].
CumTYou provide the numbers t and df and this calculates the probability that a T(df) variable has a value of t or less:
P[T(df) less than t].
ClearEmpty the data entry window, losing its contents
CopySave the contents of the data entry window in an internal buffer
PasteReplace the contents of the data entry window with those of the internal buffer.

Calc

You can use the calculator by typing something into the text window and then clicking the "Run" button.

The calculator knows some standard functions (sin, cos, log, exp, etc.)

You can also make assignments to variables as long as the right hand side evaluates to a number, as in
x=3.14159
y=4*4
x*y


StatCalc is free software.
Steve Pelikan (pelikan@math.uc.edu) 1996...2003
You can have the source code.