unit 3 foundations for inference lecture 3 decision
play

Unit 3: Foundations for inference Lecture 3: Decision errors, - PowerPoint PPT Presentation

Unit 3: Foundations for inference Lecture 3: Decision errors, significance levels, sample size, power, and bootstrapping Statistics 101 Thomas Leininger June 3, 2013 Decision errors Decision errors 1 Type 1 and Type 2 errors Error rates


  1. Unit 3: Foundations for inference Lecture 3: Decision errors, significance levels, sample size, power, and bootstrapping Statistics 101 Thomas Leininger June 3, 2013

  2. Decision errors Decision errors 1 Type 1 and Type 2 errors Error rates & power Power Bootstrapping 2 Randomization testing 3 Statistics 101 U3 - L4: Decision errors, significance levels, sample size, and power Thomas Leininger

  3. Decision errors Type 1 and Type 2 errors Decision errors 1 Type 1 and Type 2 errors Error rates & power Power Bootstrapping 2 Randomization testing 3 Statistics 101 U3 - L4: Decision errors, significance levels, sample size, and power Thomas Leininger

  4. Decision errors Type 1 and Type 2 errors Decision errors Hypothesis tests are not flawless. In the court system innocent people are sometimes wrongly convicted and the guilty sometimes walk free. Similarly, we can make a wrong decision in statistical hypothesis tests as well. The difference is that we have the tools necessary to quantify how often we make errors in statistics. Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 2 / 23

  5. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  6. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Decision fail to reject H 0 reject H 0 H 0 true Truth H A true Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  7. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Decision fail to reject H 0 reject H 0 H 0 true � Truth H A true Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  8. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Decision fail to reject H 0 reject H 0 H 0 true � Truth H A true � Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  9. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Decision fail to reject H 0 reject H 0 H 0 true � Type 1 Error Truth H A true � A Type 1 Error is rejecting the null hypothesis when H 0 is true. Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  10. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Decision fail to reject H 0 reject H 0 H 0 true � Type 1 Error Truth H A true Type 2 Error � A Type 1 Error is rejecting the null hypothesis when H 0 is true. A Type 2 Error is failing to reject the null hypothesis when H A is true. Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  11. Decision errors Type 1 and Type 2 errors Decision errors (cont.) There are two competing hypotheses: the null and the alternative. In a hypothesis test, we make a decision about which might be true, but our choice might be incorrect. Decision fail to reject H 0 reject H 0 H 0 true � Type 1 Error Truth H A true Type 2 Error � A Type 1 Error is rejecting the null hypothesis when H 0 is true. A Type 2 Error is failing to reject the null hypothesis when H A is true. We (almost) never know if H 0 or H A is true, but we need to consider all possibilities. Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 3 / 23

  12. Decision errors Type 1 and Type 2 errors Hypothesis Test as a trial If we again think of a hypothesis test as a criminal trial then it makes sense to frame the verdict in terms of the null and alternative hypotheses: H 0 : Defendant is innocent H A : Defendant is guilty Which type of error is being committed in the following cirumstances? Declaring the defendant innocent when they are actually guilty Declaring the defendant guilty when they are actually innocent Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 4 / 23

  13. Decision errors Type 1 and Type 2 errors Hypothesis Test as a trial If we again think of a hypothesis test as a criminal trial then it makes sense to frame the verdict in terms of the null and alternative hypotheses: H 0 : Defendant is innocent H A : Defendant is guilty Which type of error is being committed in the following cirumstances? Declaring the defendant innocent when they are actually guilty Type 2 error Declaring the defendant guilty when they are actually innocent Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 4 / 23

  14. Decision errors Type 1 and Type 2 errors Hypothesis Test as a trial If we again think of a hypothesis test as a criminal trial then it makes sense to frame the verdict in terms of the null and alternative hypotheses: H 0 : Defendant is innocent H A : Defendant is guilty Which type of error is being committed in the following cirumstances? Declaring the defendant innocent when they are actually guilty Type 2 error Declaring the defendant guilty when they are actually innocent Type 1 error Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 4 / 23

  15. Decision errors Type 1 and Type 2 errors Hypothesis Test as a trial If we again think of a hypothesis test as a criminal trial then it makes sense to frame the verdict in terms of the null and alternative hypotheses: H 0 : Defendant is innocent H A : Defendant is guilty Which type of error is being committed in the following cirumstances? Declaring the defendant innocent when they are actually guilty Type 2 error Declaring the defendant guilty when they are actually innocent Type 1 error Which error do you think is the worse error to make? Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 4 / 23

  16. Decision errors Type 1 and Type 2 errors Hypothesis Test as a trial If we again think of a hypothesis test as a criminal trial then it makes sense to frame the verdict in terms of the null and alternative hypotheses: H 0 : Defendant is innocent H A : Defendant is guilty Which type of error is being committed in the following cirumstances? Declaring the defendant innocent when they are actually guilty Type 2 error Declaring the defendant guilty when they are actually innocent Type 1 error Which error do you think is the worse error to make? “better that ten guilty persons escape than that one innocent suffer” – William Blackstone Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 4 / 23

  17. Decision errors Error rates & power Decision errors 1 Type 1 and Type 2 errors Error rates & power Power Bootstrapping 2 Randomization testing 3 Statistics 101 U3 - L4: Decision errors, significance levels, sample size, and power Thomas Leininger

  18. Decision errors Error rates & power Type 1 error rate As a general rule we reject H 0 when the p-value is less than 0.05, i.e. we use a significance level of 0.05, α = 0 . 05 . Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 5 / 23

  19. Decision errors Error rates & power Type 1 error rate As a general rule we reject H 0 when the p-value is less than 0.05, i.e. we use a significance level of 0.05, α = 0 . 05 . This means that, for those cases where H 0 is actually true, we do not want to incorrectly reject it more than 5% of those times. Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 5 / 23

  20. Decision errors Error rates & power Type 1 error rate As a general rule we reject H 0 when the p-value is less than 0.05, i.e. we use a significance level of 0.05, α = 0 . 05 . This means that, for those cases where H 0 is actually true, we do not want to incorrectly reject it more than 5% of those times. In other words, when using a 5% significance level there is about 5% chance of making a Type 1 error. P ( Type 1 error ) = α Statistics 101 (Thomas Leininger) U3 - L4: Decision errors, significance levels, sample size, and power June 3, 2013 5 / 23

Recommend


More recommend