A hypothetical statistical hypothesis test that can be used for any type of hypothesis is conducted by drawing a random number between 0 and 1 and rejecting the null hypothesis if it is less than 0.05, what are the type I and type II errors of this test?
Type I error = Pr(reject H0 | H0 true). Now, Pr(reject H0) = 0.05, is this the type I error? How can I calculate type I error without specifying an actual H0?
Type II error = Pr(not reject H0 | H0 false) = 1 - Pr(reject H0 | H0 false). Does this equal to Pr(not reject H0) = 0.95?
Please help.