Business Statistics

Chapter 8
Hypothesis Testing and Evidence-Based Decisions

Bachelors Program in Business Analytics
Business Statistics   •   Bachelor

Hypothesis Testing and Evidence-Based Decisions

Introduction

Business analytics rarely asks only what happened. It asks whether an observed pattern is sufficiently credible to support action. A higher conversion rate after a website redesign, a lower average delivery time under a new routing policy, or a difference in customer satisfaction between two segments may reflect a real underlying effect—or ordinary sampling variation.

Hypothesis testing provides a disciplined framework for distinguishing these possibilities. It combines a substantive business claim, probability models, sample evidence, and an explicit decision rule. However, statistical significance is not the same as business importance, and a statistically non-significant result is not proof that no effect exists. Sound evidence-based decisions therefore require hypothesis tests to be interpreted alongside confidence intervals, effect sizes, statistical power, study design, and practical consequences.

Learning Objectives

By the end of this chapter, you should be able to:

  • formulate null and alternative hypotheses for business questions;
  • distinguish one-tailed from two-tailed tests;
  • calculate and interpret test statistics and p-values;
  • explain significance levels, confidence intervals, effect sizes, power, and Type I and Type II errors;
  • select and communicate an appropriate testing procedure;
  • identify common inference fallacies and ethical risks; and
  • translate statistical evidence into proportionate business decisions.

1. From Business Question to Statistical Hypothesis

A hypothesis is a claim about a population parameter or probability model. Examples include:

  • the mean monthly spend of loyalty members is greater than £120;
  • the proportion of users completing checkout exceeds 4%;
  • average processing time differs between two warehouses; and
  • a new recommendation algorithm changes the purchase rate.

A useful workflow is:

  1. Define the population, observational unit, outcome, and parameter.
  2. State the business-relevant claim precisely.
  3. Express the claim and its complement as statistical hypotheses.
  4. Select a test statistic and significance level before examining results.
  5. Assess assumptions and data quality.
  6. Report the estimate, confidence interval, p-value, effect size, and decision implications.

Null and alternative hypotheses

The null hypothesis, H₀, usually represents no change, no difference, or a specified reference value. The alternative hypothesis, H₁ (or Hₐ), represents the research or business claim.

For a population mean μ and benchmark μ₀:

  • two-sided: H₀: μ = μ₀; H₁: μ ≠ μ₀;
  • upper-tailed: H₀: μ ≤ μ₀; H₁: μ > μ₀;
  • lower-tailed: H₀: μ ≥ μ₀; H₁: μ < μ₀.

Although calculations often use equality in H₀, the decision rule concerns the full null region. A test does not prove H₀ true; it evaluates how compatible the data are with it.

For a population proportion p and benchmark p₀, the analogous forms are H₀: p = p₀ versus H₁: p ≠ p₀, p > p₀, or p < p₀. For two population means, a common formulation is H₀: μ₁ − μ₂ = 0 versus H₁: μ₁ − μ₂ ≠ 0.

One-tailed and two-tailed tests

A two-tailed test detects departures in either direction. It is appropriate when both an increase and a decrease matter, or when theory does not justify a directional prediction. A one-tailed test places the rejection region in one direction and is appropriate only when the opposite direction would not count as evidence for the proposed action and the direction was specified before seeing the data.

Changing from a two-tailed to a one-tailed test after viewing the result improperly increases the chance of a misleading conclusion. Directional business claims should therefore be justified by theory, prior research, or decision context before analysis.

2. The Logic of a Significance Test

A test statistic measures how far the sample result is from the null value, relative to expected sampling variability. For a sample mean, the general standardized statistic is:

T = (x̄ − μ₀) / SE(x̄)

Here x̄ is the sample mean, μ₀ is the null value, and SE(x̄) is the standard error of the sample mean. If the population standard deviation σ is known, SE(x̄) = σ/√n and a standard normal statistic may be used. If σ is unknown, the usual statistic is:

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

where s is the sample standard deviation and n is sample size. Under independent observations from a normally distributed population, this statistic follows a t distribution with n − 1 degrees of freedom under H₀. For sufficiently large samples, the procedure is often robust to moderate non-normality, but strong skewness, outliers, dependence, or poor sampling can still invalidate conclusions.

