1 / 43

ERRORS: TYPE 1 ( a ) TYPE 2 ( b ) & POWER

ERRORS: TYPE 1 ( a ) TYPE 2 ( b ) & POWER. Federal funds are to be allocated for financial aid to students for the cost of books. It is believe the mean cost of books to a college student is $300. We are concerned that it is really higher. So what do we do? We perform a hypothesis test.

calum
Download Presentation

ERRORS: TYPE 1 ( a ) TYPE 2 ( b ) & POWER

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ERRORS: TYPE 1 (a) TYPE 2 (b) & POWER

  2. Federal funds are to be allocated for financial aid to students for the cost of books. It is believe the mean cost of books to a college student is $300. We are concerned that it is really higher. So what do we do? We perform a hypothesis test. • Ho: μ = 300 the mean cost of books is $300 • Ha: μ > 300 the mean cost of books is > $300 m = 300

  3. m = 300 Is the p-value < .01 ? =325 If the true mean is really higher then we will not be giving the students enough money to purchase books. So we take a random sample of 36 students who purchased books and the sample test data we collected has = 325 s = 72 Let  = .01

  4. m = 300 p-value = .0186 =325 Lets assume the null is correct µ = 300 and the sample test data we collected of = 325 s = 72gives a p-value = .0186 Let  = .01. So what do we do?

  5. m = 300 p-value = .0186 = 325 Since the p- value = .0186 not <a = .01, we do not reject the null. a = .01 We can not say the mean cost of books is higher than $300

  6. True mean m = 335 p-value = .2023 =325 But, if null is wrong and the true mean is µ = $335 then the real p-value for = 325 is .2023. P-value for m = 335 is

  7. m = 335 b p-value = = If null is wrong and the true mean is really µ = $335 So what is the probability to make a wrong decision? The red region below is known as β the probability of a type 2 error which depends on a

  8. = ? So by overlapping the two graphs we can see what to do. We need to find the data value that corresponds to the alpha = .01 the significance level. m = 335 Ho:m = 300 Sig. level a = .01 p-value = ? b

  9. = 328 The z score for alpha of .01 is 2.33 Solving this equation for we get a value of 328. m = 335 Ho:m = 300 p-value = ? b Sig. level a = .01

  10. = 328 We now need to find the p-value for 328 with the true μ = 335. This value is known as type 2 error. b So the p-value for 328 with a true mean of 335 is .28 True mean m = 335 Ho:m = 300 p-value = .28 b Sig. level = .01

  11. = 328 Below we see Alpha and Beta together. Ho:m = 300 m = 335 b p-value = .28 when m = 335 α = .01

  12. Ho:m = 300 m = 335 p-value = .72 b POWER p-value = .28 1-b =328 Now when the null is wrong then the area to the right of 328 is the probability of making the correct decision. This is called power. 1 - b

  13. m = 300 m = 335 p-value = .72 POWER 1-b =328 We really do not know what the power is because we do not know what b is until you know the true value for m.

  14. =328 Now notice if the true m is even farther to the right of 300 then power gets even bigger. m = 300 m = 350 p-value = .97 POWER 1-b

  15. = 328 m = 335 m = 300 m = 350 p-value = .97 POWER 1-b

  16. m = 300 p-value = .0186 = 325 Now if a =.05 then we would have rejected a false null Since the p- value = .0186 <a = .05, reject the null. a = .05

  17. b a Whenais small then b is big, if the null is false. So the probability of a type1 error is small, rejecting a truthful null. But the probability of making a type 2 error is big, failing to reject a false null.

  18. Truth b a Whenais big then b is smaller. So the probability of a type1 error is bigger, rejecting a truthful null. But we reduce the probability of making a type 2 error. This area is smaller, failing to reject a false null.

  19. a = ? Not knowing whether the null is true or false is what makes picking a correct alpha challenging. So you need to determine which type of error you do not want to make an then choose accordingly.

  20. a = ? If you do not want to reject a truthful null pick a small a. (Type 1 error) But you stand the chance of making a type two error. Failing to reject the null when it is false. m

  21. a = ? If you want to reject a false null, which decreases the type 2 error pick a big a. But you increase the chance of making a type one error. Rejecting the null when it is true. m

  22. a = ? So looking at our problem what is the worse error? Type 1 reject a truthful null. So we would give the students more money when we did not need to. Big alpha will do this. Type 2 error. Failing to reject a false null. Not giving the students enough money. Small alpha will do this.So you need to determine which type of error you do not want to make an then choose accordingly.

  23. A doctor thinks that a new diet will significantly increases the birth weight of babies. In 2002, the birth weight of full term babies were normally distributed with a mean of 7.53 pounds and a standard deviation of 1.15 pounds. The doctor randomly selects 50 recently pregnant mothers and persuades them to partake in the new diet. The mean weigh from these 50 babies 7.79 pounds. Is there sufficient evidence to support the claim the new diet will increase the birth weights of newborns? The significance level is 0.05. • Write the null and alternative: • Describe a type 1 and type 2 error. • What is the probability for a type 1 error. • We can not determine the probability of a type 2 error with out knowing the truth.

  24. If the true weight was 8lbs, what is the probability of the type 2 error?

  25. Go to Notebook

  26. We are done

  27. ERRORS: TYPE 1 () TYPE 2 () & POWER

  28. 1.578 m = 1.5 a

  29. 1.578 m = 1.6 b

  30. 1.578 m = 1.6 m = 1.5

  31. 1.578 m = 1.6 m = 1.5 Power

  32. 1.578 m = 1.5 Power

  33. 1.578 m = 1.6 m = 1.5 Power

  34. 1.578 m = 1.5 p-value = .01

  35. 1.578 m = 1.6 b p-value = .255

  36. 1.578 m = 1.5 m = 1.6 b p-value = .01 p-value = .255

  37. 1.578 m = 1.5 m = 1.6 p-value = .745 b POWER p-value = .255 1-b

  38. 1.578 m = 1.5 m = 1.6 p-value = .745 POWER 1-b

  39. 1.578 m = 1.5 m = 1.65 p-value = .985 POWER 1-b

  40. 1.578 m = 1.6 m = 1.5 m = 1.65 p-value = .985 POWER 1-b

More Related