Skip to content

Commit 5f493e2

Browse files
Update inf-model-slr.qmd (#509)
some typos.
1 parent 28339bc commit 5f493e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

inf-model-slr.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Many of the inferential ideas are remarkably similar to those covered in previou
2121
The technical conditions for linear models are typically assessed graphically, although independence of observations continues to be of utmost importance.
2222

2323
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.
2525
We provide some guidance and hope the reader will further their statistical learning after working through the material in this text.
2626
:::
2727

2828
```{r}
2929
#| include: false
30-
terms_chp_24 <- c("inference with single precictor regression")
30+
terms_chp_24 <- c("inference with single predictor regression")
3131
```
3232

3333
\vspace{-7mm}
@@ -172,7 +172,7 @@ terms_chp_24 <- c(terms_chp_24, "variability of the slope")
172172
#| fig-asp: 0.5
173173
ggplot() +
174174
geom_point(data = sandwich2, aes(x = ad, y = rev),
175-
size = 3, , shape = 22,
175+
size = 3, shape = 22,
176176
fill = IMSCOL["green", "full"], color = "#FFFFFF") +
177177
geom_smooth(data = sandwich2, aes(x = ad, y = rev),
178178
method = "lm", se = FALSE, fullrange = TRUE,
@@ -264,7 +264,7 @@ ggplot(sandwich_many_lm, aes(x = estimate)) +
264264
```
265265

266266
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.
268268
The tools in this textbook are designed to evaluate only one single sample of data.
269269
With actual studies, we do not have repeated samples, so we are not able to use repeated samples to visualize the variability in slopes.
270270
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.
880880

881881
------------------------------------------------------------------------
882882

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.
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.
884884
:::
885885

886886
\clearpage

0 commit comments

Comments
 (0)