Question

5. Consider running a test on the proportion of students who are doing regular physical activity. You are trying to disprove
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let \hat{p} denote the sample proportion of students who are doing a regular physical activity.

We are given that n = 50

Now, Under H0:
\frac{\hat{p}-p}{\sqrt{\frac{p(1-p)}{n}}} \sim N(0,1)

Our test statistic is :

\begin{align*} z &= \frac{\hat{p}-0.3}{\sqrt{\frac{0.3(1-0.3)}{50}}} \\ &= \frac{\hat{p}-0.3}{0.064807} \end{align*}

Now, since it is a two tailed test and the significance level is 5%, we reject H0 if the absolute value of the test statistic is greater z0.05/2 = z0.025 = 1.959964.

\text{Reject H0 if }\left |{\frac{\hat{p}-0.3}{0.064807}} \right | > 1.959964 \\ \Rightarrow \text{Reject H0 if } \left |\hat{p}-0.3 \right | > 0.127020 \\ \Rightarrow \text{Reject H0 if } (\hat{p}-0.3) > 0.127020 \ \ or \ \ (\hat{p}-0.3) <-0.127020 \\ \Rightarrow \text{Reject H0 if } \hat{p} > 0.427020 \ \ or \ \ \hat{p} < 0.172980

\\ \Rightarrow \text{Do not reject H0 if } \ \ 0.172980 < \hat{p} < 0.427020

Now, we can calculate the type II error.

\begin{align*} \beta(0.4) &= P(\text{Not rejecting H0 } | \ p = 0.4) \\ &= P(0.172980 < \hat{p} < 0.427020 \ | \ p = 0.4) \\ &= P\begin{pmatrix} \frac{0.172980 - 0.4}{\sqrt{\frac{0.4(1-0.4)}{50}}} < \frac{\hat{p}-p}{\sqrt{\frac{p(1-p)}{n}}} < \frac{0.427020 - 0.4}{\sqrt{\frac{0.4(1-0.4)}{50}}} \end{pmatrix} \\ &= P(-3.27675 < N(0,1) < 0.39000) \\ &= P(N(0,1)<0.39000) - P(N(0,1) \le -3.27675) \\ &= 0.651733 - 0.000525 \\ &= \bf{0.651208 \ \ \ \ [Answer]} \end{align*}

For any queries, feel free to comment and ask.

If the solution was helpful to you, don't forget to upvote it by clicking on the 'thumbs up' button.

Add a comment
Know the answer?
Add Answer to:
5. Consider running a test on the proportion of students who are doing regular physical activity. You are trying to disprove the claim that 30% of students do regular physical activity, and there...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT