Presentation is loading. Please wait.

Presentation is loading. Please wait.

Synthesis and Review 3/26/12 Multiple Comparisons Review of Concepts Review of Methods - Prezi Essential Synthesis 3 Professor Kari Lock Morgan Duke University.

Similar presentations


Presentation on theme: "Synthesis and Review 3/26/12 Multiple Comparisons Review of Concepts Review of Methods - Prezi Essential Synthesis 3 Professor Kari Lock Morgan Duke University."— Presentation transcript:

1 Synthesis and Review 3/26/12 Multiple Comparisons Review of Concepts Review of Methods - Prezi Essential Synthesis 3 Professor Kari Lock Morgan Duke University

2 Study and prepare for Exam 2 (Wednesday and Thursday) To Do

3 An exam absence is only excused if a short term illness form is submitted before the exam In this case, your final exam grade will be substituted Keep in mind that you will be responsible for a LOT more material on the final exam, and it is already worth 25% of your grade You can ONLY take the lab exam during your designated section. Set two alarms if needed. Exam Policies

4 Any cheating (either on the in-class exam or the lab exam) will result in an automatic 0, and will be treated as a serious case of academic misconduct This includes, but is not limited to, Looking at someone else’s exam or computer screen For the in-class exam, using pages of notes prepared by someone else Communicating (in any form) with anyone besides myself or your TAs during the exam Communicating (in any way) with any classmates about the lab exam, or sharing any code or materials related to the lab exam, before 4pm on Thursday, 3/29 Exam Policies

5 Analytic Approaches to Basketball Mike Zarren (Boston Celtics) Tuesday, 3/27, 5pm in 2231 French Family Science Michael Zarren is the Boston Celtics’ Assistant General Manager and Associate Team Counsel. Mike is widely recognized as one of the leaders in the field of advanced statistical analysis of basketball players and teams, and is an important part of the team’s strategic planning and player personnel evaluation processes. Mike is also the team’s salary cap expert and lead in- house counsel, and is responsible for the development of new technologies for team use, including the team’s statistical database and video archive/delivery system. Read more here: http://goo.gl/l4P3I.http://goo.gl/l4P3I Talk

6 You have LOTS of opportunities for help! Monday, 3 – 4 pm (Prof Morgan) Monday, 4 – 6 pm (Christine) Tuesday, 3 – 6 pm (Prof Morgan) Tuesday, 6 – 8 pm (Yue) Office Hours before Exam

7 RStudio no longer supports importing data from a google doc  Importing from a Google Doc

8 Extrasensory Perception Is there such a thing as ESP? Let’s find out by conducting our own experiments!

9 Extrasensory Perception Get into pairs. “Randomly” choose A, B, C, or D, and write it down Try to transmit this information to your partner, without communicating the letter in any way that can be perceived by any of the five senses! Partner: guess the letter. Repeat this 10 times each, and keep track of the number of correct guesses. Once you have n = 20, come to the board and plot your sample proportion Test whether your experiment provides evidence of ESP

10 Extrasensory Perception Did your experiment provide evidence of extrasensory perception, using  = 0.05? (a) Yes (b) No

11 Test for a Proportion Which of the following ways are appropriate to test whether your sample proportion is significantly different from p = ¼? a)Randomization Test (only) b)Normal distribution (only) c)t-distribution (only) d)Either (a) or (b) e)Either (a), (b), or (c)

12 Randomization Distribution IF there is no such thing as ESP, then you all just created a randomization distribution.

13 Extrasensory Perception If there is no such thing as ESP, what percentage of experiments on ESP will get results that are significant, using  = 0.05? (a) None (b) All of them (c) 95% (d) 5%

14 www.causeweb.org Author: JB Landers

15 www.causeweb.org Author: JB Landers

16 www.causeweb.org Author: JB Landers

17 Multiple Comparisons Consider a topic that is being investigated by research teams all over the world  5% of teams are going to find something significant, even if the null is true

18 Multiple Comparisons Consider a research team/company doing many hypothesis tests  5% of tests are going to be significant, even if the nulls are all true

19 Multiple Comparisons Consider an experiment that randomizes units to treatment groups, and then looks at many response variables  5% of variables are going to be significantly different between the groups, just by random chance

20 Pairwise Comparisons Consider a study with many different treatment groups, and so many possible pairwise comparisons  5% of comparisons are going to be significantly different, even if no differences actually exist (This is the main reason for only testing pairwise comparisons if the overall ANOVA is found to be significant)

21 Publication Bias publication bias: usually, only the significant results get published The one study that turns out significant gets published, and no one knows about all the insignificant results

22 http://xkcd.com/882/ Jelly Beans Cause Acne!

23 http://xkcd.com/882/

24

25

26 This is a serious problem The most important thing is to simply be aware of this issue, and not to trust claims that are obviously one of many tests (unless they specifically mention an adjustment for multiple testing) Multiple Comparisons

27 REVIEW

28 Was the sample randomly selected? Possible to generalize to the population Yes Should not generalize to the population No Was the explanatory variable randomly assigned? Possible to make conclusions about causality Yes Can not make conclusions about causality No Data Collection

29 Confidence Interval A confidence interval for a parameter is an interval computed from sample data by a method that will capture the parameter for a specified proportion of all samples A 95% confidence interval will contain the true parameter for 95% of all samples

30 How unusual would it be to get results as extreme (or more extreme) than those observed, if the null hypothesis is true? If it would be very unusual, then the null hypothesis is probably not true! If it would not be very unusual, then there is not evidence against the null hypothesis Hypothesis Testing

31 The p-value is the probability of getting a statistic as extreme (or more extreme) as that observed, just by random chance, if the null hypothesis is true The p-value measures evidence against the null hypothesis p-value

32 Hypothesis Testing 1.State Hypotheses 2.Calculate a test statistic, based on your sample data 3.Create a distribution of this test statistic, as it would be observed if the null hypothesis were true 4.Use this distribution to measure how extreme your test statistic is

33 Distribution of the Sample Statistic 1.Sampling distribution: distribution of the statistic based on many samples from the population 2.Bootstrap Distribution: distribution of the statistic based on many samples with replacement from the original sample 3.Randomization Distribution: distribution of the statistic assuming the null hypothesis is true 4.Normal, t,  2, F: Theoretical distributions used to approximate the distribution of the statistic

34 Sample Size Conditions For large sample sizes, either simulation methods or theoretical methods work If sample sizes are too small, only simulation methods can be used

35 For confidence intervals, you find the desired percentage in the middle of the distribution, then find the corresponding value on the x-axis For p-values, you find the value of the observed statistic on the x-axis, then find the area in the tail(s) of the distribution Using Distributions

36 Confidence Intervals

37 Return to original scale with

38 Hypothesis Testing

39 General Formulas When performing inference for a single parameter (or difference in two parameters), the following formulas are used:

40 Standard Error The standard error is the standard deviation of the sample statistic The formula for the standard error depends on the type of statistic (which depends on the type of variable(s) being analyzed)

41 Multiple Categories These formulas do not work for categorical variables with more than two categories, because there are multiple parameters For one or two categorical variables with multiple categories, use  2 tests For testing for a difference in means across multiple groups, use ANOVA

42 Inference Methods http://prezi.com/c1xz1on-p4eb/stat-101/


Download ppt "Synthesis and Review 3/26/12 Multiple Comparisons Review of Concepts Review of Methods - Prezi Essential Synthesis 3 Professor Kari Lock Morgan Duke University."

Similar presentations


Ads by Google