Docsity

Hypothesis Testing: Concepts, Steps, Statistical Tests & Solved Examples – Study Notes, Summaries of Mathematics

Toggle sidebar
bg1
Hypothesis Testing: Basics, Steps, and Solved Examples Page 1
Hypothesis Testing
Basics, Steps, and Solved Examples — Quick Study Notes
1. Introduction to Hypothesis Testing
Hypothesis testing is a statistical method used to decide whether there is enough evidence in sample data to support
a claim about a population. Instead of guessing, researchers use a structured process to check whether an observed
result is likely to be real or simply due to random chance.
Researchers use hypothesis testing because it gives an objective, repeatable way to evaluate evidence. For
example, a pharmaceutical company might test whether a new medicine lowers blood pressure more than an existing
one, using sample data from patients rather than guesswork or opinion.
Key Idea
Hypothesis testing helps us decide, using sample evidence, whether a claim about a population is likely
to be true — not whether it is proven with absolute certainty.
2. Null and Alternative Hypotheses
•Null Hypothesis (H0): A statement of "no effect" or "no difference." It assumes nothing unusual is happening
until evidence shows otherwise.
•Alternative Hypothesis (H1 or Ha): A statement that contradicts H0; it claims that there is an effect, a
difference, or a relationship.
Example
A company claims its light bulbs last 1,000 hours on average.
H0: The average bulb life is 1,000 hours.
H1: The average bulb life is not 1,000 hours.
3. The Main Steps of Hypothesis Testing
Every hypothesis test follows the same general process, regardless of the specific statistical test being used.
1State H0 and H1 based on the research question.
2Choose the significance level (α), usually before collecting or analyzing data.
3Select an appropriate statistical test (such as a Z-test, t-test, chi-square test, or ANOVA) based on the data
type and study design.
4Calculate the test statistic from the sample data.
5Find the p-value (or compare the test statistic to a critical value).
6Make the decision: reject H0 or fail to reject H0.
7Write the conclusion in plain language that answers the original question.
pf3
pf4
pf5

Partial preview of the text

Download Hypothesis Testing: Concepts, Steps, Statistical Tests & Solved Examples – Study Notes and more Summaries Mathematics in PDF only on Docsity!

Hypothesis Testing

Basics, Steps, and Solved Examples — Quick Study Notes

1. Introduction to Hypothesis Testing

Hypothesis testing is a statistical method used to decide whether there is enough evidence in sample data to support a claim about a population. Instead of guessing, researchers use a structured process to check whether an observed result is likely to be real or simply due to random chance.

Researchers use hypothesis testing because it gives an objective, repeatable way to evaluate evidence. For example, a pharmaceutical company might test whether a new medicine lowers blood pressure more than an existing one, using sample data from patients rather than guesswork or opinion.

Key Idea Hypothesis testing helps us decide, using sample evidence, whether a claim about a population is likely to be true — not whether it is proven with absolute certainty.

2. Null and Alternative Hypotheses

  • Null Hypothesis (H 0 ):^ A statement of "no effect" or "no difference." It assumes nothing unusual is happening until evidence shows otherwise.
  • Alternative Hypothesis (H 1 or Ha):^ A statement that contradicts H 0 ; it claims that there is an effect, a difference, or a relationship.

Example A company claims its light bulbs last 1,000 hours on average. H 0 : The average bulb life is 1,000 hours. H 1 : The average bulb life is not 1,000 hours.

3. The Main Steps of Hypothesis Testing

Every hypothesis test follows the same general process, regardless of the specific statistical test being used.

1 State H 0 and H 1 based on the research question.

2 Choose the significance level (α), usually before collecting or analyzing data.

3 Select an appropriate statistical test (such as a Z-test, t-test, chi-square test, or ANOVA) based on the data type and study design.

4 Calculate the test statistic from the sample data.

5 Find the p-value (or compare the test statistic to a critical value).

6 Make the decision: reject H 0 or fail to reject H 0.

