BackHypothesis Testing: Concepts, Steps, and Applications
Study Guide - Smart Notes
Tailored notes based on your materials, expanded with key definitions, examples, and context.
Hypothesis Testing
Introduction to Inferential Statistics
Inferential statistics involves making conclusions about a population based on sample data. Two main approaches are estimation (such as confidence intervals) and hypothesis testing.
Estimation: Provides interval estimates for population parameters (e.g., mean, proportion).
Hypothesis Testing: Assesses claims about population parameters using sample evidence and probability theory.
Estimation and Confidence Intervals
When the population mean () is unknown, we estimate it using a sample mean () and construct a confidence interval:
Confidence Interval Formula:
Example: "We are 95% confident that the population mean lies between 140kg and 150kg."
What is a Hypothesis?
Definition and Examples
A hypothesis is a statement about the value of a population parameter, developed for testing. It is specific and testable.
Examples:
The mean monthly income for system analysts is $3,625.
90% of all income tax statements are filled correctly.
The mean weight of tyres produced by Dunlop is 56kg.
What is Hypothesis Testing?
Hypothesis testing is a procedure based on sample evidence and probability theory to determine whether a hypothesis about a population parameter should be rejected or not.
Uses sample data to make probabilistic decisions about population parameters.
Forms the core of inferential statistics.
Steps in Hypothesis Testing
Overview of the Five Steps
State the null and alternative hypotheses.
Select a level of significance ().
Identify the test statistic.
Formulate the decision rule.
Take a sample and arrive at a decision.
Step 1: State the Null and Alternative Hypotheses
Null Hypothesis (): The default assumption; usually states "no effect" or "no difference." Always contains an equality (e.g., ).
Alternative Hypothesis ( or ): The research hypothesis; what the researcher aims to support. It is the opposite of and never contains an equality (e.g., ).
Examples:
: The mean strength of steel is NOT significantly different from 70 psf ().
: The mean strength of steel is significantly different from 70 psf ().
: There is NO difference in mean usable life between Eveready and X-brand batteries ().
: There is a difference in mean usable life between Eveready and X-brand batteries ().
Directional vs. Non-directional Hypotheses
Non-directional (Two-tailed):
Directional (One-tailed): or
Step 2: Select a Level of Significance ()
The level of significance () is the probability of making a Type I error (rejecting when it is true). Common values are 0.05, 0.01, or 0.10.
Example: means a 5% risk of Type I error.
Lower means stricter criteria for rejecting .
Step 3: Identify the Test Statistic
The choice of test statistic depends on the objective and data type (e.g., Z-test, t-test, ANOVA, Chi-Square, Regression).
The value of the test statistic is used to decide whether to reject .
Step 4: Formulate the Decision Rule
Determine the critical value(s) based on and the type of test (one-tailed or two-tailed).
One-tailed test: All of in one tail (e.g., for ).
Two-tailed test: split between both tails (e.g., for ).
If the test statistic falls in the rejection region, reject ; otherwise, fail to reject .
Step 5: Take a Sample and Arrive at a Decision
Collect sample data, compute the test statistic, and compare it to the critical value.
Make a decision to reject or fail to reject based on the comparison.
Types of Errors in Hypothesis Testing
Type I Error (False Positive): Rejecting when it is true. Probability is .
Type II Error (False Negative): Failing to reject when it is false. Probability is .
Consequences:
Type I Error: May lead to unnecessary actions (e.g., unnecessary medical treatment).
Type II Error: May miss a real effect (e.g., failing to diagnose a disease).
Decision | Reality: True | Reality: False |
|---|---|---|
Accept | Correct Decision | Type II Error |
Reject | Type I Error | Correct Decision |
Examples of Hypothesis Testing
Testing a Population Mean (Known )
Example: Test if the mean efficiency rating of Boeing employees is still 200 (, , ).
Test Statistic:
Compare to critical value ( for two-tailed).
Testing a Population Mean (Unknown )
Use sample standard deviation if .
Example: Credit manager tests if mean unpaid balance is more than n = 172\bar{X} = 407s = 38\alpha = 0.05$).
Test Statistic:
Compare to (one-tailed).
Testing the Difference Between Two Means
For independent samples:
Example: Test if there is a difference in average heights of adult females from two countries.
Summary Table: Types of Hypothesis Tests
Test | Parameter | Null Hypothesis | Alternative Hypothesis | Test Statistic |
|---|---|---|---|---|
One-sample Z-test | Mean () | |||
Two-sample Z-test | Means () |
Key Points to Remember
Always state hypotheses in terms of population parameters.
The null hypothesis always contains the equality sign.
Type I and Type II errors are inherent risks in hypothesis testing.
The choice of test and significance level depends on the research question and data type.
Additional info: This guide covers the fundamental steps and concepts of hypothesis testing, including error types, test statistics, and decision rules, suitable for undergraduate statistics students.