Hypothesis Testing Framework
Hypothesis testing provides a formal framework for making decisions about population parameters based on sample data, controlling the probability of erroneous conclusions.
Basic Concepts
Definition
A hypothesis test involves:
- Null hypothesis : the default assumption (e.g., )
- Alternative hypothesis (or ): the claim to be supported (e.g., , , or )
- Test statistic : a function of the data
- Rejection region : the set of values of that lead to rejecting
Definition
The two types of errors are:
- Type I error: Rejecting when it is true. The probability is the significance level.
- Type II error: Failing to reject when it is false. The probability .
- Power: measures the ability to detect a true effect.
The Testing Procedure
ExampleZ-test for the mean
Test vs. with known at level :
- Test statistic:
- Under :
- Rejection region:
For : reject if . The type II error depends on the true : .
P-Values
RemarkP-value interpretation
The -value is the probability, under , of observing a test statistic as extreme as or more extreme than the one actually observed. We reject when . The -value quantifies the strength of evidence against : smaller means stronger evidence. However, the -value is NOT the probability that is true, a common misinterpretation.