Statistics

Hypothesis Testing Calculator

Run a one-sample z-test and get the decision.

Parameters Live Compute
Calculated Output
z-statistic 2
Two-tailed p-value 0.0455
Decision at alpha 0.05 Reject H0
Formula: z = (mean - mu) / (sigma / sqrt(n))
Step-by-Step Breakdown
1. Values used:
2. Sample mean = 105
3. Null mean = 100
4. Population SD = 15
5. Sample size = 36
6.
7. z-statistic = 2
8. Two-tailed p-value = 0.0455
9. Decision at alpha 0.05 = Reject H0
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

A z-test checks whether a sample mean differs significantly from a hypothesized value.

The math behind it

z = (sample mean - null mean) / (sigma / sqrt(n)). If the two-tailed p-value is below alpha, reject the null.

Worked Example

mean 105, mu 100, sigma 15, n 36 gives z = 2, p about 0.046, reject H0.

Frequently Asked Questions

What is the null hypothesis?

The default claim of no effect or no difference being tested against.

Advertisement