Skip to main content
Back

Inference for Two Samples: Proportions, Means, and Variances

Study Guide - Smart Notes

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

Chapter 11: Inference for Two Samples

This chapter focuses on statistical inference procedures involving two samples. It covers hypothesis testing and confidence intervals for differences between two population proportions, means, and standard deviations. Both independent and dependent (paired) samples are considered, and methods include both classical (critical value) and p-value approaches.

Section 11.1: Inference About Two Population Proportions

When comparing two population proportions, we use hypothesis testing to determine if there is a significant difference between them. This section covers both the traditional (critical value) and p-value methods.

  • Independent Samples: The two samples are independent if the selection of one sample does not influence the other. Example: Comparing mean grades of students in traditional vs. hybrid course formats.

  • Dependent Samples: The two samples are dependent (paired) if each observation in one sample is paired with a related observation in the other. Example: Pre- and post-test scores for the same students.

Hypothesis Testing Procedure (Two Proportions)

  1. State the null and alternative hypotheses:

    • Null hypothesis:

    • Alternative hypothesis: , , or (depending on the research question)

  2. Determine the direction of the test based on the alternative hypothesis (two-tailed or one-tailed).

  3. Find the critical value using the standard normal (z) distribution.

  4. Compute the test statistic:

    • Test statistic formula: where and are sample proportions, and are sample sizes, and is the pooled proportion:

  5. Decision: Reject if the test statistic falls in the critical region; otherwise, do not reject $H_0$.

  6. Conclusion: State the result in the context of the problem.

Confidence Interval for Difference of Proportions

  • Formula: $

  • Interpretation: The interval estimates the difference between two population proportions with a specified level of confidence.

Sample Size Formula for Estimating Difference Between Two Proportions

  • Formula (for each group): E$ is the desired margin of error.

Example Application

  • Suppose a researcher wants to compare the effectiveness of two teaching methods by comparing the proportion of students passing in each group. The above procedures are used to test if the difference is statistically significant.

Section 11.2: Inference About Two Means – Dependent Samples (Paired Data)

This section addresses hypothesis testing and confidence intervals for the mean difference in paired (dependent) samples, such as before-and-after studies.

  • Paired Samples: Each subject or entity is measured twice, resulting in pairs of observations (e.g., pre- and post-test scores).

Hypothesis Testing Procedure (Paired t-Test)

  1. State hypotheses:

    • Null hypothesis: (no mean difference)

    • Alternative hypothesis: , , or

  2. Calculate the differences for each pair:

  3. Compute the mean and standard deviation of the differences:

    • Mean:

    • Standard deviation:

  4. Compute the test statistic: \mu_{d,0}n$ is the number of pairs.

  5. Find the critical t-value from the t-distribution with degrees of freedom.

  6. Decision: Compare the test statistic to the critical value; reject if in the rejection region.

  7. Conclusion: Interpret the result in context.

Confidence Interval for Mean Difference

  • Formula: $

Example Application

  • Given pre-course SAT scores: 920, 1000, 1200, 1100, 950, 860

  • Post-course SAT scores: 930, 990, 1250, 1200, 960, 860

  • Differences: -10, 10, -50, -100, -10, 0; Mean difference: -18.3; Standard deviation: 40.7;

  • Test statistic: $

  • Critical t-value (for , left-tailed, df=5):

  • Since is not less than , do not reject .

Section 11.3: Inference About Two Means – Independent Samples

This section covers hypothesis testing and confidence intervals for the difference between two independent population means. The procedures are similar to those in Chapter 10, with some extensions.

  • Independent Samples: The two groups are unrelated (e.g., different students in two teaching methods).

Hypothesis Testing Procedure (Two-Sample t-Test)

  1. State hypotheses:

    • Null hypothesis:

    • Alternative hypothesis: , , or

  2. Check assumptions: Normality, equal or unequal variances (use pooled or unpooled test as appropriate).

  3. Compute the test statistic:

    • If variances are assumed equal (pooled): s_p$

    • If variances are not assumed equal (unpooled): $

  4. Find the critical t-value (degrees of freedom depend on the test type).

  5. Decision: Compare the test statistic to the critical value; reject if in the rejection region.

  6. Conclusion: Interpret the result in context.

Confidence Interval for Difference of Means

  • Formula (equal variances): $

  • Formula (unequal variances): $

Pooled Two-Sample t-Test

  • Used when population variances are assumed equal.

  • Pooled standard deviation combines information from both samples.

Section 11.4: Inference About Two Population Standard Deviations

This section introduces inference procedures for comparing two population standard deviations, using the F-distribution.

  • F-Test for Equality of Variances: Used to test if two population variances are equal.

Hypothesis Testing Procedure (F-Test)

  1. State hypotheses:

    • Null hypothesis:

    • Alternative hypothesis: , , or

  2. Compute the test statistic: s_1^2s_2^2$ are the sample variances.

  3. Find the critical value from the F-distribution with appropriate degrees of freedom.

  4. Decision: Compare the test statistic to the critical value; reject if in the rejection region.

  5. Conclusion: Interpret the result in context.

Section 11.5: Summary and Practice

This section provides a summary of all procedures in the chapter and emphasizes the importance of selecting the correct test and approach (distribution, formula, or technology).

Comparison Table: Two-Sample Inference Procedures

Parameter

Sample Type

Test Statistic

Distribution

Difference of Proportions

Independent

Standard Normal

Difference of Means

Independent

(pooled or unpooled)

t-distribution

Mean Difference

Dependent (Paired)

t-distribution

Difference of Variances

Independent

F-distribution

Additional info: The chapter emphasizes the importance of understanding when to use each test, the similarities between procedures for one and two samples, and the use of both classical and p-value approaches. Technology (such as Minitab) can be used to compute p-values and confidence intervals efficiently.

Pearson Logo

Study Prep