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


1. Sampling Variability

Illustrates the idea of sampling variability through simulation and explores the relationship between a point estimate and population parameter.

Handout Template Solutions


2. Confidence Intervals

Introduces the the calculation and interpretation of confidence intervals.

Handout Template Solutions


3. Hypothesis Testing

Introduces the mechanics of formal hypothesis testing.

Handout Template Solutions


4. Inference Concept Check

Examines some conceptual details of inference, including the relationship between hypothesis tests and confidence intervals.

Handout Template Solutions