Hypothesis Testing: One population Flashcards
What is type 1 error? (alpha)
The error that H0 is rejected when H0 is actually true.
What is type 2 error? (beta)
The error that H0 has failed to be rejected when H0 is actually false.
How do you calculate the significance level of a type 1 error when mean and variance is known? (a < X < b)
Use Z statistic.
error = P(X < a) + P(X > b)
(We want outside critical region area)
How can type 1 (alpha) error be reduced?
- Widening the critical region.
- Increase sample size
- -> But will increase type 2 error.
How do you calculate the significance level of a type 2 error when mean and variance is known? (a < X < b)
Test for 95% significance alpha/2 = 0.025 z1 = 1.96 z2 = -1.96 Use Z statistic to find X values. Use true mean for z3 and z4. beta = P(X < b) - P(X < a) (We want the critical region area)
What is the P-value?
Smallest level of significance that would lead to rejection of the null hypothesis. (Same as alpha type 1 error).
What statistical test is used when mean and variance are both known?
Z statistic
What statistical test is used when mean is known but variance is unknown?
T statistic.
How do you calculate the P value for a;
- 2 tailed test
- upper tailed test
- lower tailed test
- = 2(1 - P(z0))
- = 1 - P(z0)
- = P(z0)
What statistical test is used when only variance is known?
Chi-squared test.
What bounds does the P value hold for rejecting or failing to reject the null hypothesis?
P < alpha, reject H0 at alpha level of significance
P > alpha, fail to reject H0