Two-Population Statistical Inference: Mean, Proportion, and Variance Comparison
Foundations of Two-Population Comparative Inference
Core Objective of Comparative Inference:
Statistical inference frequently extends beyond evaluating a single population parameter to comparing parameters across two distinct populations.
Comparative studies aim to determine whether an observed disparity between two sample metrics reflects a genuine underlying difference in the population parameters or simply sampling fluctuation.
Primary Parameters Subject to Comparison:
Population Means ( vs. ): Evaluated to assess differences in central tendency, continuous measurements, or performance levels across two treatments, environments, or groups.
Population Variances ( vs. ): Analyzed to compare dispersion, consistency, or variability between two processes or populations.
Population Proportions ( vs. or vs. ): Evaluated for binary or categorical attributes to compare prevalence, preference, success rates, or defect rates.
Dual Methodological Pillars of Comparative Inference:
Confidence Intervals: Provide an estimated plausible range of numerical values for the true difference between two population parameters (e.g., or ) at a prescribed confidence level ().
Hypothesis Testing: Evaluates probabilistic evidence against a specific null claim regarding the parameters (typically that there is no difference, ), facilitating formal decision-making under uncertainty.
Structural Transition from One-Sample to Two-Sample Design:
In a single population setting, a sample of size is extracted from a population with mean and variance , yielding the sample mean distribution:
In a two-population comparative framework, independent random samples are extracted from two separate populations:
Population I has parameter mean , variance , sample size , and sample mean .
Population II has parameter mean , variance , sample size , and sample mean .
The analytical focus shifts from individual point estimators to the distribution of their difference ().
Confidence Intervals for Comparing Two Population Means
Theoretical Sampling Distribution of the Difference Between Means:
By the reproductive property of independent normal variables (and central limit theorem principles for sufficiently large samples):
The difference between the two independent sample estimators has the expectation:
The variance of the difference is the sum of the individual sampling variances:
Therefore, the sampling distribution of the difference is:
Case 1: Common Known Population Variance ( Known):
Distributional Model: When both populations share a common, known variance , the standard error simplifies to:
Standardized Pivot:
Two-Sided Confidence Interval Derivation:
Interval Bounds Formulation:
Comprehensive Worked Example (Skill Development Programs):
Scenario: Two groups of employees in an organization are sent to two skill development programs. The average performance levels reached at completion are and . The standard deviation of performance across similar programs is known to be . Group sizes are and .
Identified Parameters: , , , , , confidence level = ().
Point Estimate of Mean Difference:
Margin of Error Calculation:
Lower Limit:
Upper Limit:
Result: The confidence interval for the true difference in mean performance levels () is .
Case 2: Common Unknown Population Variance ( Unknown):
Methodological Principle: When population variances are assumed equal but their true value is unknown, sample variances and are combined into an unbiased estimator called the pooled sample variance ().
Pooled Variance Formulation:
Pooled Standard Deviation:
Degrees of Freedom: The pooled variance pools squared deviations from two separate samples, resulting in degrees of freedom given by:
Student's -Distribution Pivot:
General Confidence Interval Formulation:
Comprehensive Worked Example (Television Picture Tube Molding Process):
Scenario: An executive developed a low-cost molding process for color television picture tube glass stems. To evaluate whether tube lifetime (in hours) decreases under the developed process compared to the existing process, two samples were assessed under the assumption of equal variance:
Process 1 (Existing): , ,
Process 2 (Developed): , ,
Degrees of Freedom & Critical Value: For a confidence level (), the degrees of freedom are:
Pooled Variance Calculation:
Standard Error of Difference:
Margin of Error:
Lower Limit:
Upper Limit:
Result: The confidence interval for the decrease in mean tube lifetime () is .
Case 3: Different Known Population Variances (, Both Known):
Methodological Principle: When population variances are unequal but known independently, no pooling is conducted. Standard errors use the exact known variances.
Standard Error:
General Confidence Interval Formulation:
Comprehensive Worked Example (Task Efficiency):
Scenario: In a large organization, employees completed a skills development program, while did not. Efficiency scores are recorded below with known population variances and .
Group 1 (Trained, ):
Group 2 (Untrained, ):
Sample Means Calculation:
Standard Error Calculation:
Confidence Level Critical Value: For confidence (), .
Lower Limit:
Upper Limit:
Result: The confidence interval for the average efficiency improvement () is .
Case 4: Different Unknown Population Variances (, Both Unknown):
Methodological Principle: When variances cannot be assumed equal and remain unknown, each population variance is estimated by its respective sample variance ( and ). Pooling is strictly invalid.
Standard Error:
Degrees of Freedom Formulation: Utilizes standard two-sample degrees of freedom approximation:
Test Statistic / Pivot:
General Confidence Interval Formulation:
Comprehensive Worked Example (Puppy Food Variety Weights):
Scenario: To compare the quality of two food varieties provided for puppies, two samples were fed the respective diets over one month. End-of-month puppy weights (in grams) yielded:
Food I: , ,
Food II: , ,
Degrees of Freedom & Critical Value: For a confidence interval:
Standard Error Calculation:
Margin of Error:
Lower Limit:
Upper Limit:
Result: The confidence interval for the weight difference between the two diet groups is .
Confidence Intervals for Comparing Two Population Proportions
Distributional Foundations of Proportions:
Let and denote true population proportions. Independent random samples of size and produce sample proportions (or ) and (or ).
By the Normal approximation to the binomial distribution (valid when and ):
The distribution of the difference in sample proportions satisfies:
The standardized -pivot is:
Confidence Interval Formulation for :
Because population parameters and are unknown, they are substituted by sample proportions and inside the standard error radical.
General Confidence Interval:
Comprehensive Worked Example 1 (Displeasure with Government Policies):
Scenario: A survey in Verginia measured displeasure toward government policies by selecting independent random samples from two provinces:
Southern province: , opposition proportion
Central province: , opposition proportion
Confidence Level: confidence implies .
Point Estimate of Difference:
Standard Error Calculation:
Margin of Error:
Lower Limit:
Upper Limit:
Result: The confidence interval for the difference between the two population proportions is .
Comprehensive Worked Example 2 (Late Attendance Decline via Fingerprint Machine):
Scenario: Ashwee Private Limited introduced fingerprint machines to reduce late attendance. Employees unwilling to accept the system were permitted to leave with compensation.
Initial state (Sample 1): , late attendance proportion
Post-implementation state (Sample 2): employees left, leaving employees, among whom late attendance dropped to
Confidence Level: confidence implies .
Point Estimate of Decline:
Standard Error Calculation:
Margin of Error:
Lower Limit:
Upper Limit:
Result: The confidence interval for the percentage decline in late attendance is (or to ).
Hypothesis Testing Framework for Comparing Two Population Means
General Hypothesis Structures:
Two-Tailed Test (Testing for Any Significant Disparity):
One-Tailed Test (Right-Tailed / Greater Than):
One-Tailed Test (Left-Tailed / Less Than):
Case 1: Common Known Variance ( Known):
Null Distribution & Test Statistic: Under , the test statistic simplifies to:
Comprehensive Worked Example (Durability of Road Crossing Paints):
Scenario: To evaluate the durability of two road-marking paints on passenger crossings, twelve plots were painted with each paint on a heavily traveled road. After one week of use, average durability readings were and . Historical experience establishes a common variance of . Test for equality of durability at .
Hypotheses:
Given Values: , , , , , .
Test Statistic Calculation:
Decision Rule & Critical Value: For a two-tailed test at , the benchmark critical value for fail-to-reject bounds is verified against the rejection region (tabulated standard threshold , with an upper bound test threshold of ). Since calculated falls well below the critical threshold (), it does not fall into the critical region.
Conclusion: Do not reject . There is insufficient statistical evidence to establish that the durability of the two road-marking paints differs significantly.
Case 2: Common Unknown Variance ( Unknown, Equal Variance Assumed):
Test Statistic Formulation: where:
Comprehensive Worked Example (Mobile Phone Recharge Card Sales):
Scenario: To evaluate demand for Rs. 100 recharge cards across North and Eastern provinces during November 2011, sales per shop were recorded:
Province I ():
Province II ():
Hypotheses:
Sample Statistics:
Degrees of Freedom:
Pooled Variance Computation:
Standard Error Calculation:
Calculated Test Statistic:
Decision Rule: Two-tailed critical value at with degrees of freedom is .
Decision: The calculated test statistic falls within the non-rejection interval .
Conclusion: Fail to reject at the significance level ( confidence). The sample data provide no evidence that average mobile card sales per shop differ between the two provinces.
Case 3: Different Known Variances (, Both Known):
Test Statistic Formulation:
Under , this becomes:
Comprehensive Worked Example (Daily Production at Manufacturing Plants):
Scenario: A manufacturing firm operates two plants producing identical products. Management investigates whether Plant I has significantly higher daily production than Plant II. Operating data from the past month are summarized:
Plant I: days operated, units, known
Plant II: days operated, units, known
Hypotheses (One-Tailed Test):
Test Statistic Calculation:
Decision Rule: For a right-tailed test at , the critical standard normal value is .
Decision: The calculated is less than the critical value and does not fall in the critical region ().
Conclusion: Fail to reject at the level. Sample data provide no statistically significant evidence that Plant I produces more items daily than Plant II.
Case 4: Different Unknown Variances (, Both Unknown):
Test Statistic Formulation:
Large Sample Equivalence: When total degrees of freedom exceed (), the Student's -distribution converges toward the standard normal distribution , allowing the use of normal critical thresholds.
Comprehensive Worked Example (Sri Lankan Share Market Equity Prices):
Scenario: An investor compares the closing share prices of two companies over the previous month to test whether Company II has a higher mean close price at :
Company I: trading days, ,
Company II: trading days, ,
Hypotheses (Left-Tailed Test for ):
Standard Error Calculation:
Test Statistic Calculation:
Degrees of Freedom & Critical Value:
Because , the standard normal distribution provides the critical threshold. For a one-tailed test at , the left-tail critical value is .
Decision: The calculated test statistic is substantially less than the critical threshold (), lying deep within the rejection region.
Conclusion: Reject at the significance level. There is strong statistical evidence ( confidence) that the closing share price of Company II is significantly higher than that of Company I.
Systematic Summary of Estimators, Standard Errors, and Distributions
Comparison Summary Across Variance Conditions for Two Population Means:
Common Known Variance ():
Standard Error Formulation:
Test Statistic / Pivot:
Sampling Distribution:
Confidence Interval:
Common Unknown Variance ( Unknown):
Standard Error Formulation: where:
Test Statistic / Pivot:
Sampling Distribution:
Confidence Interval:
Different Known Variances ( Known):
Standard Error Formulation:
Test Statistic / Pivot:
Sampling Distribution:
Confidence Interval:
Different Unknown Variances ( Unknown):
Standard Error Formulation:
Test Statistic / Pivot:
Sampling Distribution: (converges to when )
Confidence Interval:
Inference Summary for Difference Between Two Population Proportions ():
Standard Error Formulation:
Test Statistic / Pivot:
Sampling Distribution:
Confidence Interval: