tidymodels / TMwR

Code and content for "Tidy Modeling with R"
https://tmwr.org
Other
579 stars 272 forks source link

maybe a typo in Fig 12.2 in Chapter 12.3 #357

Closed jlxAtNovozymes closed 1 year ago

jlxAtNovozymes commented 1 year ago

Hi, I'm not stat guy, when l look at this plot, caption under Fig 12.2 caught my attention. I guess the number should be 95% not 90%?. is that true? image

jlxAtNovozymes commented 1 year ago

I'm not sure about the standard error computation is right or not. I guess standard error is standard deviation divided by square root of number, not the number. it's still in Chapter 12.3 image

juliasilge commented 1 year ago

I believe we've got it correct on the first part of your question:

## 95% conf interval:
qnorm(.025, lower.tail=FALSE)
#> [1] 1.959964

## 90% conf interval:
qnorm(.05, lower.tail=FALSE)
#> [1] 1.644854

Created on 2023-04-04 with reprex v2.0.2

topepo commented 1 year ago

I guess standard error is standard deviation divided by square root of number, not the number

That is correct. We'll fix that.

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.