This applet performs inference for a population mean $\mu$.
Assume
$X_i \stackrel{iid}{\sim} N(\mu,\sigma^2)$ for $i=1,\ldots,n$
Directions
- Enter the sample size in the $n$ box.
- Enter the sample mean in the $\bar{x}$ box.
- Enter either the population standard deviation $\sigma$ or the sample standard deviation $s$.
- Hitting "Tab" or "Enter" will compute a confidence interval for $\mu$.
To perform a hypothesis test for $\mu$, enter $H_0$ and $H_a$. The critical value, rejection region, test statistic, and $p$-value are computed and graphed.