College Statistics • Problem-Solving & Statistical Reasoning

Choosing Statistical Procedures — Choosing an Appropriate Procedure (CI vs Test; 1-sample vs 2-sample)

Learn to match every research question to the right inference tool by distinguishing estimation from testing and one-sample from two-sample designs.

College Statistics subject emblem with a scatter plot, summation notation, and frequency columns.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The modern statistical toolkit did not emerge fully formed; it was assembled piece by piece over roughly a century as researchers confronted increasingly sophisticated questions about populations. Early work focused on estimation — determining the plausible range of a population parameter — while parallel developments produced formal hypothesis testing frameworks for deciding whether observed data were compatible with a specific claim. Understanding why these two modes of inference arose, and how one-sample versus two-sample designs became formalized, clarifies why choosing the right procedure is the essential first step of any statistical analysis.

1908 • Student's t-Distribution

William Sealy Gosset, writing under the pseudonym "Student," derived the t-distribution for small-sample inference about a single mean — the first rigorous one-sample procedure for settings where σ is unknown.

1925 • Fisher's Statistical Methods

R. A. Fisher published Statistical Methods for Research Workers, formalizing significance testing and the p-value as tools for evaluating hypotheses about population parameters.

1933 • Neyman–Pearson Framework

Jerzy Neyman and Egon Pearson introduced the concepts of Type I and Type II errors, power, and the formal alternative hypothesis, creating the decision-theoretic foundation for modern hypothesis tests.

1934 • Confidence Intervals Formalized

Neyman published his theory of confidence intervals, establishing interval estimation as a complementary — and sometimes preferred — mode of inference distinct from binary hypothesis testing.

1940s–60s • Two-Sample and Multi-Sample Extensions

Procedures for comparing two population means (pooled and Welch t-tests) and two proportions became standard in textbooks, extending both confidence interval and hypothesis testing frameworks to comparative studies.

This timeline reveals a crucial insight: the statistical community developed estimation and testing as complementary tools, not interchangeable ones. A confidence interval answers "What is the parameter likely to be?" while a hypothesis test answers "Is this specific claim about the parameter plausible?" Simultaneously, the distinction between studying a single population and comparing two populations gives rise to fundamentally different designs, assumptions, and formulas. The question this lesson addresses is deceptively simple: given a real-world research scenario, how do you select the correct procedure?

SECTION 2

Core Principles & Decision Criteria

Selecting the appropriate statistical procedure requires you to answer a short sequence of diagnostic questions about the research scenario. These questions revolve around two orthogonal axes: the goal of inference (estimation vs. testing) and the number of populations (one vs. two). Crossing these two axes produces a 2 × 2 decision matrix that covers the majority of introductory procedures. The four foundational principles below guide you through this classification.

1

Identify the Goal: Estimate or Decide?

If the research question asks "how much" or "what is the value," you need a confidence interval. If it asks "is there a difference" or "is the claim supported," you need a hypothesis test.
2

Count the Populations or Groups

A single sample drawn from one population calls for a one-sample procedure. When two independent samples (or matched pairs) from two populations are compared, a two-sample procedure is required.
3

Classify the Parameter

Determine whether you are making inferences about a population mean (μ) or a population proportion (p). This choice controls the test statistic formula and the shape of the sampling distribution you invoke.
4

Check Conditions Before Proceeding

Every procedure carries validity conditions — randomness of sampling, sample size thresholds, normality assumptions, or independence criteria. Verifying these conditions is part of choosing, not just performing, the procedure.
✦

KEY TAKEAWAY

Think of your statistical toolkit like a physician's diagnostic protocol. A doctor first asks, "Am I measuring a quantity (like blood pressure) or making a binary decision (like whether to prescribe medication)?" — that is the CI vs. test axis. Then the doctor asks, "Am I looking at one patient relative to a reference value, or comparing two patients?" — that is the one-sample vs. two-sample axis. Just as a doctor would not prescribe treatment without first diagnosing the condition, you should never compute a statistic without first diagnosing which procedure the question demands.

SECTION 3

Decision Flowchart — Mapping Questions to Procedures

