You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inf-model-slr.qmd
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ Many of the inferential ideas are remarkably similar to those covered in previou
21
21
The technical conditions for linear models are typically assessed graphically, although independence of observations continues to be of utmost importance.
22
22
23
23
We encourage the reader to think broadly about the models at hand without putting too much dependence on the exact p-values that are reported from the statistical software.
24
-
Inference on models with multiple explanatory variables can suffer from data snooping which result in false positive claims.
24
+
Inference on models with multiple explanatory variables can suffer from data snooping which results in false positive claims.
25
25
We provide some guidance and hope the reader will further their statistical learning after working through the material in this text.
26
26
:::
27
27
28
28
```{r}
29
29
#| include: false
30
-
terms_chp_24 <- c("inference with single precictor regression")
30
+
terms_chp_24 <- c("inference with single predictor regression")
31
31
```
32
32
33
33
\vspace{-7mm}
@@ -172,7 +172,7 @@ terms_chp_24 <- c(terms_chp_24, "variability of the slope")
172
172
#| fig-asp: 0.5
173
173
ggplot() +
174
174
geom_point(data = sandwich2, aes(x = ad, y = rev),
175
-
size = 3, , shape = 22,
175
+
size = 3, shape = 22,
176
176
fill = IMSCOL["green", "full"], color = "#FFFFFF") +
177
177
geom_smooth(data = sandwich2, aes(x = ad, y = rev),
Recall, the example described in this introduction is hypothetical.
267
-
That is, we created an entire population in order demonstrate how the slope of a line would vary from sample to sample.
267
+
That is, we created an entire population in order to demonstrate how the slope of a line would vary from sample to sample.
268
268
The tools in this textbook are designed to evaluate only one single sample of data.
269
269
With actual studies, we do not have repeated samples, so we are not able to use repeated samples to visualize the variability in slopes.
270
270
We have seen variability in samples throughout this text, so it should not come as a surprise that different samples will produce different linear models.
@@ -880,7 +880,7 @@ Use @tbl-midtermUnempRegTable to determine the p-value for the hypothesis test.
The last column of the table gives the p-value for the two-sided hypothesis test for the coefficient of the unemployment rate 0.2961 That is, the data do not provide convincing evidence that a higher unemployment rate has any correspondence with smaller or larger losses for the President's party in the House of Representatives in midterm elections. If there was no linear relationship between the two variables (i.e., if $\beta_1 = 0)$, then we would expect to see linear models as or more extreme that the observed model roughly 30% of the time.
883
+
The last column of the table gives the p-value for the two-sided hypothesis test for the coefficient of the unemployment rate 0.2961. That is, the data do not provide convincing evidence that a higher unemployment rate has any correspondence with smaller or larger losses for the President's party in the House of Representatives in midterm elections. If there was no linear relationship between the two variables (i.e., if $\beta_1 = 0)$, then we would expect to see linear models as or more extreme that the observed model roughly 30% of the time.
0 commit comments