Enter data
Up to five variables, with up to 50 observations each. First say how many variables and how large each sample is, then type the values into the grid, or paste columns copied from Excel, Google Sheets or a CSV file.
Step 1. The variables
Step 2. The sample sizes
Give each variable its sample size, from 2 to 50. Equal sizes make a balanced design, which paired tests, correlation and regression need. Tests for independent samples (two-sample t, F, ANOVA, Mann–Whitney, Kruskal–Wallis) work with unequal sizes.
Step 3. The values
The example is the data of Practical 13 of Linear Algebra & Linear Models, so the correlations on the next tab can be checked against that worked solution (\(r_{yx_1} = 0.988212\), \(r_{yx_1\cdot x_2} = 0.987457\), \(R_{y\cdot x_1x_2} = 0.996957\)).
The example is the three machines of Design & Analysis of Experiments, Unit 1, Worked Problem 1, with 7, 5 and 6 observations: run the one-way ANOVA on the next tabs and compare it with the worked solution (\(F = 4.885\), \(p = 0.023\)).
Paste columns
Descriptive statistics
Inferential statistics
Choose a test, the variables it uses and the level of significance. The result shows the hypotheses, the formula with your numbers in it, the statistic, its degrees of freedom, the p-value, the critical value and the decision.
Compare with distributions
The sample is compared with each standard distribution taught in the courses. Each distribution's parameters are estimated from the data. Then a \(\chi^2\) goodness-of-fit test (and, for continuous distributions, a Kolmogorov–Smirnov test) asks whether the data could have come from it. Distributions that cannot describe these data are listed with the reason.
Test a distribution you specify
When the parameters are given in advance (for example “Poisson with \(\lambda = 2\)”), nothing is estimated from the data and the degrees of freedom are not reduced.
Curve fitting
Fit a curve of \(Y\) on \(X\) by the method of least squares: a straight line, a second-degree parabola, the exponential curves \(Y = ab^X\) and \(Y = ae^{bX}\), or the power curve \(Y = aX^b\). The result shows the working table, the normal equations with your sums in them, their solution, the fitted values and residuals, and the curve drawn through the points. The two variables must have the same number of values.
How the calculator works
- Every calculation is done by this page in your browser. Nothing you enter is sent to a server, and nothing is kept unless you tick “Remember my data”. Then it is kept in this browser only.
- The definitions are the ones the courses use: quartiles by the \((n+1)p\) rule, variance with divisor \(n\) as a descriptive measure and \(n-1\) in the tests, Spearman's coefficient with the tie correction, and the decision written as “reject” or “do not reject” \(H_0\).
- Every result is checked against independent statistical software (scipy and statsmodels) on fixed data sets each time the site is built.
- Not sure which test fits your question? Which statistical test should I use?