350 likes | 360 Views
Hypothesis testing is used to make decisions concerning the value of a parameter. Null Hypothesis: H 0. a working hypothesis about the population parameter in question. The value specified in the null hypothesis is often:. a historical value a claim a production specification.
E N D
Hypothesis testing is used to make decisions concerning the value of a parameter.
Null Hypothesis: H0 a working hypothesis about the population parameter in question
The value specified in the null hypothesis is often: • a historical value • a claim • a production specification
Alternate Hypothesis: H1 any hypothesis that differs from the null hypothesis
An alternate hypothesis is constructed in such a way that it is the one to be accepted when the null hypothesis must be rejected.
A manufacturer claims that their light bulbs burn for an average of 1000 hours. We have reason to believe that the bulbs do not last that long. Determine the null and alternate hypotheses.
A manufacturer claims that their light bulbs burn for an average of 1000 hours. ... The null hypothesis (the claim) is that the true average life is 1000 hours. H0: = 1000
… A manufacturer claims that their light bulbs burn for an average of 1000 hours. We have reason to believe that the bulbs do not last that long. ... If we reject the manufacturer’s claim, we must accept the alternate hypothesis that the light bulbs do not last as long as 1000 hours. H1: < 1000
Type I Error rejecting a null hypothesis which is, in fact, true
Type II Error not rejecting a null hypothesis which is, in fact, false
Options in Hypothesis Testing Our Choices: H0 is
Errors in Hypothesis Testing Our Choices: Type I error H0 is
Errors in Hypothesis Testing Our Choices: Type I error H0 is Type II error
Errors in Hypothesis Testing Our Choices: Correct decision Type I error H0 is Correct decision Type II error
Level of Significance, Alpha () the probability with which we are willing to risk a type I error
Type II Error = beta =probability of a type II error (failing to reject a false hypothesis) A small is normally is associated with a (relatively) large , and vice-versa. Choices should be made according to which error is more serious.
Power of the Test = 1 – Beta • The probability of rejecting H0 when it is in fact false = 1 – . • The power of the test increases as the level of significance () increases. • Using a larger value of alpha increases the power of the test but also increases the probability of rejecting a true hypothesis.
Reject or ... • When the sample evidence is not strong enough to justify rejection of the null hypothesis, we fail to reject the null hypothesis. • Use of the term“accept the null hypothesis” should be avoided. • When the null hypothesis cannot be rejected, a confidence interval is frequently used to give a range of possible values for the parameter.
Fail to Reject H0 There is not enough evidence to reject H0. The null hypothesis is retained but has not been proven.
Reject H0 There is enough evidence to reject H0. Choose the alternate hypothesis with the understanding that it has not been proven.
A fast food restaurant indicated that the average age of its job applicants is fifteen years. We suspect that the true age is lower than 15. We wish to test the claim with a level of significance of = 0.01,
… average age of its job applicants is fifteen years. We suspect that the true age is lower than 15. H0: = 15 H1: < 15 Describe Type I and Type II errors.
H0: = 15 H1: < 15 = 0.01 A type I error would occur if we rejected the claim that the mean age was 15, when in fact the mean age was 15 (or higher). The probability of committing such an error is as much as 1%.
H0: = 15 H1: < 15 = 0.01 A type II error would occur if we failed to reject the claim that the mean age was 15, when in fact the mean age was lower than 15. The probability of committing such an error is called beta.
Types of Tests • When the alternate hypothesis contains the “not equal to” symbol ( ), perform a two-tailed test. • When the alternate hypothesis contains the “greater than” symbol ( > ), perform a right-tailed test. • When the alternate hypothesis contains the “less than” symbol ( < ), perform a left-tailed test.
Two-Tailed Test H0: = k H1: k
Two-Tailed Test H0: = k H1: k If test statistic is at or near the claimed mean, we do not reject the Null Hypothesis – z 0 z If test statistic is in either tail - the critical region - of the distribution, we reject the Null Hypothesis.
Right-Tailed Test H0: = k H1: > k
Right-Tailed Test H0: = k H1: > k If test statistic is at, near, or below the claimed mean, we do not reject the Null Hypothesis 0 z If test statistic is in the right tail - the critical region - of the distribution, we reject the Null Hypothesis.
Left-Tailed Test H0: = k H1: < k If test statistic is at, near, or above the claimed mean, we do not reject the Null Hypothesis z 0 If test statistic is in the left tail - the critical region - of the distribution, we reject the Null Hypothesis.