The following flowchart translates the four principles from Section 2 into a step-by-step decision tree. Starting from the top, you classify the research question along two axes and arrive at one of four procedure families. Each terminal node names the specific procedure and references the formula you would use. Study this diagram carefully — it is the single most useful tool for choosing procedures on exams and in practice.

Procedure Selection FlowchartWhat is the research goal?Estimate a parameterTest a claimConfidence IntervalHypothesis Test1 group2 groups1 group2 groups1-Sample CIfor μ: x̄ ± t* · (s/√n)for p: p̂ ± z* · √(p̂q̂/n)2-Sample CIfor μ₁−μ₂: (x̄₁−x̄₂) ± t*·SEfor p₁−p₂: (p̂₁−p̂₂) ± z*·SE1-Sample Testfor μ: t = (x̄ − μ₀)/(s/√n)for p: z = (p̂ − p₀)/√(p₀q₀/n)2-Sample Testfor μ₁−μ₂: t = (x̄₁−x̄₂)/SEfor p₁−p₂: z = (p̂₁−p̂₂)/SE_pAlways verify conditions: Random sampling · Independence (10% rule) ·Normality / Large-sample (n ≥ 30 or np ≥ 10 & nq ≥ 10)CI = Confidence Interval · SE = Standard Error · t* / z* = critical value
The flowchart begins with the research goal (estimate vs. test), then branches by the number of groups, and terminates at four procedure families. Dashed lines connect each procedure to the shared conditions box at the bottom.

Notice that every path through the flowchart requires exactly two decisions — goal and number of groups — before arriving at a procedure. The parameter type (mean vs. proportion) then determines which formula you plug into. The conditions box at the bottom serves as a final checkpoint: no matter which procedure you select, you must verify that the sample was collected randomly, that observations are independent, and that the sampling distribution is approximately normal (either by the Central Limit Theorem or by explicit checks on np and nq for proportions).

SECTION 4

Mathematical Framework — Key Formulas

Each of the four procedure families identified in the flowchart has a signature formula. Understanding these formulas side by side reveals that they share a common architecture: every confidence interval is of the form point estimate ± (critical value)(standard error), and every test statistic is of the form (point estimate − null value) / standard error. Recognizing this shared architecture makes memorization unnecessary; you need only determine which point estimate, which standard error, and which null value to use.

ONE-SAMPLE CONFIDENCE INTERVAL FOR μ

xˉ±t∗×(s/√n)x̄ ± t* × (s / √n)

x̄ = sample mean; t* = critical value from the t-distribution with df = n − 1; s = sample standard deviation; n = sample size. Use when σ is unknown and data are approximately normal or n ≥ 30.

ONE-SAMPLE HYPOTHESIS TEST FOR μ

t=(xˉ−μ0)/(s/√n)t = (x̄ − μ₀) / (s / √n)

μ₀ = hypothesized population mean (from H₀). The test statistic t follows a t-distribution with df = n − 1. Compare the p-value to α to reach a conclusion.

TWO-SAMPLE CONFIDENCE INTERVAL FOR μ₁ − μ₂

(xˉ1−xˉ2)±t∗×√(s12/n1+s22/n2)(x̄₁ − x̄₂) ± t* × √(s₁²/n₁ + s₂²/n₂)

The standard error combines variability from both samples. Degrees of freedom are computed via the Welch approximation (or the conservative min(n₁ − 1, n₂ − 1)). The interval estimates the difference in population means.

TWO-SAMPLE HYPOTHESIS TEST FOR μ₁ − μ₂

t=(xˉ1−xˉ2−0)/√(s12/n1+s22/n2)t = (x̄₁ − x̄₂ − 0) / √(s₁²/n₁ + s₂²/n₂)

Under H₀: μ₁ − μ₂ = 0. The numerator subtracts zero (the hypothesized difference), and the denominator is the pooled standard error. The resulting t is compared against the t-distribution to compute a p-value.

ℹ

Proportions Follow the Same Pattern

For proportions, replace x̄ with p̂ and use the z-distribution instead of t. The one-sample CI uses SE = √(p̂q̂/n), while the one-sample test uses SE = √(p₀q₀/n) with the null proportion. For two-sample proportion tests, the standard error is computed under the pooled proportion p̂c = (x₁ + x₂)/(n₁ + n₂). The key architectural insight — point estimate ± critical value × SE for CIs, and (estimate − null)/SE for tests — remains identical.

SECTION 5

Detailed Classification — Matching Scenarios to Procedures

In practice, research questions arrive as prose, not as tidy mathematical statements. The challenge lies in translating verbal cues into the correct procedure. The table below catalogs common phrasings and maps each to the appropriate procedure. After the table, a second diagram organizes all eight procedures (four for means, four for proportions) into a comprehensive reference grid.

Key Phrase in the ProblemGoalSamplesProcedure
"Estimate the average…"CI11-sample t interval for μ
"What proportion of…"CI11-sample z interval for p
"Is the mean different from 50?"Test11-sample t test for μ
"Is the pass rate above 0.70?"Test11-sample z test for p
"Estimate the difference in means between Group A and Group B."CI22-sample t interval for μ₁ − μ₂
"Is there a difference in proportions between men and women?"Test22-sample z test for p₁ − p₂
"Do students score higher after the intervention than before?"TestPairedPaired t test (1-sample t on differences)
"Estimate by how much Drug A lowers blood pressure more than Drug B."CI22-sample t interval for μ₁ − μ₂

Common problem phrasings mapped to procedures

Procedure Reference Grid: Means & ProportionsMEANS (μ)PROPORTIONS (p)t-distribution (df = n−1 or Welch)z-distribution (normal approx)1-SAMPLE2-SAMPLECI for μx̄ ± t*(s/√n)"Estimate the mean"Test for μt=(x̄−μ₀)/(s/√n)"Is the mean equal to…?"CI for pp̂ ± z*√(p̂q̂/n)"Estimate the proportion"Test for pz=(p̂−p₀)/√(p₀q₀/n)"Is the proportion equal to…?"Conditions: Random, Independent, Normal (n≥30 or pop normal)σ unknown → use s and t-distributionConditions: Random, Independent, np≥10 and nq≥10CI uses p̂ in SE; Test uses p₀ in SECI for μ₁−μ₂(x̄₁−x̄₂)±t*·SE"Estimate the difference"Test for μ₁−μ₂t=(x̄₁−x̄₂)/SE"Is there a difference?"CI for p₁−p₂(p̂₁−p̂₂)±z*·SE"Estimate diff in rates"Test for p₁−p₂z=(p̂₁−p̂₂)/SE_p"Do rates differ?"Both samples random & independent; each n ≥ 30 or normalBoth samples: n·p̂ ≥ 10 and n·q̂ ≥ 10; use pooled p̂ for testPaired data → compute d = x₁ − x₂ per pair → treat as 1-sample t on d̄
The 2 × 2 × 2 grid organizes all eight introductory inference procedures. The left half covers means (t-based), the right half covers proportions (z-based). The top row is one-sample, the bottom row is two-sample. Gold condition boxes summarize the requirements for each quadrant. The note at the bottom reminds you that paired data reduce to a one-sample procedure on the differences.
⚠

Paired Data — A Common Trap

Paired or matched-pairs designs (before/after, twin studies, repeated measures) appear to involve two samples, but they should not be analyzed with a two-sample procedure. Instead, compute the difference d = x₁ − x₂ for each pair and apply a one-sample t procedure on d̄. The null hypothesis is typically H₀: μd = 0. Treating paired data as independent two-sample data inflates the standard error and reduces power.

SECTION 6

Worked Example — From Research Question to Procedure

Consider the following scenario: A university dining services director wants to know whether the average daily caloric intake of students living on campus differs from the recommended 2,000 calories. She collects a random sample of 45 students and records their average daily caloric intake over one week. The sample mean is x̄ = 2,140 calories with a sample standard deviation of s = 310 calories. She wants to test at the α = 0.05 significance level.