7 Write the conclusion in plain language that answers the original question.

4. Significance Level ( α )

The significance level, written α (alpha), is the threshold of evidence a researcher requires before rejecting the null hypothesis. It represents the maximum risk of rejecting H 0 when it is actually true.

Common Values of α α = 0.05 (5%) is the most common choice in many fields. α = 0.01 (1%) is used when stronger evidence is required, such as in medical research.

The significance level must be chosen before looking at the results. Choosing α after seeing the data would let a researcher pick a threshold that favors a particular conclusion, which undermines the fairness of the test.

5. Understanding the p-value

The p-value is the probability of obtaining a result at least as extreme as the one observed, assuming that H 0 is actually true. A small p-value suggests that the observed data would be unusual if H 0 were true.

Decision Rule If p ≤ α → Reject H 0 If p > α → Fail to reject H 0

"Fail to reject H 0 " is not the same as proving H 0 is true. It simply means the sample data did not provide strong enough evidence against it. There may still be a real effect that this particular sample was too small or too variable to detect.

6. One-Tailed vs Two-Tailed Tests

The type of alternative hypothesis determines which "tail" of the distribution is used to judge significance.

Test Type Alternative Hypothesis Shape Used When

Left-Tailed H 1 : parameter < claimed value Testing for a decrease only

Right-Tailed H 1 : parameter > claimed value Testing for an increase only

Two-Tailed H 1 : parameter is not equal to claimed value Testing for any difference, in either direction

7. Type I and Type II Errors

  • Type I Error:^ Rejecting H 0 when it is actually true (a "false positive"). The probability of this error is^ α.
  • Type II Error:^ Failing to reject H 0 when it is actually false (a "false negative"). The probability of this error is written β (beta).

H 0 is Actually True H 0 is Actually False

Reject H 0 Type I Error (probability α) Correct decision

Fail to Reject H 0 Correct decision Type II Error (probability β)

  • Saying "accept H 0 " instead of the more accurate "fail to reject H 0 ."
  • Misinterpreting the p-value as "the probability that H 0 is true," when it actually measures how extreme the data is, assuming H 0 is true.
  • Choosing^ α^ after looking at the results, rather than before analyzing the data.
  • Confusing statistical significance with practical importance — a tiny effect can be "significant" in a large sample without being meaningful in real life.
  • Forgetting that a small p-value does not measure the size of an effect, only how unlikely the result would be if H 0 were true.
  • Treating a test result as final proof, when a different sample could sometimes lead to a different decision.

Study Tip Before running any test, write down H 0 , H 1 , and α first. Deciding these in advance keeps the analysis honest and makes the final conclusion much easier to write.

Quick Guide: Which Test Should I Use?

Situation Typical Test

Comparing one sample mean to a known value (large sample, known SD) Z-test

Comparing one or two sample means (SD unknown, smaller sample) t-test

Testing relationships between categorical variables Chi-square test

Comparing means across three or more groups ANOVA

11. Quick Revision Summary

Use this page as a fast reference before an exam. It brings together the essential definitions, rules, and symbols from these notes.

Term / Symbol Meaning

H 0 Null hypothesis — assumes no effect or no difference

H 1 / Ha Alternative hypothesis — claims an effect or difference exists

α (alpha) Significance level; common values are 0.05 and 0.

p-value Probability of the observed result (or more extreme), assuming H 0 is true

Decision Rule If p ≤ α, reject H 0 ; if p > α, fail to reject H 0

Type I Error Rejecting H 0 when it is true (probability = α)

Type II Error Failing to reject H 0 when it is false (probability = β)

  • The 7 steps: state hypotheses, choose^ α, select a test, calculate the test statistic, find the p-value, decide, and conclude in plain language.
  • "Fail to reject H 0 " never means H 0 has been proven true.
  • Choose^ α^ before analyzing the data, never after.
  • Match the test to the data: Z-test and t-test for means, chi-square for categorical data, ANOVA for comparing three or more group means.