Skip to content

Conversation

@Aminsinichi
Copy link

I made a couple of changes:

  1. In explaining Figure 7.2, you noted the "orange" dashed line already, but then you used "red" twice, which is confusing because the actual population parameter is indeed shown vertically as an orange dashed line. So I removed those extra red ones and replaced them with orange (also so as not to be confused with the horizontal red solid lines).

  2. I fixed a couple of typos: there was one when you showed the result of the division of 0.05/3 with -, which I corrected, and another one (smaller that → smaller than), plus one more in the Test Yourself section.

  3. The formula for SE for the prediction interval had a mistake because the sqrt(1 + 1/n) should be multiplied by sigma, not divided by it. You have this correct in the R code (piu <- mean(x) + qt(0.975, df = n - 1) * sd(x) * sqrt(1 + 1 / n)), but it was wrong in the formula. Similarly, $\sigma/\sqrt(1/N)$ should again be a multiplication, not a division. I also changed the N to n to keep the notation consistent.

I made a couple of changes:

1. In explaining Figure 7.2, you noted the "orange" dashed line already, but then you used "red" twice, which is confusing because the actual population parameter is indeed shown vertically as an orange dashed line. So I removed those extra red ones and replaced them with orange (also so as not to be confused with the horizontal red solid lines).

2. I fixed a couple of typos: there was one when you showed the result of the division of 0.05/3 with -, which I corrected, and another one (smaller that → smaller than), plus one more in the Test Yourself section.

3. The formula for SE for the prediction interval had a mistake because the sqrt(1 + 1/n) should be multiplied by sigma, not divided by it. You have this correct in the R code (piu <- mean(x) + qt(0.975, df = n - 1) * sd(x) * sqrt(1 + 1 / n)), but it was wrong in the formula. Similarly, $\sigma/\sqrt(1/N)$ should again be a multiplication, not a division. I also changed the N to n to keep the notation consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant