# Question: Simulate drawing 100 simple random samples of size n

Simulate drawing 100 simple random samples of size n = 40 from a population whose proportion is 0.3.

(a) Test the null hypothesis H0: p = 0.3 versus H1: p ≠ 0.3 for each simulated sample.

(b) If we test the hypothesis at the α = 0.1 level of signiﬁcance, how many of the 100 samples would you expect to result in a Type I error?

(c) Count the number of samples that lead to a rejection of the null hypothesis. Is it close to the expected value determined in part (b)?

(d) How do we know that a rejection of the null hypothesis results in making a Type I error in this situation?

(a) Test the null hypothesis H0: p = 0.3 versus H1: p ≠ 0.3 for each simulated sample.

(b) If we test the hypothesis at the α = 0.1 level of signiﬁcance, how many of the 100 samples would you expect to result in a Type I error?

(c) Count the number of samples that lead to a rejection of the null hypothesis. Is it close to the expected value determined in part (b)?

(d) How do we know that a rejection of the null hypothesis results in making a Type I error in this situation?

**View Solution:**## Answer to relevant Questions

Simulate drawing 100 simple random samples of size n = 15 from a population whose proportion is 0.2. (a) Test the null hypothesis H0: p = 0.2 versus H1: p ≠ 0.2 for each simulated sample. (b) If we test the hypothesis at ...Suppose we are testing the hypothesis H0: p = 0.65 versus H1: p ≠ 0.65 and we ﬁnd the P-value to be 0.02. Explain what this means. Would you reject the null hypothesis? Why? To test H0: µ = 80 versus H1: µ < 80, a simple random sample of size n = 22 is obtained from a population that is known to be normally distributed. (a) If x̄ = 76.9 and s = 8.5, compute the test statistic. (b) If the ...Do students who learned English as well as another language simultaneously score worse on the SAT Critical Reading exam than the general population of test takers? The mean score among all test takers on the SAT Critical ...Calcium is essential to tree growth because it promotes the formation of wood and maintains cell walls. In 1990, the concentration of calcium in precipitation in Chautauqua, New York, was 0.11 milligram per liter (mg/L). A ...Post your question