Hypothesis Notes (m4)
Hypothesis Notes (m4)
1. Z-Test
Purpose: Tests the difference between means when the sample size is large, and population
variance is known.
Applications:
o One-sample Z-test: Compare the sample mean to a known population mean.
o Two-sample Z-test: Compare the means of two independent groups.
o Z-test for proportions: Compare population proportions.
Example: Testing if the average height of a group of students differs from the national
average when the population variance is known.
2. T-Test
Purpose: Tests the difference between means when the sample size is small, and the
population variance is unknown.
Types:
1. One-Sample T-Test: Compare a sample mean to a known population mean.
2. Independent T-Test: Compare means of two independent groups.
3. Paired T-Test: Compare means of the same group at two different times.
Example: Testing if a new drug improves patient recovery times compared to an existing
drug.
3. Chi-Square Test
4.F-Test
Z-Test
The Z-test is a statistical test used to determine if there is a significant difference between
sample data and the population, or between two samples, when:
Steps in Z-Test:
1. Formulate Hypotheses:
o Null Hypothesis (H0H_0H0): Assumes no difference or effect.
o Alternative Hypothesis (H1H_1H1): Assumes a difference or effect exists.
2. Calculate the Z-Statistic:
z=(x̄ −μ)/(σ/√n)
where:
Objective: Determine if the average height of students in the class differs significantly from
the national average (e.g., 5.5 feet).
Steps:
T-Test
The T-test is used when:
Types of T-Tests:
Steps:
1. Take a small group of students (e.g., n=15) and measure their test scores before and after
using the new teaching method.
2. Calculate the mean scores for "before" and "after."
3. Compute the standard deviation of the differences between the two sets of scores.
4. Use the paired T-test formula to calculate the T-statistic:
T = ¯d /sd/√n.
Scenario:
Hypothesis: A company claims that its battery lasts an average of 100 hours. You test 50
batteries and find an average lifespan of 98 hours, with a known population standard
deviation of 4 hours.
Soltion : You perform a Z-test to determine if the average battery life is significantly
less than claimed.
Hypothesis: A teacher wants to know if a new teaching method improves student scores.
She tests 10 students before and after using the method.
Use Case: Large or small sample size, hypothesis can be one-sided or two-sided.
Example: Testing if the average height of students differs from the national average,
given the population variance.
Use Case: Large or small sample size, hypothesis can be one-sided or two-sided.
Formula:
Example: Testing if the mean score of a limited group of students (e.g., from a single
class) differs from the expected average.
Use Case: Small sample size (n<30), hypothesis can be one-sided or two-sided.
Example: Testing if a new teaching method improves scores in a small class.
4. Population Normal, Finite, Small Sample, Variance Unknown (T-Test with Finite
Population Multiplier)
Use Case: Small sample size, finite population, hypothesis can be one-sided or two-
sided.
Formula:
Example: Comparing the test scores of a small, finite group (e.g., 20 students in a
class of 25).
Use Case: Large sample size (n>30n > 30n>30), variance may be known or unknown,
hypothesis can be one-sided or two-sided.
Formula:
Example: Testing if the mean weight of a large group of individuals (not normally
distributed) is equal to a specified value.
Notes:
2. Finite Population Multiplier: Used when the population is finite to adjust for
sampling proportion.
3. Degrees of Freedom (d.f.): For T-tests, d.f.=n−1d.f. = n - 1d.f.=n−1.
Scenario:
A factory produces light bulbs, and the average lifespan of the bulbs is claimed to be 800
hours. A quality control team selects a random sample of 25 bulbs and finds the sample
mean lifespan to be 790 hours with a sample standard deviation of 20 hours. The team
wants to test if the actual mean lifespan is less than the claimed 800 hours, at a significance
level of 5% (α=0.05).
Steps:
Population Variance Unknown: Use a T-Test since the sample size (n=25) is small
(<30), and the population variance is not provided.
6. Decision Rule:
If the calculated t-value is less than the critical t-value (−2.5<−1.711), reject H0.
7. Conclusion:
Since −2.5<−1.711, the null hypothesis is rejected. There is evidence to suggest that the mean
lifespan of the light bulbs is less than 800 hours.
A t-table (also called the Student's t-distribution table) is a statistical table used to determine
the critical t-values for hypothesis testing when the sample size is small and/or the population
standard deviation is unknown
The t-table provides the critical values of the t-statistic that corresponds to specific degrees
of freedom (d.f.) and a chosen significance level (α\alphaα). These values help determine
whether the calculated t-statistic is significant or not when comparing the observed sample
statistic to the population parameter.
One-Tailed Test and Two-Tailed Test are concepts in hypothesis testing, used to determine the
significance of statistical results.
A one-tailed test is used when the research hypothesis predicts the direction of the effect or
relationship.
It tests whether a sample statistic is greater than or less than a hypothesized value.
Example:
A company claims that a new drug increases sleep duration. A one-tailed test would evaluate
Two-Tailed Test
A two-tailed test is used when the research hypothesis does not predict the direction of the
effect, only that there is an effect.
A company claims a new teaching method changes student performance. A two-tailed test
would evaluate:
One-Tailed Test: Used when you are testing for an effect in one specific direction (less
or greater).
Two-Tailed Test: Used when you are testing for a difference in either direction.
Left-Tailed Test: A specific case of a one-tailed test where you test for less than.
Right-Tailed Test: A specific case of a one-tailed test where you test for greater than.