🧪 Z-Test
Last Updated: Jan 2026
A Z-Test is a hypothesis test used to determine whether a sample mean is significantly different from a population mean when the population variance is known and the sample size is large.
🗣 Hinglish Tip: Z-Test = jab sample bada ho aur population ka pata ho, tab mean compare karte hain
When to Use Z-Test?
Use Z-Test when all conditions are satisfied:
- Sample size:
- Population standard deviation is known
- Data is normally distributed or CLT applies
- Random & independent samples
Types of Z-Test
- One-Sample Z-Test → Compare sample mean with population mean
- Two-Sample Z-Test → Compare means of two large samples
- Z-Test for Proportion → Compare proportions
👉 In this tutorial, we cover One-Sample Z-Test (most common)
Z-Test Notation (Math Standard)
- Population mean →
- Sample mean →
- Population standard deviation →
- Sample size →
- Significance level →
- Z statistic →
Z-Test Formula
Decision Rule (Z-Table Method)
For :
Example
A company claims that the average battery life is 100 hours. A sample of 50 batteries is tested and the following is observed:
- Sample mean:
- Population standard deviation:
- Significance level:
Test whether the company's claim is correct.
Step 1: State the Hypotheses
Since we are checking difference, this is a two-tailed test.
Step 2: Identify Test Type
- known
👉 Use Z-Test
Step 3: Compute Standard Error
Step 4: Calculate Z-Statistic
Step 5: Find Critical Value
From Z-table (, two-tailed):
Step 6: Decision
Since:
👉 Reject
Step 7: Conclusion
There is sufficient evidence to conclude that the average battery life is NOT equal to 100 hours.
🗣 Hinglish Tip: Z value limit cross kar gaya → claim reject
