Definition
Hypothesis testing is a statistical method used to make decisions about a population based on sample data. You start with a default assumption (the null hypothesis), collect data, and then determine whether the data provides enough evidence to reject that assumption in favor of an alternative.
How It Works
Think of hypothesis testing as a trial. The null hypothesis is "innocent until proven guilty." You need strong enough evidence (data) to reject it.
A factory claims its light bulbs last 1,000 hours on average. You suspect they last less.
Null hypothesis: Mean lifespan = 1,000 hours
Alternative hypothesis: Mean lifespan < 1,000 hours
You test 50 bulbs and find a mean of 980 hours with a p-value of 0.02. Since 0.02 < 0.05, you reject the null hypothesis and conclude the bulbs likely last less than 1,000 hours.
Why It Matters
Hypothesis testing provides a structured framework for making evidence-based decisions. It is used in medical trials to test whether a drug works, in manufacturing to check product quality, and in marketing to evaluate whether a campaign increased sales.
Without hypothesis testing, decisions would rely on gut feelings rather than data. The method forces you to define what you are testing, set standards for evidence, and acknowledge the possibility of error before looking at the results.
Hypothesis testing gives you a systematic way to answer "Is this effect real or just noise?" using data and probability.