Question 1 – Finding P-values

Using a standard normal distribution N(0,1) find the p-value associated with the following Z test-statistic and alternate hypothesis. We used R to calculate normal probabilities with the pnorm() function. Remember that right-tail probabilities need lower.tail=F in pnorm(). Be sure to sketch a graph to verify your p-value makes sense.

Part A: Z = -1.35, left-tailed test

Part B: Z = 2.48, right-tailed test

Part C: Z = -.4, two-tailed test

Part D: Z = 1.87, two-tailed test

Question 2 – Monday Breakups (Revisited)

Verify the coniditions are met to use Normal distribution to conduct a hypothesis test for this scenario in HT Lab 1. Compute Z and the p-value. Is the p-value you calculate similar to what you had for Question 4? Does your conclusion to the question change?


Question 3 – Lady Tasting Tea (Revisited)

Explain why the conditions to use the Normal Distribution for this problem in HT Lab 1 are not met. (You could instead calculate the p-value directly using the Hypergeometric distribution, but I am not making you do this)


Question 4 – Do Aliens Exist?

Do aliens exist? In May 2021, YouGov asked 4,839 adult Great Britain residents whether they think aliens exist, and if so, if they have or have not visited Earth. You want to evaluate if more than a quarter (25%) of Great Britain adults think aliens don’t exist.

In the survey 22% responded “I think they exist, and have visited Earth”, 28% responded “I think they exist, but have not visited Earth”, 29% responded “I don’t think they exist”, and 22% responded “Don’t know”. A friend of yours offers to help you with setting up the hypothesis test and comes up with the following hypotheses. Indicate any errors you see.

H\(_0\): \(\widehat{p} = .29\), H\(_A\): \(\widehat{p} > .29\)

Question 5 – Legalization of Marijuana

The General Social Survey asked a random sample of 1,563 US adults: “Do you think the use of marijuana should be made legal, or not?” 60% of the respondents said it should be made legal. (NORC 2022)

Part A: Is 60% a sample statistic or a population parameter? Explain.

Part B: A news piece on this survey’s findings states, “Majority of US adults think marijuana should be legalized.” Perform a hypothesis test to see if this claim is justified (state hypotheses, find test-statistic, p-value, strength of evidence, conclusion)

H\(_0\): p =

H\(_A\): p

Test-statistic =

P-value =

Strength of evidence in favor of alternate hypothesis:

Part D: Is the news piece claim justified by the hypothesis test results? Explain.

Part D: A critic points out that this hypothesis testing method is only accurate if the test-statistic follows a normal distribution, or if the normal model is a good approximation. Do the conditions hold for this data? Explain.

Question 6 – Practicing Interpretations and Conclusions

Some people claim that they can tell the difference between a diet soda and a regular soda in the first sip. A researcher wanting to test this claim randomly sampled 80 such people. He then filled 80 plain white cups with soda, half diet and half regular through random assignment, and asked each person to take one sip from their cup and identify the soda as diet or regular. 53 participants correctly identified the soda.

The test-statistic is 2.91 with a p-value of

2*pnorm(2.91, lower.tail=F)
## [1] 0.003614288

Interpret the p-value in this context.

Write a conclusion that answer the researcher’s question.

Nearsightedness (myopia) is a common vision condition in which you can see near objects clearly, but farther away objects blurry. It is believed that nearsightedness affects about 8% of all children. In a random sample of 194 children, 21 are nearsighted. The following comes from conducting a hypothesis test to see if the 8% value is inaccurate. The test-statistic and p-value are given by the following:

Z = (21/194 - .08) / sqrt(0.08 * (1-0.08) / 194)
Z
## [1] 1.450243
2*pnorm(Z, lower.tail=F)
## [1] 0.1469908

Explain why we want to use a two-tailed test.

Write up a conclusion to whether or not the 8% value is inaccurate.