Skip to main content
Back

Methods for Quantitative Response Variables – One and Two Groups

Study Guide - Smart Notes

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

Methods for Quantitative Response Variables – One and Two Groups

Overview

This chapter explores statistical methods for analyzing quantitative response variables when comparing one or two groups. It covers hypothesis testing and confidence intervals for means and variances, including one-sample and two-sample scenarios, as well as paired samples. The appropriate test depends on the study design and the assumptions about the data.

12.1 One-Sample Tests for the Mean and Variance

One-Sample t-Test for a Mean

The one-sample t-test is used to determine whether the mean of a single sample differs from a known or hypothesized population mean when the population standard deviation is unknown.

  • Null hypothesis (H0):

  • Alternative hypothesis (HA): , , or

Assumptions:

  • Random sample from the population of interest

  • Observations are independent

  • Population is approximately normal, or sample size is large (Central Limit Theorem)

Test Statistic:

where is the sample mean, is the sample standard deviation, and is the sample size.

Confidence Interval for the Mean:

where is the critical value from the t-distribution with degrees of freedom.

Example: Leaf Nitrogen Content

A botanist measures the nitrogen content in leaves from a wildflower species. The sample mean is 3.41% with a standard deviation of 0.15% (n = 15). Test if the mean differs from 3.1% at the 5% significance level.

Hypotheses: ,

Test statistic:

With 14 degrees of freedom, compare to the critical value or calculate the p-value.

Chi-Square Test for a Variance

This test evaluates whether the population variance equals a specified value .

  • Null hypothesis (H0):

  • Alternative hypothesis (HA): , , or

Test Statistic:

where is the sample variance.

Confidence Interval for Variance:

Example: Manufacturing Variability

A quality control engineer tests if the variance in spring length is 0.04. With , , the test statistic is .

12.2 Two Independent Samples: Student’s t-Test and Welch’s t-Test

Student’s (Pooled) t-Test

Used to compare means from two independent samples when population variances are assumed equal.

  • Null hypothesis (H0):

  • Alternative hypothesis (HA): , , or

Pooled Estimate of Variance:

Test Statistic:

Assumptions: Independent random samples, populations are normally distributed, equal variances.

Welch’s (Nonpooled) t-Test

Used when the assumption of equal variances is not valid. This test adjusts the standard error and degrees of freedom.

Test Statistic:

Degrees of freedom are calculated using Welch’s formula.

Example: Ad Campaign Effectiveness

Comparing mean sales increases from two advertising campaigns using the appropriate t-test based on variance equality.

12.3 Equality of Variances: F-Test and Alternatives

F-Test for Equality of Variances

The F-test compares the variances of two independent samples to test if they are equal.

  • Null hypothesis (H0):

  • Alternative hypothesis (HA):

Test Statistic:

Assumptions: Independent random samples, normality in both populations.

Confidence Interval for Ratio of Variances:

Example: Enzyme Activity Variability

Testing if the variability in enzyme activity differs between two species using the F-test.

12.4 Paired Samples: Matched-Pairs t-Test

Matched-Pairs t-Test

Used when each subject or experimental unit provides two related measurements (e.g., before and after treatment, or matched pairs). The test focuses on the mean difference.

  • Null hypothesis (H0): (no difference in means)

  • Alternative hypothesis (HA): , , or

Test Statistic:

where is the mean of the differences, is the standard deviation of the differences, and is the number of pairs.

Assumptions: Differences are approximately normally distributed, pairs are independent.

Example: Teaching Methods

Comparing reading test scores for students taught by two methods using matched pairs. The test evaluates whether the new method leads to higher scores than the standard method.

Summary Table of Key Tests and Formulas

Test

Formula

Purpose

One-sample t-test

Test mean of one group

Confidence interval for mean

Estimate population mean

Chi-square test for variance

Test variance of one group

Pooled t-test

Compare means (equal variances)

Welch’s t-test

Compare means (unequal variances)

F-test

Compare variances

Matched-pairs t-test

Compare paired means

Key Points

  • Choose the appropriate test based on the number of groups, independence of samples, and equality of variances.

  • Check assumptions before applying each test.

  • Interpret results in the context of the research question.

Pearson Logo

Study Prep