How do the theoretical results play a role?
Instead of simulating a null distribution (using permutations), the t-distribution can be used to calculate p-values and confidence intervals. The theoretical result provides a t-distribution fit for the sampling distribution of the standardized slope statistic. Why does it matter if the sampling distribution is accurate?
This exercise is part of the course
Inference for Linear Regression in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
