Sub topic 6
The Test Selection Map
This chapter assumes you know the DMAIC cycle, basic descriptive statistics, the difference between a sample and a population, and how to read histograms and box plots. The goal is to move from a process question to a short list of suitable hypothesis tests.
Start with the question and the variables
In the Analyze phase, identify:
- Y, the output or response you want to explain or improve.
- X, the input, factor, or grouping variable that may affect Y.
- Whether each variable is continuous or discrete.
- Whether observations are independent or paired.
A continuous variable can take measured values such as cycle time, temperature, or diameter. A discrete variable consists of counts or categories, such as defective versus non-defective, machine A versus machine B, or the number of defects.
First state the comparison in plain language. For example, “Does the average assembly time differ between the current method and the new method?” Then identify the structure of the data before choosing a test.
Map the data structure to a test
| Question and data structure | Common test | Main result |
|---|---|---|
| One continuous Y versus a target | One-sample t-test | Difference between the sample mean and target |
| Continuous Y for two independent groups | Two-sample t-test | Difference between group means |
| Continuous Y measured twice on the same units | Paired t-test | Mean within-unit change |
| Continuous Y for three or more groups | One-way ANOVA | Evidence that at least one group mean differs |
| One discrete proportion versus a target | One-proportion test | Difference between observed and target rate |
| Discrete outcome versus a categorical X | Chi-square test of association | Evidence that the variables are related |
| Continuous X and continuous Y | Correlation or regression | Strength or modeled change between variables |
For a continuous response, the test usually compares means or models a relationship. For a discrete response, the test usually compares proportions, counts, or frequencies.
Check assumptions before deciding
The map gives a starting point, not an automatic answer. For t-tests and ANOVA, inspect the data for severe skew, outliers, and unequal spread. Use a histogram, box plot, or normal probability plot. Normality matters most when the sample is small or the data contain extreme values.
For two independent groups, compare their spreads. Welch’s two-sample t-test is a useful default when equal variances are doubtful. If the data strongly violate assumptions, consider rank-based alternatives such as Mann–Whitney or Kruskal–Wallis tests.
For paired data, calculate one difference for each matched unit and analyze those differences. Do not treat paired observations as independent groups.
>callout note > Choose the test from the study design first. Use the p-value only after the test and its assumptions have been justified.
A practical selection sequence
- Define the response Y and the suspected input X.
- Classify each variable as continuous or discrete.
- Determine whether groups are independent, paired, or repeated.
- Count the groups or identify the target value.
- Check plots, outliers, normality, and variance assumptions.
- Select the parametric test or a suitable non-parametric alternative.
- State the null and alternative hypotheses before examining the result.
Exercise
You measure defect rate for two independent shifts. Defect status is defective or non-defective, and shift is a category. Which test should you shortlist?
Show answer
Shortlist a chi-square test of association because both variables are categorical. Check expected cell counts; for very small counts, use an exact test instead.