🧪 t-Test
Last Updated: Jan 2026
A t-Test is a hypothesis test used to determine whether a sample mean (or means) is significantly different when:
- Sample size is small
- Population standard deviation is unknown
It uses the t-distribution, which is wider than the normal distribution.
🗣 Hinglish Tip: t-Test = jab sample chhota ho aur σ pata na ho
When to Use t-Test?
Use t-Test when:
- Sample size:
n < 30 - Population standard deviation unknown
- Data is approximately normal
- Samples are independent (except paired test)
Types of t-Test
- One-Sample t-Test
- Two-Sample (Independent) t-Test
- Paired t-Test
👉 In this tutorial, we cover One-Sample t-Test
t-Test Notation (Math Standard)
- Population mean →
μ - Sample mean →
x̄ - Sample standard deviation →
s - Sample size →
n - Degrees of freedom →
df = n − 1 - Significance level →
α - t statistic →
t
t-Test Formula (One-Sample)
t = (x̄ − μ) / (s / √n)
Example
A coaching institute claims that the average score of students is 70.A sample of 10 students is taken and their scores are:
65, 68, 70, 72, 74, 69, 71, 73, 67, 66
Test the claim at 5% significance level.
Step 1: State the Hypotheses
Two-tailed test (checking difference):
H₀: μ = 70
H₁: μ ≠ 70
Step 2: Identify Test Type
- n = 10 (< 30) ✅
- σ unknown ✅
👉 Use One-Sample t-Test
Step 3: Calculate Sample Mean (x̄)
Σx = 695
x̄ = 695 / 10 = 69.5
Step 4: Calculate Sample Standard Deviation (s)
| x | x − x̄ | (x − x̄)² |
|---|---|---|
| 65 | -4.5 | 20.25 |
| 68 | -1.5 | 2.25 |
| 70 | 0.5 | 0.25 |
| 72 | 2.5 | 6.25 |
| 74 | 4.5 | 20.25 |
| 69 | -0.5 | 0.25 |
| 71 | 1.5 | 2.25 |
| 73 | 3.5 | 12.25 |
| 67 | -2.5 | 6.25 |
| 66 | -3.5 | 12.25 |
Σ(x − x̄)² = 82.5
s² = 82.5 / (10 − 1) = 9.17
s = √9.17 ≈ 3.03
Step 5: Calculate t-Statistic
t = (69.5 − 70) / (3.03 / √10)
t = -0.5 / 0.958
t ≈ -0.52
Step 6: Find Critical t-Value
- α = 0.05
- df = n − 1 = 9
From t-table:
t₀.₀₂₅,₉ = ±2.262
Step 7: Decision
- Calculated t = −0.52
- Critical t = ±2.262
Since:
|t| = 0.52 < 2.262
👉 Fail to Reject H₀
Step 8: Conclusion
There is no sufficient evidence to reject the institute’s claim. The average score can be considered 70.
🗣 Hinglish Tip: t limit ke andar hai → claim acceptable