1 / 20

Inference as Design Target Goal: I can calculate and interpret a type I and type II error.

Inference as Design Target Goal: I can calculate and interpret a type I and type II error. 9.1c h.w: pg 547: 15, 19, 21. We use the results of a significance test to make a decision.

hans
Télécharger la présentation

Inference as Design Target Goal: I can calculate and interpret a type I and type II error.

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. Inference as DesignTarget Goal:I can calculate and interpret a type I and type II error. 9.1ch.w: pg 547: 15, 19, 21

  2. We use the results of a significance test to make a decision. • We measure evidence by the P-value, which is the probability computed under the assumption that Ho is true. • Then we either reject the null hypothesis in favor of the alternative hypothesis, or we accept the null hypothesis. • This is called acceptance sampling. (Hand draw curve with detail as a class.)

  3. Accept H0 (Fail to Reject H0) Reject H0 p value H0

  4. We hope that our decision will be correct, but it is possible that we make the wrong decision. There are two ways to make a wrong decision: Reading is fun!

  5. We can reject the null hypothesis when in fact it is true. This is called a Type I Error. • We can accept (fail to reject) the null hypothesis when in fact it is false (Ha is true). This is called a Type II Error. Reading is fun!

  6. We are interested in knowing the probability of making a Type I Error and the probability of making a Type II Error. • Failing to reject Ho means deciding that Ho is true.

  7. A Type I Error occurs if we reject the null hypothesis when it is in fact true. When do we reject the null hypothesis? When we assume that it is true and find that the statistic of interestfalls in the rejection region. The probability that the statistic falls in the rejection region is the area of the shaded region, or α.

  8. Therefore the probability of a Type I Error is equal tothe significance level α of a fixed level test. (The probability that the test will reject the null hypothesis H0 when in fact H0 is true, is α.) Accept H0 (Fail to Reject H0) Reject H0 a H0

  9. Ex : Are these Potato Chips too Salty? • Inspector will reject entire batch if sample mean salt content differs from 2mg at the 5% significance level. Ho: μ = 2 mean salt content is 2 mg Ha: μ ≠ 2 mean salt content differs from 2mg

  10. The company statistician computes the z statistic: • and rejects Ho if z < -1.96 or z > 1.96 (based on two sided, .025 each tail, 5% sig level) [invnorm(.975) = 1.96] (2 tails: .025 each)

  11. A Type I error is if we reject Ho when in fact Ho: μ = 2. • The potato chip company decides to reject any batch with a mean salt content as far away from 2 as 2.05.

  12. A Type II error is to accept Ho when in fact μ = 2.05. • A Type II Error occurs if we accept (or fail to reject) the null hypothesis when it is in fact false. • When do we accept (or fail to reject) the null hypothesis? When we assume that it is true and find that the statistic of interest falls outside the rejection region.

  13. However, the probability that the statistic falls outside the rejection region is NOT the area of the unshaded region. • Think about it… If the null hypothesis is in fact false, then the picture is NOT CORRECT… it is off center.

  14. To calculate the probability of a Type II Error, we must find the probability that the statistic falls outside the rejection region (the unshaded area) given that themean is some other specified value (shifted graph).

  15. Acceptance Region:H0 : Rejection Region: H0 b a H0 Ha

  16. Ex: Calculating Type II Error Step 1:Write the rule for accepting Ho in terms of . The test accepts Ho when ≤ ≤ ≤ ≤ Solve for x bar. Reading is fun! Now we need to find the Type II the endpoints with the alternative value!

  17. Step 2:Find the probability of acceptingHoassuming that the alternativeis true. Take μ = 2.05 and standardize. P(Type II error) = • Use table or, normcdf(-5.49,-1.58) = 0.0571 (note: this only captures the type II range)

  18. Step 3: Interpret the results. • The probability of 0.0571 tells us that this test will lead us to fail to reject Ho: μ = 2 in about 6% of all batches of chips with μ = 2.05. • In other words, we will accept 6% of batches of potato chips so bad that their mean salt content is 2.05 mg.

  19. Since we used α = 0.05, the probability of a Type I error is 0.05. • This means that we will reject 5% of all good batches of chips for which μ = 2.

  20. Read 538 - 540 I N G Is ?????

More Related