The p-value is the probability, assuming H₀ and the test assumptions are true, of obtaining a test statistic at least as extreme as the observed statistic in the direction specified by H₁. It is not the probability that H₀ is true, nor the probability that the result occurred by chance in an unrestricted sense.

At significance level α, reject H₀ when p ≤ α. Otherwise, fail to reject H₀. “Fail to reject” is preferable to “accept H₀,” because a non-significant result may reflect limited power or imprecise measurement.

Critical regions

For a two-sided z test at α = 0.05, the critical values are approximately −1.96 and +1.96. Values outside this interval lead to rejection of H₀. For a one-sided test at α = 0.05, the upper critical value is approximately 1.645, or the lower critical value is approximately −1.645. Exact t critical values depend on degrees of freedom.

Worked example: a mean delivery-time test

A logistics manager claims that the mean delivery time is below 48 hours. A random sample of 25 deliveries has x̄ = 46.5 hours and s = 4 hours. Assume independent observations and an approximately normal population.

Set H₀: μ ≥ 48 and H₁: μ < 48. Using the boundary value μ₀ = 48:

t = (46.5 − 48)/(4/√25) = −1.5/0.8 = −1.875

The test has 24 degrees of freedom. The one-tailed p-value is approximately 0.036. At α = 0.05, reject H₀. The evidence supports a mean delivery time below 48 hours. The conclusion is not that every delivery is below 48 hours, nor that the policy will always produce this result. It concerns the population mean under the sampling and measurement conditions.

A 95% confidence interval is approximately:

x̄ ± t0.975,24(s/√n) = 46.5 ± 2.064(0.8) ≈ (44.85, 48.15) hours

The interval includes 48 hours because a two-sided 95% interval corresponds to a two-sided test, whereas the hypothesis test was one-sided. A one-sided 95% upper confidence bound would provide the directly aligned interval for the directional claim.

3. Confidence Intervals and Effect Sizes

A confidence interval gives a range of parameter values compatible with the data and procedure. For a mean with unknown σ, the interval is:

x̄ ± t1−α/2,n−1(s/√n)

The interval is constructed by a method that captures the true parameter in 1 − α of repeated samples, under its assumptions. It is not strictly correct to say that there is a 95% probability that a fixed population parameter lies in this particular interval under the frequentist interpretation.

Confidence intervals provide information that a p-value does not: direction, magnitude, and precision. A narrow interval indicates greater precision; a wide interval may signal a small sample, high variability, or both.

Statistical significance depends partly on sample size. A very small effect can produce a small p-value in a huge sample, while a practically important effect can fail to reach significance in a small sample. Effect size should therefore be estimated and interpreted in context.

For a mean difference, the raw effect is Δ = μ₁ − μ₂, expressed in business units such as minutes, pounds, or percentage points. A standardized mean difference can be expressed using a pooled standard deviation:

d = (x̄₁ − x̄₂)/sp

where, for independent groups,

sp = √[((n₁ − 1)s₁² + (n₂ − 1)s₂²)/(n₁ + n₂ − 2)]

This pooled effect size assumes comparable population variances and is most natural for independent groups. For proportions, an absolute difference p₁ − p₂, relative risk p₁/p₂, or odds ratio may be more meaningful. Analysts should report the metric that corresponds to the decision, not merely the measure that produces the most attractive result.

4. Errors, Power, and Sample Size

A test can make two kinds of decision error:

RealityDecision: reject H₀Decision: fail to reject H₀
H₀ trueType I error, probability αCorrect decision
H₀ falseCorrect decision, probability powerType II error, probability β

A Type I error is a false positive: concluding that a change or difference exists when it does not. A Type II error is a false negative: failing to detect a real effect. Power is 1 − β, the probability of rejecting H₀ for a specified true effect, sample size, variability, and significance level.

Power increases when the true effect is larger, sample size is larger, measurement variability is lower, or α is increased. These changes involve trade-offs. Increasing α reduces Type II errors but increases the tolerated Type I error rate. A power analysis should be conducted before data collection, using a practically meaningful minimum effect and a defensible estimate of variability.

For a two-sided one-sample mean test with known or well-estimated σ, an approximate sample-size relationship is:

n ≈ [(z1−α/2 + z1−β)σ/δ]²

Here δ is the smallest practically important difference, σ is population standard deviation, and z denotes a standard-normal quantile. This approximation assumes independent observations and a mean-based test; finite-population, non-normal, clustered, or repeated-measures designs require appropriate adjustments.

