Skip to main content
Back

Inference About a Population Proportion: Hypothesis Testing, Confidence Intervals, and Sample Size

Study Guide - Smart Notes

Tailored notes based on your materials, expanded with key definitions, examples, and context.

Inference About a Population Proportion

Overview

Statistical inference about a population proportion involves using sample data to estimate and test hypotheses about the proportion of individuals in a population with a specific characteristic. This is fundamental in analyzing categorical data, especially in fields such as biology, medicine, and social sciences.

Conditions for Inference on Proportions

Assumptions

  • Random Sample: The data used for the estimate must be a random sample from the population studied.

  • Population Size: The population should be at least 20 times as large as the sample.

  • Sample Size: The sample size n must be large enough so that the sampling distribution of the sample proportion is approximately normal.

The Sample Proportion

Definition and Calculation

  • Categorical Data: Inference is drawn on the proportion or percentage of the population with a specific characteristic.

  • Success: If a categorical characteristic is defined as "success," the sample proportion of successes is:

  • Example: In a group of 120 Herpes patients treated with a new drug, 30 get better:

The Sampling Distribution of

Normal Approximation

  • When n is large and p is not close to 0 or 1, the sampling distribution of is approximately normal:

  • The mean and standard deviation (width) of the sampling distribution are determined by p and n.

Significance Test for a Proportion

Hypothesis Testing

  • Null Hypothesis: (where is the value being tested)

  • If is true, the sampling distribution is:

  • Test Statistic: The standardized value of :

p-value for One or Two-Sided Alternatives

  • The p-value is the probability, if is true, of obtaining a test statistic as extreme or more extreme than the observed value, in the direction of the alternative hypothesis .

Alternative Hypothesis

p-value Calculation

Example: Genetic Inheritance

Mendel's Law and Hypothesis Test

  • Mendel's first law states that crossing dominant and recessive homozygote parents yields a second generation (F2) with 75% dominant-trait individuals.

  • Data: 5474 smooth peas, 1850 wrinkled peas ().

  • Test: Is the proportion of smooth peas in F2 different from 75%?

  • Sample proportion:

  • Test statistic:

  • Calculate p-value and draw conclusion based on significance level.

Confidence Interval for p

Estimating the Population Proportion

  • When p is unknown, both the center and spread of the sampling distribution are unknown and must be estimated.

  • Two main methods:

    1. Use the sample proportion

    2. Use an improved via the "plus four method"

Large-Sample Confidence Interval for p

Formula and Calculation

  • For a simple random sample (SRS) of size n from a large population, with sample proportion :

  • Where:

  • is the critical value for the desired confidence level (e.g., for 90% confidence).

Example: Medication Side Effects

  • Of 440 arthritis patients taking a pain reliever, 23 suffered adverse symptoms.

  • Sample proportion:

  • 90% confidence level:

  • Margin of error:

  • Confidence interval:

Confidence Level C

z*

0.90

1.645

0.95

1.960

0.99

2.576

"Plus Four" Confidence Interval for p

Improved Estimation Method

  • Add four imaginary observations: two successes and two failures.

  • New sample size:

  • New count of successes:

  • "Plus four" estimate:

  • Margin of error:

  • Confidence interval:

Example: Medication Side Effects (Plus Four Method)

  • Apply the plus four method to the arthritis pain reliever data.

  • Calculate and as above, using and .

  • Construct the 90% confidence interval.

Sample Size for a Desired Margin of Error

Planning Studies

  • To estimate a population proportion with a specified margin of error m at a given confidence level:

  • is a guessed likely value for the population proportion (use for the most conservative estimate).

Example: Medication Side Effects (Sample Size Calculation)

  • What sample size is needed to achieve a margin of error no more than 0.01 (1 percentage point) with 90% confidence?

  • Assume (since no more than 10% of patients should suffer adverse symptoms).

  • For :

Confidence Level C

z*

0.90

1.645

0.95

1.960

0.99

2.576

Summary Table: Key Formulas for Inference About a Proportion

Concept

Formula (LaTeX)

Sample Proportion

Standard Error

Test Statistic (z)

Confidence Interval (Large Sample)

Confidence Interval (Plus Four)

Sample Size for Margin of Error

Additional info: These notes expand on the original slides by providing full definitions, formulas, and step-by-step examples for each concept, ensuring a self-contained study guide for exam preparation.

Pearson Logo

Study Prep