AP Statistics Curriculum 2007 Hypothesis Proportion
From Socr
Contents |
General Advance-Placement (AP) Statistics Curriculum - Testing a Claim about Proportion
Testing a Claim about Proportion
Recall that for large samples, the sampling distribution of the sample proportion is approximately Normal, by CLT, as the sample proportion may be presented as a sample average or Bernoulli random variables. When the sample size is small, the normal approximation may be inadequate. To accommodate this, we will modify the sample-proportion slightly and obtain the corrected-sample-proportion :
where is the normal critical value we saw earlier.
The standard error of also needs a slight modification
Hypothesis Testing about a Mean: Small Samples
- Null Hypothesis: H_{o}:p = p_{o} (e.g., 0), where p is the population proportion of interest.
- Alternative Research Hypotheses:
- One sided (uni-directional): H_{1}:p > p_{o}, or H_{o}:p < p_{o}
- Double sided:
- Test Statistics: Failed to parse (syntax error): Z_o={\tilde{p} -p_o \over SE_{\tilde{p}}
Example
Suppose a researcher is interested in studying the effect of aspirin in reducing heart attacks. He randomly recruits 500 subjects with evidence of early heart disease and has them take one aspirin daily for two years. At the end of the two years, he finds that during the study only 17 subjects had a heart attack. Use α = 0.05 to formulate a test a research hypothesis that the proportion of subject on aspirin treatment that have heart attacks within 2 years of treatment is p_{o} = 0.04.
And the corresponding test statistics is
- Failed to parse (syntax error): Z_o={\tilde{p} - 0.04 \over SE_{\tilde{p}}={0.002 \over 0.0085}=0.2353
The p-value corresponding to this test-statistics is clearly insignificant.
Genders of Siblings Example
Is the gender of a second child influenced by the gender of the first child, in families with >1 kid? Research hypothesis needs to be formulated first before collecting/looking/interpreting the data that will be used to address it. Mothers whose 1^{st} child is a girl are more likely to have a girl, as a second child, compared to mothers with boys as 1^{st} children. Data: 20 yrs of birth records of 1 Hospital in Auckland, New Zealand.
Second Child | ||||
Male | Female | Total | ||
First Child | Male | 3,202 | 2,776 | 5,978 |
Female | 2,620 | 2,792 | 5,412 | |
Total | 5,822 | 5,568 | 11,390 |
Let p_{1}=true proportion of girls in mothers with girl as first child, p_{2}=true proportion of girls in mothers with boy as first child. The parameter of interest is p_{1} − p_{2}.
- Hypotheses: H_{o}:p_{1} − p_{2} = 0 (skeptical reaction). H_{1}:p_{1} − p_{2} > 0 (research hypothesis).
Second Child | ||||
Number of births | Number of girls | Proportion | ||
Group | 1 (Previous child was girl) | n_{1} = 5412 | 2792 | |
2 (Previous child was boy) | n_{2} = 5978 | 2776 |
- Test Statistics: and Z_{o} = 5.4996.
- . This small p-values provides extremely strong evidence to reject the null hypothesis that there are no differences between the proportions of mothers that had a girl as a second child but had either boy or girl as their first child. Hence there is strong statistical evidence implying that genders of siblings are not independent.
- Practical significance: The practical significance of the effect (of the gender of the first child on the gender of the second child, in this case) can only be assessed using confidence intervals. A 95% CI(p_{1} − p_{2}) = [0.033;0.070] is computed by . Clearly, this is a practically negligible effect and no reasonable person would make important prospective family decisions based on the gender of their (first) child.
- This SOCR Analysis Activity illustrates how to use the SOCR Analyses to compute the p-values and answer the hypothesis testing challenge.
References
- SOCR Home page: http://www.socr.ucla.edu
Translate this page: