Statistical Hypothesis Testing: Errors, Power, and Inference
Classified in Mathematics
Written at on English with a size of 4.3 KB.
Statistical Hypothesis Testing
1. Statistical Hypothesis
A statistical hypothesis is an assertion about a characteristic or parameter of a population. It's used to perform analysis and can be either rejected or accepted based on the provided information. There are two types of hypotheses:
- Null Hypothesis (H0): Represents the status quo or the default assumption.
- Alternative Hypothesis (H1): Represents the claim or the hypothesis we want to test.
Both H0 and H1 can be simple (if the parameter has only one value) or compound (if the parameter can take multiple values).
2. Significance Level (α)
The significance level is the probability of making a Type I error (rejecting H0 when it's actually true). It represents the level of risk we're willing to accept in our analysis. It's often expressed as a percentage (e.g., 5%).
3. Type I Error
A Type I error occurs when we reject the null hypothesis when it's actually true. The probability of a Type I error is denoted by α.
4. Type II Error (β)
A Type II error occurs when we fail to reject the null hypothesis when it's actually false. The probability of a Type II error is denoted by β.
5. Power of a Contrast (1-β)
The power of a contrast is the probability of correctly rejecting the null hypothesis when it's false. It's calculated as 1-β.
6. Statistic
A statistic is any value calculated from a sample.
7. Acceptance Region
The acceptance region is the range of possible values of the test statistic that lead to the acceptance of the null hypothesis.
8. Critical Region
The critical region is the range of possible values of the test statistic that lead to the rejection of the null hypothesis. It contains the values that are considered unlikely if the null hypothesis were true.
9. Confidence Level
The confidence level is the probability that a confidence interval contains the true population parameter.
10. Statistical Inference
Statistical inference is the process of drawing conclusions about a population based on a sample.
11. Optimal Critical Region (Newman-Pearson Theorem)
The Newman-Pearson theorem helps find an optimal critical region that maximizes the power of the test for a given significance level. It requires the following conditions:
- H0 and H1 must be simple hypotheses.
- We need a sample of size n.
- We set a significance level α.
- L0 is the maximum likelihood function under H0.
- L1 is the maximum likelihood function under H1.
- L0/L1 ≤ k, where k is a positive constant.
12. Relationship Between Type I and Type II Errors
- β is not complementary to α. The complement of α is 1-α.
- For a given sample size, if α decreases, β increases, and vice versa. The probabilities of Type I and Type II errors are inversely related.
- α and β are not independent of the sample size. They depend on the effect size, the sample size, and the significance level.
13. Stages of a Hypothesis Test
- Define the null and alternative hypotheses.
- Choose a significance level.
- Calculate the test statistic.
- Determine whether to reject or accept the null hypothesis based on the test statistic and the critical region.
14. Uniformly Most Powerful Region
A uniformly most powerful (UMP) region is similar to the optimal critical region obtained by the Newman-Pearson theorem but works for any parameter value in the alternative hypothesis, as long as it's one-sided.
15. Likelihood Ratio Test
The likelihood ratio test is used when the Newman-Pearson theorem cannot be applied (e.g., when H0 and H1 are compound hypotheses). It has the following characteristics:
- It's a general procedure.
- It agrees with the Newman-Pearson theorem in the case of simple hypotheses.
- It doesn't guarantee obtaining the optimal test.
- It has good properties in large samples (n ≥ 30).
- It's based on the ratio of likelihood functions.