One Proportion
Math 115
So far, we’ve used simulation for inference:
There are also traditional mathematical models useful for
A sampling distribution shows how a statistic (like \(\hat{p}\)) varies from sample to sample.
In Hypothesis Testing:
For Confidence Intervals:
The distribution is bell-shaped. This pattern appears consistently with large samples.
The bell-shaped curve is called a normal distribution.
Properties:
Notation: N(μ, σ)
Key insight: Mean shifts the curve left/right; SD controls the spread.
The sampling distribution of \(\hat{p}\) is approximately normal when:
Independence: Observations are independent (such as from a simple random sample)
Success-Failure Condition: At least 10 expected successes and 10 expected failures
When these conditions are met, the sampling distribution is approximately normal with:
Standard error is the standard deviation of the sampling distribution.
\[SE = \sqrt{\frac{p(1-p)}{n}}\]
Important distinction:
This is the spread we were measuring with our simulated distributions.
The Z-score tells us how many standard errors an observation is from the mean.
\[Z = \frac{\text{observed} - \text{mean}}{SE}\]
For a proportion:
\[Z = \frac{\hat{p} - p_0}{SE}\]
Converting to Z-scores standardizes any normal distribution to N(0, 1).
Advantage: We only need one table or tool for all normal calculations.
Key idea: Probabilities correspond to areas under the normal curve
From 68-95-99.7 rule: 95% falls between Z = -2 and Z = 2, so 5% is in the two tails. By symmetry, 2.5% is above Z = 2.
SAT scores are approximately normal with μ = 1050, σ = 210.
Question: What proportion of test-takers score above 1470?
Solution:
Heights of US adult females are approximately normal with μ = 64 inches, σ = 3 inches.
Question: A woman is 58 inches tall. Is this unusual?
Solution:
To use the normal model for hypothesis testing, check:
Scenario: Researchers surveyed a random sample of 826 payday loan borrowers. 424 (51.3%) said they support additional regulation.
Research question: Is there evidence that the majority support regulation?
Hypotheses:
Independence: Random sample of borrowers ✓
Success-Failure Condition:
Both are ≥ 10, so conditions are met. We can use the normal model.
How good is the normal approximation?
Null distribution of 1000 simulated proportions compared to normal approximation
Standard Error: \(SE = \sqrt{\frac{0.5 \times 0.5}{826}} = 0.0174\)
Z-score: \(Z = \frac{0.513 - 0.5}{0.0174} = 0.77\)
P-value: Area to the right of Z = 0.77 on standard normal
\[\text{P-value} = 0.222\]
Note: You can use the One Sample Proportions Test for 2 outcomes in Jamovi’s Frequencies module to calculate the p-value.
Conclusion: P-value = 0.222 > 0.05, so we fail to reject \(H_0\). There is not convincing evidence that a majority supports the regulation.
Scenario: A medical consultant had 3 complications in 62 surgeries.
Test: \(H_0: p = 0.1\) vs \(H_A: p < 0.1\)
Check success-failure condition:
6.2 < 10, so the condition is NOT met.
Solution: Use simulation (randomization) instead of the normal model.
To use the normal model for a confidence interval, check:
Independence: Observations are independent
Success-Failure Condition: Using \(\hat{p}\) (observed proportion)
Key difference from H-test: Use \(\hat{p}\), not \(p_0\)
When conditions are met:
\[\text{CI} = \hat{p} \pm z^* \times SE\]
Where:
| Confidence Level | \(z^*\) |
|---|---|
| 90% | 1.645 |
| 95% | 1.960 |
| 99% | 2.576 |
Note: You can use the Model-Based Inference calculator in Jamovi’s Randomize module to calculate these multipliers/critical values.
Payday study: \(\hat{p} = 0.513\), \(n = 826\)
Check conditions:
Standard Error: \(SE = \sqrt{\frac{0.513 \times 0.487}{826}} = 0.0174\)
95% CI: \(0.513 \pm 1.96 \times 0.0174 = (0.479, 0.547)\)
95% Confidence Interval: (0.479, 0.547)
Interpretation: We are 95% confident that the true proportion of payday borrowers who support the regulation is between 47.9% and 54.7%.
Note: The interval includes 0.5, which is consistent with our hypothesis test result (we failed to reject \(H_0: p = 0.5\)).
Scenario: Researchers surveyed 500 teens at a local shopping mall about texting while driving. 215 admitted to texting while driving at least once.
Test: Is there evidence that fewer than half of teens text while driving?
Data: \(\hat{p} = 215/500 = 0.43\)
Check conditions:
Compute:
Conclusion: P-value < 0.001, so we reject \(H_0\) at \(\alpha = 0.05\).
Statistical conclusion: P-value < 0.001, so we reject \(H_0\). There is strong evidence that fewer than 50% of teens text while driving.
But wait… can we generalize?
The sample was collected at a shopping mall (convenience sample).
We cannot generalize these findings to all teens.
Statistical significance ≠ ability to generalize
| Aspect | Simulation | Model-Based |
|---|---|---|
| P-value | Count extreme simulations | Area under normal curve |
| CI | Bootstrap percentiles | \(\hat{p} \pm z^* \times SE\) |
| When to use | Any sample size | Large sample (conditions met) |
Key point: Both methods give similar results when conditions are met.
Key insight: Normal approximation works well when conditions are met (left), but fails when conditions are NOT met (right). This is why checking technical conditions matters!