danhalligan / ISLRv2-solutions

Solutions to "An Introduction to Statistical Learning with Applications in R second edition"
MIT License
72 stars 24 forks source link

Errors in Chapter 13 Question 1 #2

Closed KalasLavas closed 9 months ago

KalasLavas commented 9 months ago

I believe there are some errors in the solution of this problem:

b. From definition of FWER

The family-wise error rate (FWER) generalizes this notion to the setting of m null hypotheses, H01, . . . , H0m, and is defined as the probability of making at least one Type I error.

I believe answer should be $1-(1-\alpha)^m$ and $ma$ should be answer of (a)

image

d. In solution it is stated that

we will always have 1 false positive (type 1 error)

This is not true, for example let first p-value be 0.2 then second p-value will be 0.8, since both are larger than 0.05 neither is rejected

I hope I am not mistaken, thank you

danhalligan commented 9 months ago

Very good points and thanks for helping! I've updated the answers. Feel free to reopen if you still think there's any mistakes...