Primary Tool
Hypothesis Test Calculator
The hypothesis test calculator shows the test statistic, -value, critical value, and decision from the same inputs. That keeps attention on interpretation instead of arithmetic while still exposing every quantity used in the test.
Problem
A tutoring program claims that its students average points on a placement exam. A random sample of students from the program has mean and sample standard deviation .
At significance level , test whether the true program mean differs from .
Set up the hypotheses
The null hypothesis is the model being tested: . The alternative is two-sided because the question asks whether the mean differs from , not only whether it is higher or lower.
- •
- •
- •Use a one-sample test because the population standard deviation is unknown and the sample standard deviation is used.
Step-by-step walkthrough
The calculation turns the sample mean into a standardized distance from the null value.
- 1Compute the standard error: .
- 2Compute the test statistic: .
- 3Use degrees of freedom for the distribution.
- 4For a two-sided test, the -value is the probability, assuming is true, of seeing a statistic at least this far from in either direction.
- 5The calculator reports a small -value, below , so the decision rule says to reject at the 5% level.
Interpret the result
Rejecting means the sample provides statistically significant evidence that the program mean is not . The direction of the sample, , suggests the mean is higher, but the two-sided test itself was built to detect any difference.
The -value is not the probability that the tutoring program's claim is true. It is the probability of getting a sample result this extreme, or more extreme, if the true mean were exactly and the model assumptions held.
Statistical significance is not the same as practical importance. A difference of about points might matter a lot or very little depending on the exam scale, cost of the program, and how the sample was collected.
Common Pitfall
Rejecting does not prove the alternative hypothesis, and failing to reject would not prove the null. The test only measures how compatible the sample is with the null model under the chosen assumptions.
Try a Variation
Change the alternative hypothesis to 'greater than' while keeping the same sample summary. How does the -value change, and why is choosing the alternative after seeing the sample mean a bad statistical habit?
Related Pages
Keep moving through the cluster
What a -value means and what it does not mean
A -value is a measure of how surprising the observed test statistic would be if the null hypothesis were true. It is not the probability that the null hypothesis itself is true.
Open explanation →
Build and interpret a confidence interval for a population mean
A confidence interval turns a sample mean into a range of plausible values for the population mean. The width of that range depends on the sample size, the variability in the data, and the chosen confidence level.
Open worked example →
Calculate the expected value and variance of a discrete random variable
Expected value is the probability-weighted average of a distribution's outcomes. Variance measures how spread out those outcomes are around that average. Both are computed from the same probability table.
Open worked example →