Simulation-Based Inference for Regression
Explore simulation-based techniques for regression inference using R and the infer package. This lesson guides you through constructing bootstrap confidence intervals and conducting permutation tests to interpret population slopes, helping you understand regression relationships beyond theory-based methods.
We'll cover the following...
When we interpreted the third through seventh columns of a regression table, we stated that R doesn’t do simulations to compute these values. Rather, R uses theory-based methods that involve mathematical formulas.
We’ll use the simulation-based methods to recreate the values in the regression table. In particular, we’ll use the infer package workflow to:
Construct a 95% confidence interval for the population slope
using bootstrap resampling with replacement. We did this with the penniesdata and with themythbusters_yawndata.Conduct a hypothesis test of
vs. ...