Choosing and Executing the Correct Procedure

  1. 1

    Step 1 — Identify the Goal

    The question asks whether the mean differs from a specific value (2,000). The phrase "differs from" signals a comparison against a benchmark, not an estimation. Therefore the goal is a hypothesis test, not a confidence interval.
    Goal → Hypothesis test
  2. 2

    Step 2 — Count the Populations

    There is only one sample of 45 students. The comparison is between this sample's mean and a fixed reference value (2,000 calories), not between two groups of students. This is a one-sample scenario.
    Design → One-sample
  3. 3

    Step 3 — Classify the Parameter

    Caloric intake is a quantitative variable, and the parameter of interest is the population mean μ. Since σ is unknown (we have s = 310), we use the t-distribution.
    Parameter → μ (mean); Distribution → t
  4. 4

    Step 4 — State the Hypotheses

    H₀: μ = 2,000 (the population mean caloric intake equals the recommended value). Hₐ: μ ≠ 2,000 (two-sided test because the director asked whether intake "differs," not whether it exceeds or falls below the recommendation).
    H₀: μ = 2000; Hₐ: μ ≠ 2000
  5. 5

    Step 5 — Verify Conditions

    Random: the problem states a random sample. Independence: 45 students is likely less than 10% of the campus population. Normality: n = 45 ≥ 30, so by the Central Limit Theorem the sampling distribution of x̄ is approximately normal. All conditions are satisfied.
    Conditions ✓ — proceed with 1-sample t test
  6. 6

    Step 6 — Compute the Test Statistic

    t = (x̄ − μ₀) / (s / √n) = (2140 − 2000) / (310 / √45) = 140 / (310 / 6.708) = 140 / 46.21 ≈ 3.03. This test statistic follows a t-distribution with df = 45 − 1 = 44.
    t = 3.03, df = 44
  7. 7

    Step 7 — Find the p-value and Conclude

    For a two-sided test with t = 3.03 and df = 44, the p-value ≈ 0.004. Since 0.004 < 0.05 = α, we reject H₀. There is statistically significant evidence that the average caloric intake of on-campus students differs from the recommended 2,000 calories.
    p ≈ 0.004 — Reject H₀
💡

What if She Had Asked a Different Question?

If the director had instead asked, "What is the average daily caloric intake of on-campus students?" the goal would shift to estimation, and the correct procedure would be a one-sample t confidence interval for μ: x̄ ± t* × (s / √n) = 2140 ± 2.015 × 46.21 ≈ (2046.9, 2233.1). Notice that 2,000 falls outside this 95% CI, which is consistent with rejecting H₀ at α = 0.05 in the test above — the CI and the test always agree at the same confidence/significance level.

SECTION 7

CI vs. Test — Strengths, Limitations, and When to Prefer Each

Confidence intervals and hypothesis tests are not competing methods — they are complementary lenses on the same data. Nevertheless, each has distinct strengths and limitations, and certain contexts favor one over the other. The American Statistical Association's 2016 statement on p-values, for instance, encouraged researchers to report confidence intervals alongside or instead of p-values to convey effect size and precision. Understanding these trade-offs deepens your ability to choose wisely.

DimensionConfidence IntervalHypothesis Test
Primary outputA range of plausible values for the parameterA p-value and a binary decision (reject or fail to reject H₀)
Communicates effect size?Yes — the width and location of the interval show both magnitude and precisionNot directly — statistical significance ≠ practical significance
Addresses a specific claim?Indirectly — check whether the claimed value falls inside or outside the intervalDirectly — designed to evaluate H₀ against Hₐ
Best when…The question is exploratory or the audience needs to understand the parameter's magnitudeThe question is confirmatory and requires a decision (e.g., regulatory approval, quality control)
Common misinterpretation"There is a 95% probability the parameter is in this interval" (wrong — it either is or isn't; 95% refers to the method's long-run coverage)"The p-value is the probability H₀ is true" (wrong — it is the probability of data this extreme given H₀ is true)

Comparing confidence intervals and hypothesis tests across five dimensions

✦

KEY TAKEAWAY

