ch 11 Hypothesis Testing
Chapter 11: Hypothesis Testing
1. Introduction
Hypothesis Testing: Evaluates claims about population parameters based on sample statistics.
Objective: Determine if observed sample data significantly differs from the claimed population parameter, leading to a decision to reject or not reject the null hypothesis.
Key Concept: Unlike confidence intervals, hypothesis testing doesn’t prove claims but assesses them against a threshold of evidence, known as the significance level.
2. The Rationale Behind Hypothesis Testing
Definition of a Hypothesis: A claim or assumption about a population parameter.
Two Hypotheses:
Null Hypothesis (H₀): The claim to be tested, stating no effect or no difference (e.g., population mean is equal to a specific value).
Alternative Hypothesis (H₁ or Ha): The opposite of H₀, indicating a potential effect or difference.
2.1 Null and Alternative Hypotheses
Example of H₀: For population mean μ, a null hypothesis could be stated as H₀: μ = μ₀, where μ₀ represents the claimed mean.
Properties of Null Hypothesis:
Represents the status quo.
Always contains an equality sign (=).
Cannot be proven true, only not rejected.
Alternative Hypothesis H₁: Opposes H₀ and includes inequality signs (#, >, <).
2.2 Types of Hypothesis Test
Three types of tests based on H₁:
Two-tailed: H₁: μ # μ₀
Lower one-tailed: H₁: μ < μ₀
Upper one-tailed: H₁: μ > μ₀
Example:
Manufacturer claims battery lasts 4 hours: H₀: μ = 4; H₁: μ # 4 (two-tailed).
2.3 Level of Significance and Errors
Significance Level (α): Probability of rejecting a true null hypothesis, commonly set at 0.01, 0.05, or 0.10.
Errors:
Type I Error: Rejecting a true null hypothesis (probability α).
Type II Error (β): Failing to reject a false null hypothesis.
Power of the Test: Probability of correctly rejecting a false null hypothesis (B = 1 - β).
3. Hypothesis Testing Methodology
Steps in Hypothesis Testing:
State H₀ and H₁
Choose α (significance level)
Determine the statistical technique and test statistic
Find critical value(s) or p-value
Make a statistical decision: Reject H₀ or Do Not Reject H₀
Interpret the decision in context
3.1 The Critical Value Approach
Critical Value(s): Points that separate rejection from non-rejection regions.
Rejection Region: Values that lead to rejection of the null hypothesis.
Non-rejection Region: Values that do not lead to rejection.
4. z-test for Population Mean μ (σ known)
Test Statistic Formula:
Procedure Using Critical Value Approach:
Set null and alternative hypotheses.
Choose significance level.
Calculate z-test statistic from sample data.
Determine critical values based on z-tables.
Compare test statistic with critical values for decision.
Provide conclusion.
5. t-test for Population Mean μ (σ unknown)
Use when the population standard deviation is unknown and the sample size is small.
Test Statistic Formula:
Procedure: Similar steps as with the z-test but use t-distribution for critical values.
6. z-test for Population Proportion
Used for outcomes categorized as success or failure.
Test Statistic Formula:
7. Parametric vs. Non-Parametric Tests
Parametric Tests: Require assumptions regarding the population distribution (e.g., z-test, t-test).
Non-Parametric Tests: Do not require such assumptions (e.g., Chi-Square tests).
8. Goodness-of-Fit Test
Evaluates if observed data matches expected data based on a specific distribution.
Chi-Square Test:
Typical use for categorical data.
Test Statistic Formula: