prop.test(x = , n = , alternative = "")
Error in prop.test(x = , n = , alternative = ""): argument "x" is missing, with no default
A study was conducted to determine the proportion of American teenagers between 13 and 17 who smoke. A survey from 10 years ago claimed that 15% percent of all teenagers smoke.
A new Gallup survey interviewed a nationally representative sample of 785 teenagers aged 13 to 17. Seventy-one (71) teenagers in the survey acknowledged having smoked at least once in the past week.
We want to see if the new study shows a decrease in the percentage of teenagers who smoke from the 15% reported a decade ago.
Perform the appropriate hypothesis test and create a confidence interval for the true proportion of teenagers who smoke.
State the null and alternative hypotheses:
Perform the appropriate analysis:
Error in prop.test(x = , n = , alternative = ""): argument "x" is missing, with no default
Question: What is the P-value?
Answer:
Question: Based on your chosen
Answer:
Recall that we must check that we have a big enough sample size to trust our p-value. To do this, we check that there are at least 10 expected “success” and “failures” for a given sample size, n:
Check:
Error: object 'n' not found
Error: object 'n' not found
QUESTION: Are the requirements for a hypothesis test satisfied?
ANSWER:
Create a 99% confidence interval for the true population proportion of teenagers who smoke?
QUESTION: Interpret the confidence interval in context of the research question:
ANSWER:
Recall that Confidence Intervals do not depend on a hypothesized proportion, so the requirements are a little different. For Confidence Intervals we check:
A random sample of BYU-Idaho students was surveyed and asked if they were in favor of retaining the penny as a form of currency in the United States. Out of the 116 women surveyed, 80 said that they were in favor of retaining the penny as a form of currency. Of the 137 men surveyed, 91 said that they were in favor of retaining the penny.
For these questions, let group 1 represent women and group 2 represent men.
Test to see if there is a difference between the proportion of women who want to keep the penny and the proportion of men who want to keep the penny. Use a level of significance of
State your null and alternative hypotheses (replace the question marks with the appropriate symbols):
Perform the appropriate test:
Error in complete.cases(x, n): no input has determined the number of cases
Question: What is the P-value?
Answer:
Question: Based on
Answer:
Create a 95% confidence interval for the difference in the proportion of females to males who prefer to keep the penny:
Question: Interpret the confidence interval in context of the research question:
Answer:
Recall that the requirements for Hypothesis Testing and Confidence Intervals for 2-sample proportions are the same. We must check that there are more than 10 “successes” and “failures” in both samples:
Use the following calculator to check the above requirements:
Error: object 'x1' not found
Error: object 'n1' not found
Error: object 'n1' not found
Error: object 'x2' not found
Error: object 'n2' not found
Error: object 'n2' not found
Question: Are the requirements satisfied for assuming normality?
Answer:
A marriage counselor conducted a study of couples, categorizing each of the couples as “communicative” or “non-communicative”. Among other things, the counselor wanted to see whether the percentage of communicative couples whose marriage ended in separation or divorce was less than the percentage of non-communicative couples whose marriage ended in separation or divorce.
Of the 97 couples classified as “communicative”, 17 ended in separation or divorce. Of the 56 couples classified as “non-communicative”, 13 ended in separation or divorce.
Construct a null and alternative hypothesis for the study:
Perform the appropriate analysis:
Question: What is the P-value?
Answer:
Question: Based on your decision rule, state your conclusion in context of the research question:
Answer:
Create a 95% confidence interval for the difference in the proportion of divorces between communicative and non-communicative couples:
Question: Interpret the confidence interval in context of the question:
Answer:
Use the following calculator to check the requirements for the hypothesis test and confidence interval:
Error: object 'x1' not found
Error: object 'n1' not found
Error: object 'n1' not found
Error: object 'x2' not found
Error: object 'n2' not found
Error: object 'n2' not found
QUESTION: Are the requirements for the hypothesis test and confidence interval satisfied?
ANSWER: