232k views
2 votes
"The municipal transportation authority determined that 58% of all drivers were speeding along a busy street. In an attempt to reduce this percentage, the city put up electronic speed monitors so that drivers would be warned if they were driving over the speed limit. A follow-up study is now planned to see if the speed monitors were effective. The null and alternative hypotheses of the test are H0 : π = 0.58 versus Ha : π < 0.58. It is planned to use a sample of 150 drivers taken at random times of the week and the test will be conducted at the 5% significance level. (a) What is the most number of drivers in the sample that can be speeding and still have them conclude that the alternative hypothesis is true? (b) Suppose the true value of π is 0.52. What is the power of the test? (c) How could the researchers modify the test in order to increase its power without increasing the probability of a Type I Error?"

1 Answer

3 votes

Answer:

a) X=77 drivers

b) Power of the test = 0.404

c) Increasing the sample size.

Explanation:

This is a hypothesis test of proportions. As the claim is that the speed monitors were effective in reducing the speeding, this is a left-tail test.

For a left-tail test at a 5% significance level, we have a critical value of z that is zc=-1.645. This value is the limit of the rejection region. That means that if the test statistic z is smaller than zc=-1.645, the null hypothesis is rejected.

The proportion that would have a test statistic equal to this critical value can be expressed as:


p_c=\pi+z_c\cdot\sigma_p

The standard error of the proportion is:


\sigma_p=\sqrt{(\pi(1-\pi))/(n)}=\sqrt{(0.58*0.42)/(150)}\\\\\\ \sigma_p=√(0.001624)=0.04

Then, the proportion is:


p_c=\pi+z_c\cdot\sigma_p=0.58-1.645*0.04=0.58-0.0658=0.5142

This proportion, with a sample size of n=150, correspond to


x=n\cdot p=150\cdot0.5142=77.13\approx 77

The power of the test is the probability of correctly rejecting the null hypothesis.

The true proportion is 0.52, but we don't know at the time of the test, so the critical value to make a decision about rejecting the null hypothesis is still zc=-1.645 corresponding to a critical proportion of 0.51.

Then, we can say that the probability of rejecting the null hypothesis is still the probability of getting a sample of size n=150 with a proportion of 0.51 or smaller, but within a population with a proportion of 0.52.

The standard error has to be re-calculated for the new true proportion:


\sigma_p=\sqrt{(\pi(1-\pi))/(n)}=\sqrt{(0.52*0.48)/(150)}\\\\\\ \sigma_p=√(0.001664)=0.041

Then, we calculate the z-value for this proportion with the true proportion:


z=(p-\pi')/(\sigma_p)=(0.51-0.52)/(0.041)=(-0.01)/(0.041)=-0.244

The probability of getting a sample of size n=150 with a proportion of 0.51 or lower is:


P(p<0.51)=P(z<-0.244)=0.404

Then, the power of the test is β=0.404.

The only variable left to change in the test in order to increase the power of the test is the sample size, as the significance level can not be changed (it is related to the probability of a Type I error).

It the sample size is increased, the standard error of the proprotion decreases. As the standard error tends to zero, the critical proportion tend to 0.58, as we can see in its equation:


\lim_(\sigma_p \to 0) p_c=\pi+ \lim_(\sigma_p \to 0)(z_c\cdot\sigma_p)=\pi=0.58

Then, if the critical proportion increases, the z-score increases, and also the probability of rejecting the null hypothesis.

User Rahul Sonone
by
4.3k points