Hypothesis Testing: A Detailed Reviewer
Introduction to Hypothesis Testing
Hypothesis testing is a statistical method used to make decisions or inferences about a population
based on a sample. It involves testing an assumption (hypothesis) about a population parameter
using sample data.
Steps in Hypothesis Testing
1. State the Null (H0) and Alternative (H1) Hypotheses
2. Choose the Significance Level (alpha)
3. Select the Appropriate Test and Compute the Test Statistic
4. Find the Critical Value or p-value
5. Make a Decision: Reject or Fail to Reject H0
1. One-Sample Test
A one-sample test determines if the sample mean differs from a known population mean.
Formula:
Z = (X - mu) / (sigma / sqrt(n)) (if population standard deviation is known)
t = (X - mu) / (s / sqrt(n)) (if population standard deviation is unknown)
2. Two-Sample Test
A two-sample test compares the means of two independent groups.
Formula:
t = (X1 - X2) / (Sp sqrt(1/n1 + 1/n2))
3. Paired Sample Test
A paired sample test is used when the same subjects are tested twice (before and after treatment).
Formula:
t = (D) / (sD / sqrt(n))
Differences Between the Tests
One-Sample Test: Compares sample mean with a population mean.
Two-Sample Test: Compares means of two independent groups.
Paired Sample Test: Compares means of paired or dependent samples.
Conclusion
Hypothesis testing helps in making statistical inferences. Choosing the right test depends on
study design, sample dependency, and available data.