Chapter 4: Foundations for Inference
This set of labs illustrates conceptual ideas behind inference, such as sampling variability, with simulation; the labs also teach the mechanics of computing confidence intervals and conducting hypothesis tests. Note that these labs demonstrate inference with the t-distribution, rather than the normal distribution. While using the normal distribution is a convenient approximation when doing calculations without access to software, R offers functions that compute confidence intervals and p-values based on the t-distribution. The t-distribution is formally introduced in Chapter 5.
Lab Notes
R (Base), Useful Links
The statistical software R is a widely used and stable software that is free. RStudio is a user-friendly interface for R.