Good evening, I am a little confused about type I errors. If you are given a population of students doing hypothesis tests for a certain condition at a certain significance level, is it possible to calculate: a) how many students will fail to reject the null hypothesis given that the null hypothesis is false b) how many students will reject the null hypothesis given that the null hypothesis is true. I have tried searching online but so far all sites only show how to calculate the probability that at least one type I error will be made. Any assistance will be greatly appreciated.

reevelingw97

reevelingw97

Answered question

2022-11-11

If you are given a population of students doing hypothesis tests for a certain condition at a certain significance level, is it possible to calculate:
(a) how many students will fail to reject the null hypothesis given that the null hypothesis is false
(b) how many students will reject the null hypothesis given that the null hypothesis is true.
I have tried searching online but so far all sites only show how to calculate the probability that at least one type I error will be made. Any assistance will be greatly appreciated.

Answer & Explanation

iletsa2ym

iletsa2ym

Beginner2022-11-12Added 22 answers

This is easiest to think about if you have a 'simple' null hypothesis and a simple alternative. Suppose your data is summarized as a sample mean N o r m ( μ , σ = 4 ) of n=16 independent observations from N o r m ( μ , σ = 4 ) and you are testing H 0 : μ = 20 vs. H 1 : μ = 30.
Then the test statistic is
Z = X ¯ 20 σ / n = X ¯ 20.
Then, under H 0 ,, we have Z N o r m ( 0 , 1 ) . Testing at significance level α = 0.05 = 5 % ,, you would reject H 0 if Z 1.645.That is to say P ( Reject H 0 | H 0 True ) = P ( Type I Error ) = α = 0.05.. So if 100 students are performing this test and if μ = 20 , then you would expect five of them to Reject even though H 0 is true. This is the answer to part (b).
In my contrived simple example, there is only one way for H 0 to be false and that is to have μ = 30. Then it is easy to find P ( Reject  H 0 | H 0  False ) = P ( Reject  H 0 | μ = 30 ) = P ( Z = X ¯ 20 1.645 | μ = 30 ) .
That is the "power of the test" sometimes denoted γ = 1 P ( Tyee II Error ) = 1 β . You could use β to answer part (a).
In practical applications, the alternative hypothesis usually has many values: for example, H 1 : μ > 20. Then the power and the probability of Type II Error are functions of the possible alternative values of μ , sometimes written as γ ( μ 1 ) and β ( μ 1 ) ,, where μ 1 H 1 .. In such a situation, the power function and the Type II error function have to be evaluated one point at a time. Accordingly, there would be multiple answers to part (a).

Do you have a similar question?

Recalculate according to your conditions!

New Questions in College Statistics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?