In business analytics, we constantly test assumptions (e.g. "Did our new website design increase conversion rates?", "Is supplier A producing fewer defective parts than supplier B?").
Hypothesis Testing is a formal statistical framework for evaluating whether an observed difference is genuine or merely random sample fluctuation.
2. Setting Up Hypotheses
1
Null Hypothesis ($H_0$): The baseline assumption of no effect, no change, or no difference. (e.g. $H_0: \mu_{new} = \mu_{old}$).
2
Alternative Hypothesis ($H_1$ or $H_a$): The claim we are trying to prove—that there is a statistically significant effect (e.g. $H_1: \mu_{new} \ne \mu_{old}$).
3. The P-Value & Significance Level ($\alpha$)
Significance Level ($\alpha$): The probability threshold of committing a Type I error (false positive). By convention, $\alpha = 0.05$ (5%).
P-Value: The probability of observing a result at least as extreme as the sample data, assuming the Null Hypothesis ($H_0$) is true.
The Decision Rule:
- If $p < \alpha$ (e.g. $p < 0.05$): Reject $H_0$! The result is statistically significant.
- If $p \ge \alpha$: Fail to reject $H_0$. There is insufficient evidence to claim an effect.
4. Type I vs Type II Errors
Type I Error ($alpha$, False Positive): Rejecting $H_0$ when it was actually true (e.g., convicting an innocent person).
Type II Error ($eta$, False Negative): Failing to reject $H_0$ when it was actually false (e.g., letting a guilty person walk free).
Interactive Quiz• Knowledge Check
Practice Quiz
Question 1
What does a p-value of $p = 0.018$ indicate when evaluated against a significance level of $alpha = 0.05$?
Question 2
What is a Type I error in statistical testing?
Question 3
By industry standard convention, what is the default significance level ($alpha$) chosen for business and scientific hypothesis testing?
Question 4
What is the role of the Null Hypothesis ($H_0$)?
Question 5
Does a statistically significant p-value ($p < 0.05$) automatically mean the finding has high practical or commercial business importance?
Test your understanding of this lesson with 5 questions. Each question has one correct answer.
12-Month Data Analysis Mastery Program
Master Full-Stack Data Analytics (Excel, SQL, Python, Power BI & Tableau)
Combine 15 complete courses, 150 chapters, 541 topics, live SQL/Power BI/Tableau dashboards, and Scikit-Learn capstones at MSK Institute Shikohabad or Live Online.