top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S3-SA3-0116

What is Hypothesis Testing?

Grade Level:

Class 9

AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering

Definition
What is it?

Hypothesis testing is like being a detective for numbers. It's a way to use data to decide if a belief or claim about something is likely true or false. We start with a guess (called a hypothesis) and then collect evidence to see if our guess holds up.

Simple Example
Quick Example

Imagine your friend claims that 'on average, students in our class get more than 80 marks in Math exams'. You want to check if this is true. You can collect exam scores from a few students and use hypothesis testing to see if their claim is supported by the data.

Worked Example
Step-by-Step

Let's say a chai shop owner claims that 'the average daily sale of chai is 200 cups'. You want to test this claim.

1. State the claim: The average daily sale (mu) is 200 cups (mu = 200). This is our 'null hypothesis'.
---
2. Formulate an opposing idea: Maybe the average is NOT 200 cups (mu != 200). This is our 'alternative hypothesis'.
---
3. Collect data: You observe the sales for 5 days: 190, 210, 185, 205, 195 cups.
---
4. Calculate the average of your sample data: (190 + 210 + 185 + 205 + 195) / 5 = 985 / 5 = 197 cups.
---
5. Compare your sample average to the claimed average: Your average (197) is close to the claimed average (200).
---
6. Make a decision (simplified for Class 9): Since 197 is very close to 200, it's likely that the owner's claim (200 cups) is reasonable based on your small sample. If your average was very far (like 100 cups), you might doubt the claim.

Answer: Based on this small sample, the owner's claim of 200 cups average daily sale seems plausible.

Why It Matters

Hypothesis testing helps scientists, engineers, and data analysts make important decisions based on evidence. From designing new medicines in AI/ML to checking if a new phone battery lasts longer, it's used everywhere. It's a key skill for careers in Data Science and even understanding news about scientific discoveries.

Common Mistakes

MISTAKE: Thinking that if your data doesn't perfectly match the claim, the claim is definitely false. | CORRECTION: Small differences are normal due to 'chance'. Hypothesis testing helps us decide if the difference is big enough to reject the claim, or if it's just random variation.

MISTAKE: Only looking for data that supports your own belief. | CORRECTION: You must consider all data fairly, even if it goes against what you initially thought. This makes your conclusion reliable.

MISTAKE: Confusing the 'null hypothesis' with the 'alternative hypothesis'. | CORRECTION: The null hypothesis is usually the existing belief or status quo (what you're trying to test AGAINST). The alternative hypothesis is what you suspect might be true instead.

Practice Questions
Try It Yourself

QUESTION: A mobile game developer claims that players spend 'on average 30 minutes per day' on their game. You observe 4 players spending 28, 32, 29, 31 minutes. What is the average time spent by these 4 players? | ANSWER: (28 + 32 + 29 + 31) / 4 = 120 / 4 = 30 minutes.

QUESTION: A school canteen manager says 'the average number of samosas sold per day is 100'. Over 3 days, they sold 95, 105, and 98 samosas. If you were to do a very simple check, would this data strongly contradict the manager's claim? Why or why not? | ANSWER: No, it would not strongly contradict the claim. The average of 95, 105, 98 is 99.33, which is very close to 100. Small variations are expected.

QUESTION: A cricket coach believes that 'on average, his team scores more than 150 runs in T20 matches'. In their last 5 matches, they scored 145, 160, 155, 140, 165 runs. What is the average score? Does this average support the coach's belief? | ANSWER: Average score = (145 + 160 + 155 + 140 + 165) / 5 = 765 / 5 = 153 runs. Yes, the average score of 153 runs is more than 150, which supports the coach's belief.

MCQ
Quick Quiz

Which of the following best describes the main goal of hypothesis testing?

To always prove a claim is true.

To collect as much data as possible.

To use data to decide if a claim or belief is likely true or false.

To make wild guesses about numbers.

The Correct Answer Is:

C

Hypothesis testing uses evidence (data) to make an informed decision about a claim. It doesn't always prove something true, but helps assess its likelihood. Collecting data (B) is a step, not the main goal. Making wild guesses (D) is the opposite of a scientific approach.

Real World Connection
In the Real World

Imagine a food delivery app like Swiggy or Zomato. They might want to test if a new delivery route algorithm reduces delivery time. They'd compare average delivery times using the old and new algorithms for a sample of orders. Hypothesis testing helps them decide if the new algorithm truly makes a difference before rolling it out across India.

Key Vocabulary
Key Terms

HYPOTHESIS: A testable statement or claim about a population | DATA: Facts and statistics collected together for reference or analysis | NULL HYPOTHESIS: The existing belief or status quo that you are trying to test against | ALTERNATIVE HYPOTHESIS: The opposing idea or what you suspect might be true instead | SAMPLE: A small part of a larger group (population) used to gather information

What's Next
What to Learn Next

Great job understanding hypothesis testing! Next, you can explore 'Probability' and 'Statistical Significance'. These concepts will help you understand how sure we can be about our decisions in hypothesis testing, making you an even better data detective!

bottom of page