Whenever a hypothesis test is conducted, we need to ascertain that test is of high qualitity. One way to check the power or sensitivity of a test is to compute the probability of test that it can reject the null hypothesis correctly when an alternate hypothesis is correct. In other words, power of a test is the probability of accepting the alternate hypothesis when it is true, where alternative hypothesis detects an effect in the statistical test.

Power= P( reject H0|H1 is true)Power= P( reject H0|H1 is true)

Power of a test is also test by checking the probability of Type I error(αα) and of Type II error(ββ) where Type I error represents the incorrect rejection of a valid null hypothesis whereas Type II error represents the incorrect retention of an invalid null hypothesis. Lesser the chances of Type I or Type II error, more is the power of statistical test.

__Example__

__Example__

A survey has been conducted on students to check their IQ level. Suppose a random sample of 16 students is tested. The surveyor tests the null hypothesis that the IQ of student is 100 against the alternative hypothesis that the IQ of student is not 100, using a 0.05 level of significance and standard deviation of 16. What is the power of the hypothesis test if the true population mean were 116?

**Solution:**

As distribution of the test statistic under the null hypothesis follows a Student t-distribution. Here n is large, we can approximate the t-distribution by a normal distribution. As probability of committing Type I error(αα) is 0.05 , we can reject the null hypothesis H0H0 when the test statistic T≥1.645T≥1.645. Let’s compute the value of sample mean using test statistics by following formula.

T=X¯−μσμ√⟹X¯=μ+T(σμ√)=100+1.645(1616√)=106.58T=X¯−μσμ⟹X¯=μ+T(σμ)=100+1.645(1616)=106.58

Let’s compute the power of statistical test by following formula.

Power=P(X¯≥106.58 where μ=116)=P(T≥−2.36)=1−P(T<−2.36)=1−0.0091=0.9909Power=P(X¯≥106.58 where μ=116)=P(T≥−2.36)=1−P(T<−2.36)=1−0.0091=0.9909

So we have a 99.09% chance of rejecting the null hypothesis H0:μ=100H0:μ=100in favor of the alternative hypothesis H1:μ>100H1:μ>100 where unknown population mean is μ=116μ=116.