Simulation-Based Inference

Learn about hypothesis testing for a slope in simulation-based inference for regression.

We'll cover the following...

Hypothesis test for a slope

Let’s now conduct a hypothesis test of H0 : β1=0H_0\space:\space\beta_1=0 vs. HA : β10H_A\space:\space\beta_1\neq0. We’ll use the infer package, which follows the hypothesis testing paradigm in the diagram below.

Allen Downey’s hypothesis testing framework
Allen Downey’s hypothesis testing framework

Let’s first think about what it means for β1\beta_1 ...