mindstair

Home / Courses / Introductory Statistics / Unit 6

Introductory Statistics Unit 6: Inference for proportions

Confidence intervals estimate a population proportion; significance tests check whether data give convincing evidence against a claimed value.

Covers: Confidence intervals & significance tests for one and two proportions, errors & power

Study guide

Inference uses sample data to draw conclusions about a population. A confidence interval estimates a parameter: statistic ± margin of error. For one proportion, the interval is p̂ ± z*·√(p̂(1 − p̂)/n), where z* comes from the confidence level (1.96 for 95%). Interpret it as: we are 95% confident the interval captures the true proportion. The confidence level describes the method: about 95% of intervals made this way capture the parameter. Larger samples and lower confidence levels give narrower intervals.

A significance test checks a claim. State hypotheses H₀ (no effect, p = p₀) and Hₐ (the claim you're looking for evidence of). Check conditions: random sample, 10% condition, and large counts (np₀ ≥ 10 and n(1 − p₀) ≥ 10). Compute z = (p̂ − p₀)/√(p₀(1 − p₀)/n) and the p-value, the probability of a result at least as extreme as the one observed if H₀ were true. If the p-value is below α (often 0.05), reject H₀; otherwise you fail to reject it. Never "accept" H₀.

For two proportions, compare groups with (p̂₁ − p̂₂) ± z*·√(p̂₁(1 − p̂₁)/n₁ + p̂₂(1 − p̂₂)/n₂), and use a pooled proportion for the test.

Errors: a Type I error rejects a true H₀ (probability α); a Type II error fails to reject a false H₀. Power, 1 − P(Type II), is the chance of detecting a real effect; it increases with larger samples, larger α, and bigger true effects.

To keep the margin of error at most ME, choose n ≥ (z*/ME)²·p̂(1 − p̂), using p̂ = 0.5 if no estimate is available, and round up. Interpret a p-value as follows: assuming H₀ is true, it is the probability of getting a statistic as extreme as or more extreme than the one observed, purely by chance.

For a two-proportion test, check randomness and the 10% condition in each group. Then check large counts with the pooled proportion p̂_c: n₁p̂_c, n₁(1 − p̂_c), n₂p̂_c and n₂(1 − p̂_c) should all be at least 10. To describe an error in context, state both what you concluded and what is actually true. For example, a Type I error here means concluding the proportion changed when it really did not.

Key ideas

Formulas and rules

CI: p̂ ± z*·√(p̂(1 − p̂)/n)
Test: z = (p̂ − p₀) / √(p₀(1 − p₀)/n)
Two-sample CI: (p̂₁ − p̂₂) ± z*·√(p̂₁(1 − p̂₁)/n₁ + p̂₂(1 − p̂₂)/n₂)

Common mistakes

Words to know

One-proportion confidence interval
p̂ ± z*·√(p̂(1 − p̂)/n)
One-proportion z test statistic
z = (p̂ − p₀) / √(p₀(1 − p₀)/n)
P-value
The probability of a result at least as extreme as the observed one, assuming H₀ is true.
Type I error
Rejecting H₀ when it's actually true.
Type II error
Failing to reject H₀ when it's actually false.
Power
The probability of correctly rejecting a false H₀ (1 − P(Type II)).
Sample size and confidence intervals
Larger n → smaller margin of error → narrower interval.
Two-proportion confidence interval
(p̂₁ − p̂₂) ± z*·√(p̂₁(1 − p̂₁)/n₁ + p̂₂(1 − p̂₂)/n₂)
Confidence interval
Statistic ± margin of error, a range of plausible parameter values.
Margin of error
Critical value × standard error.
Confidence level
The long-run percent of intervals that capture the parameter.
Null hypothesis (H₀)
The claim of no effect or no difference, like p = p₀.
Alternative hypothesis (Hₐ)
The claim you're seeking evidence for.
Significance level (α)
The p-value cutoff for rejecting H₀, often 0.05.
Pooled proportion
Combined p̂ from both samples, used in two-proportion tests.
Critical value (z*)
1.96 for 95% confidence.

Sample practice questions

37 more questions like these, from level 1 to 5, are in the practice set.

Question 1 (level 1)

p̂ = 0.6, n = 100. 95% confidence interval?

  1. 0.6 ± 0.049
  2. 0.6 ± 0.24
  3. 0.6 ± 0.096
  4. 0.6 ± 0.0096
Show the answer and steps

Answer: C) 0.6 ± 0.096

  1. SE = √(0.6 × 0.4/100) ≈ 0.049.
  2. Margin = 1.96 × 0.049 ≈ 0.096.
  3. 0.6 ± 0.096.
Question 2 (level 2)

p-value = 0.03 and α = 0.05. Decision?

  1. Prove Hₐ
  2. Fail to reject H₀
  3. Accept H₀
  4. Reject H₀
Show the answer and steps

Answer: D) Reject H₀

  1. Compare p-value with α: 0.03 < 0.05.
  2. Reject H₀.
Question 3 (level 3)

A Type I error is…

  1. Accepting H₀
  2. Failing to reject a false H₀
  3. Rejecting H₀ when it's true
  4. Rejecting a false H₀
Show the answer and steps

Answer: C) Rejecting H₀ when it's true

  1. Type I error is a false alarm.
  2. Rejecting H₀ when it's actually true.