Inferences About the Population Variance (σ2)
This calculator helps build (1) a confidence interval for the population variance
σ2 (and optionally the population standard deviation σ), and (2) a
hypothesis test about σ2, using the chi-square (χ2) distribution.
When it applies
- You have a simple random sample from one population.
- The population is approximately normal (important for χ2 methods).
- You know (or can compute) the sample size n and sample variance s2.
What to enter
- Sample size (n): number of observations in the sample.
- Sample variance (s2) (or paste raw data if the calculator supports it): variance computed from the sample.
- Task: choose Confidence Interval or Hypothesis Test.
- For tests: enter the hypothesized variance σ02, choose the alternative, and pick α.
Key formulas used
If the population is normal, the statistic below follows a chi-square distribution with df = n − 1.
Confidence interval for σ2
Choose a confidence level (for example 95%). The calculator finds two χ2 critical values
and then computes the interval endpoints for σ2.
If the calculator also reports the interval for σ, it takes the positive square roots of both endpoints.
Hypothesis tests about σ2
Select the alternative form and enter σ02 (the value claimed under H0).
The test uses:
- Right-tailed (variance too large): H1: σ2 > σ02
- Left-tailed (variance too small): H1: σ2 < σ02
- Two-tailed (variance different): H1: σ2 ≠ σ02
The calculator can show the decision using the p-value, critical values, or both.
The visualization shades the relevant tail area(s) of the χ2 curve so you can see where the test statistic falls.
Batch mode (CSV)
Use the batch section to compute many rows at once. Paste CSV data directly into the textarea
(header optional). Typical columns are:
n, s2 (or s^2), and optionally task (ci/ht),
conf, alpha, sigma0sq, alt.
After running batch, you can copy the results table.
Tip
Variance tests and intervals are sensitive to non-normal data. If the population is strongly non-normal,
χ2-based inference for σ2 may be unreliable.