Think of a confidence interval as a satellite image: it gives you the full landscape, showing where the parameter probably lies and how much uncertainty remains. A hypothesis test, by contrast, is a spotlight: it illuminates one specific claim and tells you whether that claim is consistent with the data. In research, you often want both views — the satellite image for understanding and the spotlight for decision-making. When forced to choose, remember that a CI at confidence level (1 − α) and a two-sided test at significance level α will always yield the same conclusion about whether the null value is plausible.

SECTION 8

Connection to Advanced Procedures

The one-sample and two-sample inference procedures for means and proportions are the building blocks of a much larger edifice. As you progress through statistics coursework, you will encounter procedures that extend these ideas in natural ways. The table below previews how the introductory procedures connect to more advanced methods, reinforcing that the decision-making framework you are learning now — identify the goal, count the groups, classify the parameter, check conditions — remains applicable throughout.

Introductory ProcedureAdvanced ExtensionWhat Changes
1-sample / 2-sample t test for meansOne-way ANOVA (F-test)Extends to k ≥ 3 groups; uses F-distribution instead of t
2-sample z test for proportionsChi-square test of homogeneityCompares proportions across k ≥ 2 groups; uses χ² distribution
1-sample t test (is μ = μ₀?)Simple linear regression (is β₁ = 0?)Tests a slope rather than a mean; same t-statistic structure
Confidence interval for μPrediction intervals and bootstrap CIsPrediction intervals account for individual variability; bootstrap CIs relax normality assumptions
Paired t testRepeated-measures ANOVA / mixed modelsExtends paired comparisons to multiple time points or conditions with random effects

How introductory procedures generalize to advanced methods

The most important takeaway from this table is that every advanced procedure is a generalization of a simpler one. ANOVA reduces to a two-sample t test when k = 2 groups. A chi-square test with two categories is algebraically equivalent to a two-sample z test for proportions. The regression t test for a slope uses the same t-statistic logic as a one-sample t test applied to the estimated coefficient. By mastering the decision framework now — CI vs. test, one-sample vs. two-sample, mean vs. proportion — you are laying the foundation for every inferential method you will encounter in the future.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A researcher asks: "What is the average commute time of employees at this company?" She plans to survey a random sample of 60 employees. Should she construct a confidence interval or perform a hypothesis test? Explain your reasoning, and state whether this is a one-sample or two-sample scenario.
Show answer
She should construct a one-sample confidence interval for μ. The question asks "what is" the average, which is an estimation question — there is no specific claimed value to test against. Because there is only one population (employees at this company) and one sample, this is a one-sample scenario. The appropriate procedure is a one-sample t confidence interval: x̄ ± t* × (s / √n) with df = 59. A hypothesis test would be inappropriate because no null value has been specified.

Question 2: BASIC CALCULATION

A quality control engineer claims that a machine fills bottles to a mean of exactly 500 mL. A random sample of n = 36 bottles has x̄ = 497.5 mL and s = 8.4 mL. Identify the correct procedure, state the hypotheses, and compute the test statistic.
Show answer
The question tests whether the mean equals a specific value (500 mL), so the procedure is a one-sample t test for μ. Hypotheses: H₀: μ = 500; Hₐ: μ ≠ 500. Conditions: random sample, n = 36 ≥ 30 (CLT applies), and 36 < 10% of all bottles. Test statistic: t = (497.5 − 500) / (8.4 / √36) = (−2.5) / (8.4 / 6) = −2.5 / 1.4 = −1.786 with df = 35. Using a t-table or technology, the two-sided p-value ≈ 0.083. At α = 0.05 we fail to reject H₀; there is insufficient evidence that the mean fill differs from 500 mL.

Question 3: INTERMEDIATE

A political analyst wants to estimate the difference in support for a ballot initiative between suburban and urban voters. She surveys 400 suburban voters (52% support) and 350 urban voters (61% support). Identify the correct procedure, justify your choice, and explain which standard error formula you would use.
Show answer
The analyst wants to estimate a difference, so the goal is a confidence interval, not a test. The parameter is the difference in two population proportions (p₁ − p₂), and there are two independent samples, making this a two-sample z confidence interval for p₁ − p₂. The formula is (p̂₁ − p̂₂) ± z* × √(p̂₁q̂₁/n₁ + p̂₂q̂₂/n₂). Crucially, because this is a CI (not a test), we use each sample's own p̂ in the standard error rather than a pooled proportion. The conditions are met: both samples are random; 400 × 0.52 = 208 ≥ 10, 400 × 0.48 = 192 ≥ 10, 350 × 0.61 = 213.5 ≥ 10, and 350 × 0.39 = 136.5 ≥ 10.

