The p-value quantifies how likely it is to observe the data (or more extreme) given the null hypothesis is true. A low p-value suggests evidence against the null hypothesis.
Example of P-Value with Explanation
Suppose a company claims that the average battery life of their new smartphone is 10 hours. A tester wants to check if this claim is true and collects a sample of 30 phones, finding an average battery life of 9 hours.
The null hypothesis (H0): The average battery life is 10 hours (no difference).
The alternative hypothesis (H1): The average battery life is less than 10 hours.
The p-value tells us how likely it is to get a sample average of 9 hours or less if the true average really was 10 hours.
If the p-value is very small (for example, 0.02 or 2%), this means there's only a 2% chance of observing such a result (or more extreme) by random chance if the claim is correct.
Since 2% is less than a common significance level (such as 5%), we reject the null hypothesis and conclude that the battery life is likely less than claimed.
On the other hand, if the p-value were large (say 0.3 or 30%), it would mean the sample result is quite likely by chance, and we would fail to reject the null hypothesis, so we have no strong reason to doubt the claim.
Key Point
The p-value is not the probability that the null hypothesis is true; it is the probability of seeing the data you got (or more extreme) if the null hypothesis were true. A smaller p-value means stronger evidence against the null hypothesis.