“Significance” should not be confused with importance. A statistically significant estimate may be too small to justify implementation costs, while a non-significant estimate may warrant further study if the confidence interval includes meaningful benefits.

5. Common Tests and Their Assumptions

The appropriate procedure depends on the outcome, design, parameter, and assumptions.

QuestionCommon procedureImportant considerations
One mean versus a benchmarkOne-sample t testIndependence; approximately normal outcome or adequate sample size
Two independent meansWelch two-sample t testIndependent groups; Welch method avoids assuming equal variances
Matched before-and-after meansPaired t testAnalyze within-pair differences; pairs independent of one another
One proportion versus a benchmarkOne-proportion z test or exact binomial testIndependent binary observations; adequate expected counts for normal approximation
Two proportionsTwo-proportion test or confidence intervalIndependent groups; adequate counts for approximation
Categorical associationChi-square test of independenceIndependent observations; sufficiently large expected cell counts
More than two meansANOVA or regressionModel assumptions; account for multiple comparisons

The Welch test is often preferable to the pooled-variance t test when group variances or sample sizes differ. A paired design should not be analyzed as if the two measurements were independent, because pairing is information that can improve precision.

Assumptions concern more than normality. Random or defensible sampling, independence, valid measurement, correct exposure assignment, and absence of severe selection bias are fundamental. No sophisticated test repairs a biased sample or a confounded observational design.

6. Multiple Testing, Data Snooping, and Reproducibility

When many hypotheses are tested, some small p-values will occur by chance even if all null hypotheses are true. Testing 20 independent true null hypotheses at α = 0.05 gives a probability of approximately 1 − 0.95²⁰ ≈ 0.642 of at least one false positive. This is not a reason to avoid exploration; it is a reason to distinguish exploratory from confirmatory analysis.

Controls include pre-specifying primary outcomes, limiting unnecessary comparisons, adjusting for multiplicity, and replicating promising findings. The Bonferroni procedure controls the family-wise error rate by testing each of m hypotheses at α/m, though it can be conservative. False discovery rate procedures control the expected proportion of false discoveries among rejected hypotheses and may be useful in large-scale screening.

Optional stopping, repeatedly checking p-values until significance appears, and selectively reporting favorable outcomes undermine nominal error rates. Analysts should document hypotheses, exclusions, transformations, stopping rules, and model choices. Version-controlled code, data dictionaries, audit trails, and reproducible reports improve trust.

7. A Detailed Applied Case: Website Checkout Experiment

Background

An online retailer introduces a simplified checkout page. Management wants evidence that the redesign increases the purchase conversion rate enough to justify a full rollout.

Problem and design

Visitors are randomly assigned to either the existing page or the redesigned page. The primary outcome is whether a visitor completes a purchase during the session. Random assignment helps balance observed and unobserved factors, although implementation failures, repeat visitors, and interference can still create bias.

Suppose 10,000 visitors use the control page and 10,000 use the redesign. The control group records 400 purchases, or 4.00%; the treatment group records 460 purchases, or 4.60%. The observed absolute difference is 0.60 percentage points.

The hypotheses are:

  • H₀: p_T − p_C = 0;
  • H₁: p_T − p_C > 0.

For a two-proportion z test, the pooled estimate under H₀ is:

p̂ = (xT + xC)/(nT + nC)

and the standard error is:

SE = √[p̂(1 − p̂)(1/nT + 1/nC)]

Using x_T = 460, x_C = 400, and both sample sizes 10,000 gives p̂ = 860/20,000 = 0.043. The standard error is approximately 0.00287, so:

z = (0.046 − 0.040)/0.00287 ≈ 2.09

The one-sided p-value is approximately 0.018. At α = 0.05, the evidence supports an increase in conversion under the experiment’s conditions.

Decision analysis

The result is statistically significant, but management should not stop at the p-value. The absolute increase is 0.006, or six additional purchases per 1,000 visitors. If the average contribution margin per additional purchase is £18, the estimated incremental contribution is about £108 per 1,000 visitors before implementation and operational costs. The business case depends on traffic volume, persistence of the effect, technical costs, customer experience, and possible longer-term effects such as returns or retention.

A confidence interval for the difference should be reported using an appropriate unpooled standard error for estimation. The interval communicates uncertainty around the six-per-1,000 estimate. Analysts should also check whether the result is consistent across device types and customer segments. Such subgroup analyses should be treated cautiously because many comparisons can produce chance findings.

