Statistics

Hypothesis Test

A pupil compares a small data chart with a proposed pattern.

Hypothesis Test definition

A hypothesis test uses data to evaluate evidence against a null hypothesis.

In Spanish
prueba de hipótesis
Topic
Statistical inference

Hypothesis Test in a picture

Hypothesis Test diagramA test starts with a model, measures the sample result, then compares the p-value with the chosen cutoff.State H₀ and HₐSpecify claimsCompute the p-valueUse the null modelCompare p with αMake the decision
A test starts with a model, measures the sample result, then compares the p-value with the chosen cutoff.

How it works

State a null hypothesis and a competing alternative about a parameter or model. Choose a test and significance level before inspecting the result. Check the assumptions, calculate a test statistic, and find its p-value under the null. Using the rule p < α, reject the null when the p-value is below the cutoff.

Worked examples

The cutoff is 0.05 and p = 0.018. What is the decision?

Reject the null hypothesis.

The cutoff is 0.05 and p = 0.23. What is the decision?

Fail to reject the null hypothesis.

Which alternative tests whether a mean differs from 10?

Hₐ states that the population mean is not 10.

Common mistake

Failing to reject a null hypothesis means the test found insufficient evidence against it. That result does not establish that the null is true.

Quick check

What symbol commonly denotes the null hypothesis?

Show answer

H₀.

When is α typically chosen?

Show answer

Before analyzing the test result.

What test direction checks for either a higher or lower value?

Show answer

A two-sided test.

Sources

Flashcard

Hypothesis Test

Reveal the definition

A hypothesis test uses data to evaluate evidence against a null hypothesis.

Effortless Math. “Hypothesis Test.” Math Dictionary.