Question 4: APPLIED

A pharmaceutical company tests whether a new drug lowers systolic blood pressure more than a placebo. 80 patients are randomly assigned to the drug group (x̄₁ = 128 mmHg, s₁ = 14) and 80 to the placebo group (x̄₂ = 135 mmHg, s₂ = 16). The company needs FDA approval, which requires demonstrating that the drug effect is statistically significant. (a) Identify the correct procedure. (b) Would a confidence interval have been equally appropriate? Justify your answer.
Show answer
(a) Because the company must make a binary regulatory decision (approve or not), the appropriate procedure is a two-sample t test for μ₁ − μ₂ with H₀: μ₁ − μ₂ = 0 and Hₐ: μ₁ − μ₂ < 0 (one-sided, since the drug is expected to lower blood pressure). The two groups are independent (randomized assignment), each n = 80 ≥ 30, so conditions are satisfied. (b) A two-sample t confidence interval for μ₁ − μ₂ would also be informative and arguably superior because it communicates the magnitude of the blood-pressure reduction and its precision. However, the FDA context specifically requires a significance test with a predetermined α level for the approval decision. In practice, good statistical reporting would present both: the test for the decision and the CI for clinical interpretation.

Question 5: CRITICAL THINKING

A researcher measures the resting heart rate of 50 athletes before and after a 12-week training program. She wants to determine whether the training changed heart rates. A classmate recommends a two-sample t test comparing the "before" group (n = 50) with the "after" group (n = 50). (a) Explain why this recommendation is incorrect. (b) Identify the correct procedure. (c) Describe how the standard error in the correct procedure differs from the one in the two-sample approach, and explain why this matters for statistical power.
Show answer
(a) The classmate's recommendation is wrong because the before and after measurements come from the same 50 athletes, not from two independent groups. The observations are paired (each athlete serves as their own control), violating the independence assumption of the two-sample t test. (b) The correct procedure is a paired t test, which is operationally a one-sample t test applied to the differences dᵢ = before_i − after_i. The hypotheses are H₀: μ_d = 0 vs. Hₐ: μ_d ≠ 0, and the test statistic is t = d̄ / (sds_d / √n). (c) The paired approach uses sds_d / √n as its standard error, where sds_d measures the variability of within-subject differences. Because individual differences are typically far less variable than raw scores (subject-to-subject variability is removed), sds_d is usually much smaller than the pooled SE from two independent samples. This smaller SE yields a larger t-statistic and greater statistical power, making it easier to detect a real training effect. Using the two-sample procedure would waste the paired structure of the data and could lead to a failure to reject H₀ even when a real effect exists.

SUMMARY

Lesson Summary

Summary

Choosing the correct statistical procedure begins with two fundamental questions. First, determine the goal of inference: if the research question asks "what is the value" or "how large is the difference," use a confidence interval; if it asks "is there evidence that" or "does the parameter equal," use a hypothesis test. Second, count the number of populations or groups: a single sample compared to a reference value calls for a one-sample procedure, while two independent groups call for a two-sample procedure. Remember that paired data should be reduced to differences and analyzed with a one-sample t procedure.

All procedures share a common architecture: confidence intervals take the form point estimate ± critical value × standard error, and test statistics take the form (point estimate − null value) / standard error. The parameter type — mean (μ) or proportion (p) — determines which standard error formula and which sampling distribution (t or z) you invoke. Before computing anything, always verify the validity conditions: randomness, independence (10% rule), and normality or large-sample requirements. Mastering this decision framework ensures that you apply the right tool to every inferential question you encounter.

Varsity Tutors • College Statistics • Choosing Statistical Procedures — Choosing an Appropriate Procedure (CI vs Test; 1-sample vs 2-sample)