Outcome and learning points

The appropriate recommendation is conditional rollout or continued experimentation if the estimated benefit exceeds the pre-defined practical threshold and no material harm appears in secondary outcomes. The test establishes evidence of an average short-term association under randomized assignment; it does not guarantee a permanent effect or justify claims about every customer.

8. Interpreting Evidence Responsibly

Several inference fallacies are especially common in business analytics:

  • P-value fallacy: A p-value is not the probability that H₀ is true.
  • Magnitude fallacy: Statistical significance does not establish practical importance.
  • Non-significance fallacy: p > α does not prove that the effect is zero.
  • Confidence fallacy: A 95% interval is not a 95% probability statement about a fixed parameter under standard frequentist interpretation.
  • Multiple-comparison fallacy: A selected significant result from many tests is not equivalent to a pre-specified primary result.
  • Correlation-causation fallacy: A significant association in observational data does not by itself establish causation.
  • Base-rate neglect: A statistically positive signal may have limited decision value when the underlying event is rare or false positives are costly.
  • Subgroup overinterpretation: Differences between significant and non-significant subgroup results do not necessarily imply that the subgroups differ; an interaction test is needed.
  • HARKing: Presenting a hypothesis generated after seeing data as though it were predicted in advance exaggerates confirmatory evidence.

Ethical and governance considerations

Testing can affect pricing, credit, employment, healthcare access, and customer treatment. Analysts should assess fairness, privacy, informed consent where relevant, data minimization, and potential disparate impact. A statistically significant policy that harms a vulnerable group may be unacceptable even if it improves an aggregate metric. Governance should specify who approves experiments, what outcomes are monitored, how long data are retained, and when an experiment must be stopped for harm or security concerns.

AI systems intensify these issues because automated experimentation can run thousands of comparisons and adapt rapidly. Guardrails should include registered primary metrics, holdout samples, monitoring for drift, human review of consequential decisions, and transparent documentation of model and test changes. Statistical evidence supports judgment; it does not replace accountability.

Best-Practice Decision Protocol

Before analysis, define the estimand, population, practical threshold, primary outcome, direction, α, and stopping rule. During analysis, inspect data quality, preserve the design, verify assumptions, and use methods suited to the sampling structure. After analysis, report the estimate, uncertainty interval, p-value, effect size, sample size, missing-data treatment, limitations, and business consequences. Finally, distinguish evidence from recommendation: the recommendation also depends on costs, risks, constraints, equity, and reversibility.

Chapter Summary

Hypothesis testing evaluates whether sample evidence is sufficiently inconsistent with a null model to justify rejecting it. A complete analysis begins with clearly defined population parameters and hypotheses, followed by a suitable test statistic, assumptions, significance level, and decision rule. One-tailed tests require a defensible direction specified in advance; two-tailed tests detect departures in either direction.

P-values quantify extremeness under H₀ and are not probabilities that hypotheses are true. Confidence intervals show plausible parameter values and precision, while effect sizes express the magnitude of change in meaningful units. Type I and Type II errors describe competing risks, and power is the probability of detecting a specified effect. Multiple testing, optional stopping, biased sampling, confounding, and selective reporting can invalidate apparently impressive results.

Evidence-based business decisions integrate statistical results with practical thresholds, costs, risks, study design, ethics, and governance. Statistical significance is evidence—not an automatic implementation order.

Key Terms

Hypothesis: A testable claim about a population, parameter, or data-generating process.

Null hypothesis: The reference claim of no difference, no effect, or a specified value.

Alternative hypothesis: The claim supported when evidence is sufficiently inconsistent with the null.

Test statistic: A standardized quantity used to compare sample evidence with the null model.

p-value: The probability, under H₀, of results at least as extreme as the observed result.

Significance level: The chosen maximum long-run probability of a Type I error.

Critical region: Values of a test statistic that lead to rejection of H₀.

One-tailed test: A test with a rejection region in one direction.

Two-tailed test: A test that detects departures in either direction.

Confidence interval: An interval produced by a procedure designed to capture a parameter at a stated long-run rate.

Effect size: A measure of the magnitude of an observed or population difference.

Standard error: The standard deviation of a statistic’s sampling distribution.

Type I error: Rejecting a true null hypothesis.

Type II error: Failing to reject a false null hypothesis.

