...
/Simulation-Based Inference for Regression
Simulation-Based Inference for Regression
Learn about the confidence interval for a slope in simulation-based inference for regression.
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 pennies
data and with themythbusters_yawn
data.Conduct a hypothesis test of
vs. ...