Skip to content

Commit 40f2f5f

Browse files
committed
fix issues, spacing, remove last OYO
1 parent 03c638a commit 40f2f5f

26 files changed

+823
-383
lines changed

lab0/lab0.Rmd

Lines changed: 168 additions & 41 deletions
Large diffs are not rendered by default.

lab0/lab0.html

Lines changed: 5 additions & 6 deletions
Large diffs are not rendered by default.

lab1/lab1.Rmd

Lines changed: 217 additions & 57 deletions
Large diffs are not rendered by default.

lab1/lab1.html

Lines changed: 3 additions & 5 deletions
Large diffs are not rendered by default.

lab2/lab2.Rmd

Lines changed: 151 additions & 44 deletions
Large diffs are not rendered by default.

lab2/lab2.html

Lines changed: 3 additions & 5 deletions
Large diffs are not rendered by default.

lab3/lab3.Rmd

Lines changed: 136 additions & 35 deletions
Large diffs are not rendered by default.

lab3/lab3.html

Lines changed: 1 addition & 2 deletions
Large diffs are not rendered by default.

lab4/lab4A.Rmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,6 @@ Ames. Now you'll try to estimate the mean home price.
293293
we're concerned with making estimates that are more often close to the
294294
true value, would we prefer a distribution with a large or small spread?
295295

296-
- What concepts from the textbook are covered in this lab? What concepts,
297-
if any, are not covered in the textbook? Have you seen these concepts
298-
elsewhere, e.g. lecture, discussion section, previous labs, or homework
299-
problems? Be specific in your answer.
300-
301296
<div id="license">
302297
This is a product of OpenIntro that is released under a [Creative Commons
303298
Attribution-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-sa/3.0).

lab4/lab4A.html

Lines changed: 3 additions & 5 deletions
Large diffs are not rendered by default.

lab4/lab4B.Rmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,6 @@ c(lower_vector[1], upper_vector[1])
178178
mean. How does this percentage compare to the confidence level level
179179
selected for the intervals?
180180
181-
- What concepts from the textbook are covered in this lab? What concepts,
182-
if any, are not covered in the textbook? Have you seen these concepts
183-
elsewhere, e.g. lecture, discussion section, previous labs, or homework
184-
problems? Be specific in your answer.
185-
186181
<div id="license">
187182
This is a product of OpenIntro that is released under a [Creative Commons
188183
Attribution-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-sa/3.0).

lab4/lab4B.html

Lines changed: 3 additions & 5 deletions
Large diffs are not rendered by default.

lab5/lab5.Rmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,6 @@ and/or a confidence interval. Answer your question using the `inference`
148148
function, report the statistical results, and also provide an explanation in
149149
plain language.
150150

151-
- What concepts from the textbook are covered in this lab? What concepts, if
152-
any, are not covered in the textbook? Have you seen these concepts elsewhere,
153-
e.g. lecture, discussion section, previous labs, or homework problems? Be
154-
specific in your answer.
155-
156151
<div id="license">
157152
This is a product of OpenIntro that is released under a [Creative Commons
158153
Attribution-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-sa/3.0).

lab5/lab5.html

Lines changed: 3 additions & 5 deletions
Large diffs are not rendered by default.

lab6/lab6.Rmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,6 @@ from 2005 and 2012 for 39 countries.
246246
*Hint:* Refer to your plot of the relationship between $p$ and margin of
247247
error. Do not use the data set to answer this question.
248248

249-
- What concepts from the textbook are covered in this lab? What concepts, if
250-
any, are not covered in the textbook? Have you seen these concepts
251-
elsewhere, e.g. lecture, discussion section, previous labs, or homework
252-
problems? Be specific in your answer.
253249

254250
<div id="license">
255251
This is a product of OpenIntro that is released under a [Creative Commons

lab6/lab6.html

Lines changed: 6 additions & 8 deletions
Large diffs are not rendered by default.

lab7/lab7.Rmd

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,10 @@ They're also used to compute the residuals.
171171
To assess whether the linear model is reliable, we need to check for (1)
172172
linearity, (2) nearly normal residuals, and (3) constant variability.
173173

174-
* Linearity: You already checked if the relationship between runs and
175-
at-bats is linear using a scatterplot. We should also verify this
176-
condition with a plot of the residuals vs. at-bats. Recall that any
177-
code following a *#* is intended to be a comment that helps
178-
understand the code but is ignored by R.
174+
*Linearity*: You already checked if the relationship between runs and at-bats
175+
is linear using a scatterplot. We should also verify this condition with a plot
176+
of the residuals vs. at-bats. Recall that any code following a *#* is intended
177+
to be a comment that helps understand the code but is ignored by R.
179178

180179
```{r residuals, eval=FALSE}
181180
plot(m1$residuals ~ mlb11$at_bats)
@@ -185,24 +184,23 @@ abline(h = 0, lty = 3) # adds a horizontal dashed line at y = 0
185184
6. Is there any apparent pattern in the residuals plot? What does this indicate
186185
about the linearity of the relationship between runs and at-bats?
187186

188-
* Nearly normal residuals: To check this condition, we can look at a
189-
histogram
187+
*Nearly normal residuals*: To check this condition, we can look at a histogram
190188

191-
```{r hist-res, eval=FALSE}
189+
```{r hist-res, eval=FALSE}
192190
hist(m1$residuals)
193191
```
194192

195-
or a normal probability plot of the residuals.
193+
or a normal probability plot of the residuals.
196194

197-
```{r qq-res, eval=FALSE}
195+
```{r qq-res, eval=FALSE}
198196
qqnorm(m1$residuals)
199197
qqline(m1$residuals) # adds diagonal line to the normal prob plot
200198
```
201199

202200
7. Based on the histogram and the normal probability plot, does the nearly
203201
normal residuals condition appear to be met?
204202

205-
* Constant variability:
203+
*Constant variability*:
206204

207205
8. Based on the plot in (1), does the constant variability condition appear to
208206
be met?
@@ -238,11 +236,6 @@ qqline(m1$residuals) # adds diagonal line to the normal prob plot
238236
- Check the model diagnostics for the regression model with the variable you
239237
decided was the best predictor for runs.
240238

241-
- What concepts from the textbook are covered in this lab? What concepts, if
242-
any, are not covered in the textbook? Have you seen these concepts
243-
elsewhere, e.g. lecture, discussion section, previous labs, or homework
244-
problems? Be specific in your answer.
245-
246239
<div id="license">
247240
This is a product of OpenIntro that is released under a [Creative Commons
248241
Attribution-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-sa/3.0).

lab7/lab7.html

Lines changed: 7 additions & 15 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)