Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I made a couple of changes:
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).
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.
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.