0% found this document useful (0 votes)
10 views2 pages

Understanding Hypothesis Testing Basics

Notes on alternative and null hypothesis

Uploaded by

22101740
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Understanding Hypothesis Testing Basics

Notes on alternative and null hypothesis

Uploaded by

22101740
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

​Hypothesis Testing​

-​ A method of making statistical decisions using experimental data​


​Used to test assumptions (claims) about a population parameter based on sample data​

​ ull Hypothesis (H₀)​


N
​-​ ​Represents the default or status quo assumption​
​-​ ​Assumes no effect, no difference, or no relationship between variables​
​-​ ​Always contains equality ( =, ≥, ≤ )​
​Purpose:​​to test whether there's enough evidence​​against​​it​
​Examples:​
​●​ ​H₀: μ = 50 (the population mean is 50)​
​●​ ​H₀: p ≥ 0.7 (the population proportion is at least 70%)​
​Note: If evidence is strong, we reject H₀​

​ lternative Hypothesis (H₁ or Ha)​


A
​-​ ​Represents what you aim to support or prove​
​-​ ​Indicates the presence of an effect, difference, or relationship​
​-​ ​Always contains inequality ( ≠, >, < )​
​Purpose:​​proposed if H₀ is rejected​
​Examples:​
​●​ ​H₁: μ ≠ 50 (the mean is not 50)​
​●​ ​H₁: p < 0.7 (the proportion is less than 70%)​
​Note: Direction depends on research​
​question​
​●​ ​One-tailed: H₁ uses < or >​

​●​ ​Two-tailed: H₁ uses ≠​

​Steps in Hypothesis Testing​


​ .​
1 ​ tate H₀ and H₁​
S
​2.​ ​Choose a significance level (α, usually 0.05)​
​3.​ ​Collect and analyze sample data​
​4.​ ​Compute test statistic (e.g., z, t)​
​5.​ ​Compare with critical value or use p-value​
​6.​ ​Make a decision:​
​○​ ​If p-value ≤ α →​​Reject H₀​
​○​ ​If p-value > α →​​Fail to reject H₀​

​ ype I and Type II Errors​


T
​-​ ​Types of incorrect decisions that may occur in hypothesis testing​
​-​ ​Related to the truth or falsity of the null hypothesis (H₀) and what decision is made based on the​
​data​

​ ype I Error (α)​


T
-​ ​ ​Occurs when we reject the null hypothesis (H₀) even though it is actually true​
​-​ ​Also called a false positive​
​-​ ​We detect an effect that isn’t really there​

​Example:​
​-​ ​A person is diagnosed with a disease (reject H₀) but is actually healthy (H₀ is true)​
​Controlled by: Significance level (α)​
​– Common value: α = 0.05​

​Type II Error (β)​


-​ ​ ​ ccurs when we fail to reject the null hypothesis (H₀) even though it is actually false​
O
​-​ ​Also called a false negative​
​-​ ​We fail to detect an effect that is really there​
​Example:​
​-​ ​A person is told they’re healthy (fail to reject H₀) but actually has the disease (H₀ is false)​
​Related to: Power of the test​
​– Power = 1 - β​

​Error Summary Table​


​ ecision Made​
D
​– H₀ is True → Type I Error (α)​
​– H₀ is False → Type II Error (β)​
​– Reject H₀ → may lead to Type I Error if H₀ is true​
​– Fail to Reject H₀ → may lead to Type II Error if H₀ is false​

​ egend:​
L
​– H₀ = Null Hypothesis​
​– α = Probability of Type I Error​
​– β = Probability of Type II Error​
​– Power = Probability of detecting a true effect (1 − β)​
​Note:​
​– Lowering α reduces Type I errors but increases the chance of Type II errors​
​– Increasing sample size helps reduce both errors​

Common questions

Powered by AI

The significance level (α) directly controls the probability of making a Type I error; a lower α reduces this probability . However, lowering α also increases the chance of a Type II error, as it makes the test more stringent and reduces its power to detect true effects .

Balancing the significance level (α) is crucial because it determines the likelihood of committing a Type I error, rejecting a true null hypothesis . If α is too lenient, there is a higher risk of false positives; if too stringent, it reduces the test's power, increasing Type II errors . Proper balance is essential for valid decision-making in statistical inference .

Key steps in hypothesis testing include stating the null and alternative hypotheses, choosing a significance level (α), collecting and analyzing sample data, computing the test statistic, comparing it with critical values or using the p-value, and making a decision based on the p-value relative to α .

The alternative hypothesis (H₁ or Ha) represents the assumption researchers aim to support, indicating the presence of an effect, difference, or relationship . It contrasts with the null hypothesis (H₀), which denotes the status quo assumption, indicating no effect or difference . H₁ typically involves inequalities, opposed to the equality represented in H₀ .

The direction of the alternative hypothesis determines whether a one-tailed or two-tailed test is used. A directional hypothesis leads to a one-tailed test, assessing the effect in a specific direction (< or >), while a non-directional (two-tailed) hypothesis tests for any difference from the null hypothesis, using ≠ . This choice affects the distribution of the significance level across potential outcomes .

To minimize both Type I and Type II errors, researchers can increase the sample size . Larger samples provide more information, thus reducing the variability and improving the test's ability to accurately distinguish between true and false effects .

Increasing sample size enhances the power of a test, or its ability to detect true effects (1 - β), by reducing variability in estimates, making it more sensitive to detecting true effects . A larger sample size reduces the chance of both Type I and Type II errors by providing clearer evidence regarding hypothesis decisions .

Type I error occurs when the null hypothesis (H₀) is rejected despite being true, known as a false positive . Type II error happens when we fail to reject H₀ even though it is false, known as a false negative . The decision relates to these errors as rejecting H₀ when true leads to Type I error, while not rejecting H₀ when false leads to Type II error .

A one-tailed test, using < or >, is more powerful for detecting an effect in one direction, as it allocates all the significance level to one end of the distribution, increasing its potential to detect true effects in that direction . A two-tailed test, using ≠, is more conservative, testing for effects in both directions and thus requiring stronger evidence to reach significance, as it splits the significance level between both tails .

The p-value measures the probability of obtaining a test statistic as extreme as the one observed, under the assumption that the null hypothesis (H₀) is true . A p-value less than or equal to the significance level (α) leads to rejecting H₀, implying sufficient evidence against the null hypothesis . It shows how well the sample data supports H₀ .

You might also like