• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • Classroom
    • NEET
      • 2025
      • 2024
      • 2023
      • 2022
    • JEE
      • 2025
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
      • College Predictor
      • Counselling
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
  • NEW
    • TALLENTEX
    • AOSAT
  • ALLEN E-Store
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
Home
JEE Maths
Hypothesis Testing in Statistics

Hypothesis Testing in Statistics 

Definition

Hypothesis Testing in Statistics is a method used to make decisions or inferences about population parameters based on sample data. It helps to determine whether there is enough statistical evidence to support a certain belief (hypothesis) about a population. In simple terms, it’s a technique to test assumptions using statistical data.

1.0Hypothesis Testing in Statistics Meaning

The meaning of Hypothesis Testing revolves around verifying claims or ideas regarding a population. This is done by collecting sample data, applying statistical techniques, and then deciding whether to accept or reject a hypothesis.

2.0Understanding Hypothesis Testing

To understand Hypothesis Testing, you must know these key terms:

  • Null Hypothesis (H₀): The default assumption stating no effect or no difference.
  • Alternative Hypothesis (H₁ or Ha): The statement we aim to test, suggesting an effect or difference exists.
  • Significance Level (α): The probability of rejecting the null hypothesis when it is actually true, usually set at 0.05.
  • Test Statistic: A value calculated from the sample data, which is compared against critical values to make decisions.
  • p-value: The probability of obtaining test results at least as extreme as the observed results, under the assumption that the null hypothesis is correct.

3.0Hypothesis Testing Steps

Here are the steps of a Hypothesis Test:

  1. State the Hypotheses:
    • Null Hypothesis (H₀)
    • Alternative Hypothesis (H₁)
  2. Set the Significance Level (α):

Commonly used values are 0.05, 0.01, or 0.10.

  1. Choose the Appropriate Test:

Based on sample size, type of data, and test objective.

  1. Compute the Test Statistic:

Apply the formula based on the test selected.

  1. Calculate the p-value or Critical Value:

Determine the likelihood of observing the sample result.

  1. Make the Decision:

If p-value ≤ α, reject H₀; otherwise, fail to reject H₀.

  1. State the Conclusion:

Clearly interpret the statistical decision in context.

4.0Hypothesis Testing in Statistics Formula

The Hypothesis Testing formula varies based on the test type. A common formula for a z-test is: 

z=σ/n​xˉ−μ​

Where:

  • = sample mean
  • μ = population mean
  • σ = population standard deviation
  • n = sample size

For a t-test (when population standard deviation is unknown):

t=s/n​xˉ−μ​

Where:

  • s = sample standard deviation

5.0Hypothesis Testing Types

There are two main types of Hypothesis Testing in Statistics:

  1. Parametric Tests (assume data follows a specific distribution)
    • Z-Test
    • T-Test
    • ANOVA
    • Chi-Square Test (for variances)
  2. Non-Parametric Tests (distribution-free)
    • Mann-Whitney U Test
    • Wilcoxon Signed-Rank Test
    • Kruskal-Wallis Test

What are the Two Types of Hypothesis Testing?

  1. One-tailed Test: Tests for effect in one direction.
  2. Two-tailed Test: Tests for effect in both directions (more common).

6.0Solved Examples on Hypothesis Testing in Statistics

Example 1: A company claims its battery lasts 500 hours. A sample of 36 batteries has an average lifespan of 485 hours with a standard deviation of 60 hours. Test at the 5% significance level whether the claim is valid.

Solution:

  • Null Hypothesis (H₀): μ = 500
  • Alternative Hypothesis (H₁): μ ≠ 500

Given:

, , s = 60, n = 36

Using t-test formula:

Degrees of freedom = 36 - 1 = 35

Critical t-value (two-tailed, α = 0.05) ≈ ±2.030

Since -1.5 lies between -2.030 and 2.030, we fail to reject H₀.

Conclusion: There’s insufficient evidence to reject the company's claim.


Example 2: A company claims that the average weight of its product is 150 grams. A sample of 49 items gives a mean of 152 grams with a standard deviation of 5 grams. Test the claim at 5% significance level.

Solution:

  • Null Hypothesis (H₀): μ = 150
  • Alternative Hypothesis (H₁): μ ≠ 150 (Two-tailed test)

Given:

xˉ=152,μ=150,σ=5,n=49

Test Statistic (Z-test):

z=σ/n​xˉ−μ​z=5/49​152−150​z =5/72​=52×7​=2.8

Critical Z-values for α = 0.05 (two-tailed): ±1.96

Decision:
|2.8| > 1.96 → Reject H₀.

Conclusion: The claim is not valid; the average weight differs from 150 grams.

t=60/36​485−500​=10−15​=−1.5


Example 3: The average lifespan of bulbs produced by a factory is claimed to be 1200 hours. A sample of 16 bulbs has a mean lifespan of 1150 hours with a standard deviation of 100 hours. Test at 5% significance level.

Solution:

  • H₀: μ = 1200
  • H₁: μ ≠ 1200

Given:
xˉ=1150,s=100,n=16

Test Statistic (T-test):

t=s/n​xˉ−μ​t=100/16​1150−1200​t =25−50​=−2

Degrees of freedom = 16 - 1 = 15

Critical t-value at α = 0.05 (two-tailed, df = 15) ≈ ±2.131

Decision:
|-2| < 2.131 → Fail to reject H₀.

Conclusion: No significant evidence to reject the factory's claim.


Example 4: In a city, it is believed that 40% of people prefer public transport. A survey of 500 people shows that 230 prefer public transport. Test the belief at 5% significance level.

Solution:

  • H₀: p = 0.40
  • H₁: p ≠ 0.40

Sample proportion

p^​=500230​=0.46

Test Statistic:

z=np(1−p)​​p^​−p​z=5000.40×0.60​​0.46−0.40​z=0.00048​0.06​z=0.02190.06​≈2.74

Critical z-value at α = 0.05 (two-tailed): ±1.96

Decision:
|2.74| > 1.96 → Reject H₀.

Conclusion: There is significant evidence that the proportion differs from 40%.


Example 5: A researcher wants to test whether gender and preference for a product are independent. The observed data:


Like

Dislike

Total

Male

30

20

50

Female

20

30

50

Total

50

50

100

Test at 5% significance level.

Solution:

  • H₀: Gender and product preference are independent.
  • H₁: They are not independent.

Expected frequencies:

EMale, Like​=10050×50​=25EMale, Dislike​=10050×50​=25,EFemale, Like​=25,EFemale, Dislike​=25

Chi-square statistic:

χ2=∑E(O−E)2​χ2=25(30−25)2​+25(20−25)2​+25(20−25)2​+25(30−25)2​χ2=2525​+2525​+2525​+2525​=4 

Degrees of freedom = (2 - 1)(2 - 1) = 1

Critical value at α = 0.05, df = 1 → 3.841

Decision:
4 > 3.841 → Reject H₀.

Conclusion: Gender and product preference are not independent.

7.0Practice Questions on Hypothesis Testing in Statistics

Question 1: The mean score of students in a school is 68 with a standard deviation of 10. A sample of 36 students has a mean of 70. Test if the mean score is significantly different at 5% significance level.

Question 2: A shopkeeper claims that 30% of customers buy product A. A random sample of 400 customers showed that 140 customers bought product A. Test the claim at 1% significance level.

Question 3: A manufacturer claims the average lifetime of a machine part is 2000 hours. A sample of 25 parts gives a mean of 1950 hours with a standard deviation of 120 hours. Test the claim at 5% significance level.

Question 4: In a survey, 70% of people said they prefer online shopping. A sample of 150 people showed that 95 people prefer online shopping. Test if this result differs from the survey at 5% level.

Question 5: A school wants to know whether there is an association between class level (junior or senior) and participation in sports. The observed data is:


Participate

Not Participate

Total

Junior

25

15

40

Senior

20

30

50

Total

45

45

90

Test for independence at 5% significance level.

Hypothesis Testing cnt


  • 1.0Hypothesis Testing in Statistics Meaning
  • 2.0Understanding Hypothesis Testing
  • 3.0Hypothesis Testing Steps
  • 4.0Hypothesis Testing in Statistics Formula
  • 5.0Hypothesis Testing Types
  • 6.0Solved Examples on Hypothesis Testing in Statistics
  • 7.0Practice Questions on Hypothesis Testing in Statistics

Frequently Asked Questions

It’s a statistical method to evaluate assumptions about a population based on sample data.

Define hypotheses Set significance level Select the test Compute test statistic Calculate p-value Make decision Draw conclusion

Parametric Testing and Non-Parametric Testing

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • Olympiad
    • NEET 2025 Results
    • NEET 2025 Answer Key
    • NEET College Predictor
    • NEET 2025 Counselling

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO