A decision rule is a procedure that the researcher uses to decide whether to accept or reject the null hypothesis.
Two types of errors can result from a decision rule.
Type I error. A Type I error occurs when the researcher rejects a null hypothesis when it is true. The probability of committing a Type I error is called the significance level, and is often denoted by α.
Type II error. A Type II error occurs when the researcher accepts a null hypothesis that is false. The probability of committing a Type II error is called Beta, and is often denoted by β. The probability of not committing a Type II error is called the Power of the test.
We have Binomial distribution for every coin
P(X=x)=(xn)px(1−p)n−xNull hypothesis is that coin is unbiased (head comes up at least twice). Alternative hypothesis is that coin is biased.
Level of significance is probability to reject true null hypothesis:
α=PI(less than two heads)=PI(0 heads)+PI(1 heads)
α=(05)(21)0(1−21)5−0+(15)(21)1(1−21)5−1
α=321+325=163=0.1875
Power of the test is the probability to reject null hypothesis while alternative is true:
1−β=P(less than two heads)=P(0 heads)+P(1 heads)
1−β=(05)(52)0(1−52)5−0+(15)(52)1(1−52)5−1
1−β=3125243+3125810=31251053=0.33696
Comments