7.4 Hypothesis Testing Terminology, Errors, and Single-Sample Tests
Key Takeaways
- Type I error (alpha, producer's risk) is the probability of incorrectly rejecting a true null hypothesis, whereas Type II error (beta, consumer's risk) is failing to reject a false null hypothesis.
- Statistical Power (1 - beta) is the probability of correctly detecting a true effect; power increases with larger sample size n, larger effect size delta, higher alpha, and lower variability sigma.
- The p-value decision rule states: if p-value <= alpha, reject H0 (statistically significant); if p-value > alpha, fail to reject H0.
- A 1-sample z-test requires known population standard deviation sigma, whereas a 1-sample t-test uses sample standard deviation s with df = n - 1 degrees of freedom.
- 1-proportion z-tests evaluate binomial success rates assuming sample size validity conditions n*p0 >= 5 and n*(1-p0) >= 5 are met.
Hypothesis testing provides a rigorous, objective framework for making data-driven statistical decisions in the Analyze phase. It allows Six Sigma Black Belts to determine whether observed differences between process parameters (means, variances, proportions) and target benchmarks represent genuine physical effects or merely random sampling variation.
Fundamentals of Hypothesis Testing
The 7-Step Hypothesis Testing Roadmap
- State the Operational Problem: Define the business question in clear process terms.
- Formulate Null ($H_0$) and Alternative ($H_a$) Hypotheses: Express the question mathematically.
- Select Significance Level ($\alpha$): Define acceptable Type I risk (typically $\alpha = 0.05$).
- Check Statistical Assumptions: Confirm data type, independence, stability, and normality.
- Calculate Sample Size & Statistical Power: Ensure $n$ is sufficient to detect target effect $\delta$.
- Compute Test Statistic & $p$-Value: Execute mathematical test formula on sample data.
- State Statistical & Operational Conclusion: Compare $p$-value against $\alpha$ and translate into business action.
Null ($H_0$) vs. Alternative ($H_a$) Hypotheses
- Null Hypothesis ($H_0$): The default baseline statement of "no effect," "no difference," or "status quo." It always contains an equality sign ($=, \le, \ge$).
- Alternative Hypothesis ($H_a$ or $H_1$): The research hypothesis the Black Belt seeks to prove (e.g., "the process mean has changed" or "new tooling reduces cycle time"). It contains inequalities ($\neq, <, >$).
Decision Risks & Error Matrix
Statistical decision-making carries two distinct types of decision errors:
| Reality \ Decision | Fail to Reject $H_0$ (Conclude No Difference) | Reject $H_0$ (Conclude Difference Exists) |
|---|---|---|
| $H_0$ is True (No real effect) | Correct Decision ($1 - \alpha$)<br>Confidence Level | Type I Error ($\alpha$)<br>Producer's Risk / False Positive |
| $H_0$ is False (Real effect exists) | Type II Error ($\beta$)<br>Consumer's Risk / False Negative | Correct Decision ($1 - \beta$)<br>Statistical Power |
- Type I Error ($\alpha$): Rejecting a true null hypothesis. The significance level $\alpha$ (typically set to $0.05$ or $5%$) represents the maximum allowable probability of committing a Type I error.
- Type II Error ($\beta$): Failing to reject a false null hypothesis when a true process difference exists.
- Statistical Power ($1 - \beta$): The probability of correctly detecting a true treatment effect of size $\delta$. Power is typically targeted at $\ge 0.80$ ($80%$).
Factors Influencing Statistical Power
- Sample Size ($n$): Increasing $n$ reduces standard error ($\text{SE} = \frac{\sigma}{\sqrt{n}}$), significantly increasing power.
- Effect Size ($\delta = |\mu - \mu_0|$): Larger physical differences are easier to detect, yielding higher power.
- Significance Level ($\alpha$): Increasing $\alpha$ (e.g., from $0.01$ to $0.05$) increases power but elevates Type I risk.
- Process Variability ($\sigma$): Lower process noise/variance increases statistical power.
The $p$-Value Decision Rule
The $p$-value is the exact probability of obtaining a test statistic at least as extreme as the observed sample value, assuming the null hypothesis $H_0$ is true.
- If $p$-value $\le \alpha$: Reject $H_0$. The result is statistically significant.
- If $p$-value $> \alpha$: Fail to reject $H_0$. Insufficient evidence to claim a significant effect.
Single-Sample Hypothesis Tests
Single-sample tests evaluate whether a sample parameter differs significantly from a known benchmark or target value ($\mu_0$, $\sigma_0^2$, or $p_0$).
1. One-Sample $z$-Test for Mean (Known $\sigma$)
Used when sample data are continuous, normally distributed, and population standard deviation ($\sigma$) is known.
- Test Statistic:
- Critical Region (Two-Tailed at $\alpha = 0.05$): Reject $H_0$ if $|z_0| > 1.96$.
2. One-Sample $t$-Test for Mean (Unknown $\sigma$)
Used when population standard deviation $\sigma$ is unknown and estimated using sample standard deviation ($s$).
- Test Statistic:
- Degrees of Freedom: $\text{df} = n - 1$.
- Distribution: Student's $t$-distribution, featuring heavier tails than $Z$ for small sample sizes, converging to $Z$ as $\text{df} \to \infty$.
Worked 1-Sample $t$-Test Example
A team tests if a new injection molding machine meets a target cycle time $\mu_0 = 45.0\text{ seconds}$. Sample size $n = 25$, sample mean $\bar{x} = 43.2\text{ seconds}$, sample standard deviation $s = 4.0\text{ seconds}$, $\alpha = 0.05$.
- Hypotheses: $H_0: \mu = 45.0$ vs. $H_a: \mu \neq 45.0$.
- Standard Error: $\text{SE} = \frac{4.0}{\sqrt{25}} = \frac{4.0}{5} = 0.80$.
- Test Statistic: $t_0 = \frac{43.2 - 45.0}{0.80} = \frac{-1.80}{0.80} = -2.25$.
- Critical Value ($t_{0.025, 24}$): $\pm 2.064$.
- Conclusion: Since $|-2.25| > 2.064$ ($p = 0.0338 < 0.05$), Reject $H_0$. The new machine cycle time is significantly lower than 45.0 seconds.
3. One-Sample Proportion $z$-Test
Evaluates whether a sample binomial success proportion ($\hat{p} = \frac{x}{n}$) differs significantly from a target baseline proportion ($p_0$).
- Test Statistic:
- Validity Assumptions: $n p_0 \ge 5$ and $n (1-p_0) \ge 5$.
4. One-Sample Chi-Square Test for Variance ($\sigma^2$)
Evaluates whether process variance ($s^2$) differs from a target baseline variance ($\sigma_0^2$):
- Degrees of Freedom: $\text{df} = n - 1$. Follows a Chi-Square distribution with $n-1$ degrees of freedom.
Summary of Single-Sample Test Formulas
| Sample Parameter Tested | Population Data Assumptions | Test Statistic Formula | Degrees of Freedom (df) |
|---|---|---|---|
| Mean ($\mu$), Known $\sigma$ | Continuous, Normal, Known $\sigma$ | $Z_0 = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}}$ | N/A (Standard Normal) |
| Mean ($\mu$), Unknown $\sigma$ | Continuous, Normal, Unknown $s$ | $t_0 = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}$ | $\text{df} = n - 1$ |
| Proportion ($p$) | Discrete Binomial ($np_0 \ge 5$) | $Z_0 = \frac{\hat{p} - p_0}{\sqrt{p_0(1-p_0)/n}}$ | N/A (Standard Normal) |
| Variance ($\sigma^2$) | Continuous, Normal | $\chi^2_0 = \frac{(n-1)s^2}{\sigma_0^2}$ | $\text{df} = n - 1$ |
What statistical decision error is committed when a team fails to reject the null hypothesis despite a true, physically meaningful process difference existing?
A Black Belt tests whether a new process mean differs from a target mu0 = 100. The sample size is n = 16, sample mean xbar = 104, sample standard deviation s = 8.0, and population sigma is unknown. Which test statistic formulation must be used?
Which change will systematically increase the statistical power (1 - beta) of a single-sample hypothesis test?