Power: The probability of rejecting H₀ for a specified alternative condition.

Multiple testing: Conducting several statistical tests within one analytical exercise.

Statistical significance: Evidence judged inconsistent with H₀ at a chosen α.

Practical significance: Importance of an effect for decisions, costs, or outcomes.

Confounding: A situation in which another variable distorts an observed relationship.

Reproducibility: The ability to verify an analysis using documented data, methods, and code.

Review Questions

Short Answer Questions

  1. What roles do H₀ and H₁ play in a hypothesis test?
  2. How does a one-tailed test differ from a two-tailed test?
  3. What does a p-value measure, and what does it not measure?
  4. Distinguish a Type I error from a Type II error.
  5. Why should effect sizes and confidence intervals accompany p-values?

Long Answer Questions

  1. Explain the complete workflow for converting a business question into a statistically testable hypothesis.
  2. Discuss the assumptions and appropriate use of one-sample, two-sample, and paired t tests.
  3. Explain statistical power, including factors that increase or decrease it.
  4. Analyze why statistical significance does not necessarily imply business importance.
  5. Discuss how multiple testing, optional stopping, and selective reporting affect credibility.

Analytical / Application Questions

  1. A retailer observes a higher average order value after a promotion. Design a hypothesis test, identify possible confounders, and specify the evidence needed before attributing the increase to the promotion.
  2. A software experiment produces p = 0.08 with a 95% confidence interval for the conversion-rate difference from −0.2 to 1.4 percentage points. Interpret the result and recommend a next step.
  3. A bank tests 40 customer segments and finds one significant difference at α = 0.05. Explain why this finding requires caution and propose a more credible validation strategy.

Multiple Choice Questions with Answers

Question 1

Which statement correctly describes a p-value?

A. The probability that the null hypothesis is true

B. The probability that the result occurred by any form of chance

C. The probability, assuming the null hypothesis, of evidence at least as extreme as observed

D. The probability that the alternative hypothesis is true

Correct Answer: C. The probability, assuming the null hypothesis, of evidence at least as extreme as observed

Question 2

A two-tailed test is most appropriate when:

A. Only an increase would matter

B. Only a decrease would matter

C. Departures in either direction are relevant

D. The sample size is very large

Correct Answer: C. Departures in either direction are relevant

Question 3

If α = 0.05, a Type I error is:

A. Failing to detect a real effect

B. Rejecting a true null hypothesis

C. Using an insufficient sample

D. Reporting a confidence interval

Correct Answer: B. Rejecting a true null hypothesis

Question 4

Which result directly communicates the estimated magnitude and precision of an effect?

A. A confidence interval

B. A significance level alone

C. A null hypothesis alone

D. A sampling frame

Correct Answer: A. A confidence interval

Question 5

For a sample mean of 46.5, null mean of 48, sample standard deviation of 4, and n = 25, what is the one-sample t statistic?

A. −1.875

B. −0.375

C. 1.875

D. −6.000

Correct Answer: A. −1.875

Question 6

Statistical power is the probability of:

A. Rejecting a true null hypothesis

B. Failing to reject a true null hypothesis

C. Rejecting the null hypothesis when a specified alternative is true

D. Obtaining a p-value equal to zero

Correct Answer: C. Rejecting the null hypothesis when a specified alternative is true

Question 7

Which design calls for analyzing within-unit differences?

A. Two unrelated customer samples

B. Matched before-and-after observations

C. A single categorical sample

D. A random sample compared with a fixed proportion

Correct Answer: B. Matched before-and-after observations

Question 8

Why is testing many hypotheses without adjustment problematic?

A. It guarantees no significant results

B. It increases the chance of at least one false positive

C. It eliminates sampling variability

D. It makes effect sizes impossible to calculate

Correct Answer: B. It increases the chance of at least one false positive

Question 9

A non-significant result means that:

A. The null hypothesis has been proven true

B. The effect is exactly zero

C. The evidence was insufficient to reject the null at the chosen rule

D. The study had perfect power

Correct Answer: C. The evidence was insufficient to reject the null at the chosen rule

Question 10

Which statement about a statistically significant business result is correct?

A. It automatically justifies implementation

B. It proves causation in every study design

C. It should also be assessed for practical importance and risk

D. It means the effect applies equally to every subgroup

Correct Answer: C. It should also be assessed for practical importance and risk

Business Statistics
Chapter 8 of 15