How do you calculate Type 1 error and Type 2 error probabilities?

1 Answer
Dec 9, 2017

Type 11 = PP( Rejecting H_0H0 | H_0H0 True)
Type 22 = PP( Accept H_0H0 | H_0H0 False )

Explanation:

Null Hypothesis: H_0 : mu = mu_0H0:μ=μ0
Alternative Hypothesis: H_1: mu<,>, != mu_0H1:μ<,>,μ0

Type 1 errors in hypothesis testing is when you reject the null hypothesis H_0H0 but in reality it is true

Type 2 errors in hypothesis testing is when you Accept the null hypothesis H_0H0 but in reality it is false

We can use the idea of:

Probability of event alpha α happening, given that betaβ has occured:

P(alpha|beta) =( P(alphannbeta))/(P(beta)) P(αβ)=P(αβ)P(β)

So applying this idea to the Type 1 and Type 2 errors of hypothesis testing:

Type 11 = PP( Rejecting H_0H0 | H_0H0 True)
Type 22 = PP( Accept H_0H0 | H_0H0 False )