Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these.

Slides:



Advertisements
Similar presentations
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
Advertisements

Multiple-choice question
Statistics for the Social Sciences
Smith/Davis (c) 2005 Prentice Hall Chapter Thirteen Inferential Tests of Significance II: Analyzing and Interpreting Experiments with More than Two Groups.
ANOVA Analysis of Variance: Why do these Sample Means differ as much as they do (Variance)? Standard Error of the Mean (“variance” of means) depends upon.
Chapter 9 - Lecture 2 Some more theory and alternative problem formats. (These are problem formats more likely to appear on exams. Most of your time in.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 17: Repeated-Measures ANOVA.
PSY 307 – Statistics for the Behavioral Sciences
Intro to Statistics for the Behavioral Sciences PSYC 1900
Chapter 14 Conducting & Reading Research Baumgartner et al Chapter 14 Inferential Data Analysis.
Intro to Statistics for the Behavioral Sciences PSYC 1900
Lecture 9: One Way ANOVA Between Subjects
Chapter 10 - Part 1 Factorial Experiments.
Chapter 9 - Lecture 2 Computing the analysis of variance for simple experiments (single factor, unrelated groups experiments).
Intro to Statistics for the Behavioral Sciences PSYC 1900
Chapter 9 - Lecture 2 Computing the analysis of variance for simple experiments (single factor, unrelated groups experiments).
Factorial Designs More than one Independent Variable: Each IV is referred to as a Factor All Levels of Each IV represented in the Other IV.
Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin.
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
One-way Analysis of Variance 1-Factor ANOVA. Previously… We learned how to determine the probability that one sample belongs to a certain population.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Testing Hypotheses about Differences among Several Means.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
INTRODUCTION TO ANALYSIS OF VARIANCE (ANOVA). COURSE CONTENT WHAT IS ANOVA DIFFERENT TYPES OF ANOVA ANOVA THEORY WORKED EXAMPLE IN EXCEL –GENERATING THE.
Remember You were asked to determine the effects of both college major (psychology, sociology, and biology) and gender (male and female) on class attendance.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Chapter 17 Comparing Multiple Population Means: One-factor ANOVA.
Comparison of groups The purpose of analysis is to compare two or more population means by analyzing sample means and variances. One-way analysis is used.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these.
Practice A research study was conducted to examine the differences between older and younger adults on perceived life satisfaction. A pilot study was.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview and One-Way ANOVA.
Analysis of Variance 11/6. Comparing Several Groups Do the group means differ? Naive approach – Independent-samples t-tests of all pairs – Each test doesn't.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Seventh.
Six Easy Steps for an ANOVA 1) State the hypothesis 2) Find the F-critical value 3) Calculate the F-value 4) Decision 5) Create the summary table 6) Put.
Psych 200 Methods & Analysis
Practice As part of a program to reducing smoking, a national organization ran an advertising campaign to convince people to quit or reduce their smoking.
SPSS Homework SPSS Homework 12.1 Practice Data from exercise ) Use linear contrasts to compare 5 days vs 20 and 35 days 2) Imagine you.
SEMINAR ON ONE WAY ANOVA
Why is this important? Requirement Understand research articles
Two way ANOVA with replication
Practice Participants were asked about their current romantic relationship (dating, married, or cohabitating) and the number of children they have (none,
An Introduction to Two-Way ANOVA
Two way ANOVA with replication
ANOVA 11/3.
Analysis of Variance.
Repeated Measures ANOVA
Statistics for the Social Sciences
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days a person.
Internal Validity – Control through
PSY 307 – Statistics for the Behavioral Sciences
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days a person.
Comparing Several Means: ANOVA
Statistics for the Social Sciences
Review Compare one sample to another value One sample t-test
Practice I think it is colder in Philadelphia than in Anaheim ( = .10). To test this, I got temperatures from these two places on the Internet.
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days.
One way ANALYSIS OF VARIANCE (ANOVA)
No class on Wednesday 11/1 No class on Friday 11/3
Chapter 12 A Priori and Post Hoc Comparisons Multiple t-tests Linear Contrasts Orthogonal Contrasts Trend Analysis Bonferroni t Fisher Least Significance.
So far We have been doing independent samples designs The observations in one group were not linked to the observations in the other group.
Analysis of Variance: repeated measures
Practice As part of a program to reducing smoking, a national organization ran an advertising campaign to convince people to quit or reduce their smoking.
What if. . . You were asked to determine if psychology and sociology majors have significantly different class attendance (i.e., the number of days a person.
ANalysis Of VAriance Lecture 1 Sections: 12.1 – 12.2
Rest of lecture 4 (Chapter 5: pg ) Statistical Inferences
Presentation transcript:

Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these same subjects take the second test they do not get a pill Did the pill increase their test scores?

What if. . . You just invented a “magic math pill” that will increase test scores. On the day of the first test you give a full pill to 4 subjects. When these same subjects take the second test they get a placebo. When these same subjects that the third test they get no pill.

Note You have more than 2 groups You have a repeated measures design You need to conduct a Repeated Measures ANOVA

Tests to Compare Means Design of experiment Independent Variables and # of levels Independent Samples Related Samples One IV, 2 levels Independent t-test Paired-samples t-test One IV, 2 or more levels ANOVA Repeated measures ANOVA Tow IVs, each with 2 or more levels Factorial ANOVA Repeated measures factorial ANOVA

What if. . . You just invented a “magic math pill” that will increase test scores. On the day of the first test you give a full pill to 4 subjects. When these same subjects take the second test they get a placebo. When these same subjects that the third test they get no pill.

Results Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 Sub 4 93 92 96 Mean

For now . . . Ignore that it is a repeated design Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 Sub 4 93 92 96 Mean

Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 93 92 96 Mean Between Variability = low

Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 93 92 96 Mean Within Variability = high

Source df SS MS F Drug 2 34.67 17.33 .09 Within 9 1720 191.11 Total 11 1754.67

Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 Notice – the within variability of a group can be predicted by the other groups Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 Sub 4 93 92 96 Mean

Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 Notice – the within variability of a group can be predicted by the other groups Pill Placebo No Pill Sub 1 57 60 64 Sub 2 71 72 74 Sub 3 75 76 78 Sub 4 93 92 96 Mean Pill and Placebo r = .99; Pill and No Pill r = .99; Placebo and No Pill r = .99

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 These scores are correlated because, in general, some subjects tend to do very well and others tended to do very poorly

Repeated ANOVA Some of the variability of the scores within a group occurs due to the mean differences between subjects. Want to calculate and then discard the variability that comes from the differences between the subjects.

Example Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 Sub 3 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66

Sum of Squares SS Total Computed the same way as before The total deviation in the observed scores Computed the same way as before

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66 SStotal = (57-75.66)2+ (71-75.66)2+ . . . . (96-75.66)2 = 1754.67 *What makes this value get larger?

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66 SStotal = (57-75.66)2+ (71-75.66)2+ . . . . (96-75.66)2 = 1754.67 *What makes this value get larger? *The variability of the scores!

Sum of Squares SS Subjects Represents the SS deviations of the subject means around the grand mean Its multiplied by k to give an estimate of the population variance (Central limit theorem)

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66 SSSubjects = 3((60.33-75.66)2+ (72.33-75.66)2+ . . . . (93.66-75.66)2) = 1712 *What makes this value get larger?

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66 SSSubjects = 3((60.33-75.66)2+ (72.33-75.66)2+ . . . . (93.66-75.66)2) = 1712 *What makes this value get larger? *Differences between subjects

Sum of Squares SS Treatment Represents the SS deviations of the treatment means around the grand mean Its multiplied by n to give an estimate of the population variance (Central limit theorem)

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66 SSTreatment = 4((74-75.66)2+ (75-75.66)2+(78-75.66)2) = 34.66 *What makes this value get larger?

Pill Placebo No Pill Mean Sub 1 57 60 64 60.33 Sub 2 71 72 74 72.33 75 76 78 76.33 Sub 4 93 92 96 93.66 75.66 SSTreatment = 4((74-75.66)2+ (75-75.66)2+(78-75.66)2) = 34.66 *What makes this value get larger? *Differences between treatment groups

Sum of Squares Have a measure of how much all scores differ SSTotal Have a measure of how much this difference is due to subjects SSSubjects Have a measure of how much this difference is due to the treatment condition SSTreatment To compute error simply subtract!

Sum of Squares SSError = SSTotal - SSSubjects – SSTreatment 8.0 = 1754.66 - 1712.00 - 34.66

Source df SS Subjects 1712.00 Treatment 34.66 Error 8.00 Total 11 1754.66

Source df SS MS F Drug 2 34.67 17.33 .09 Within 9 1720 191.11 Total 11 1754.67

Compute df Source df SS Subjects 1712.00 Treatment 34.66 Error 8.00 df total = N -1 Source df SS Subjects 1712.00 Treatment 34.66 Error 8.00 Total 11 1754.66

Compute df Source df SS Subjects 3 1712.00 Treatment 34.66 Error 8.00 df total = N -1 df subjects = n – 1 Source df SS Subjects 3 1712.00 Treatment 34.66 Error 8.00 Total 11 1754.66

Compute df Source df SS Subjects 3 1712.00 Treatment 2 34.66 Error df total = N -1 df subjects = n – 1 df treatment = k-1 Source df SS Subjects 3 1712.00 Treatment 2 34.66 Error 8.00 Total 11 1754.66

Compute df Source df SS Subjects 3 1712.00 Treatment 2 34.66 Error 6 df total = N -1 df subjects = n – 1 df treatment = k-1 df error = (n-1)(k-1) Source df SS Subjects 3 1712.00 Treatment 2 34.66 Error 6 8.00 Total 11 1754.66

Compute MS Source df SS MS Subjects 3 1712.00 Treatment 2 34.66 17.33 Error 6 8.00 Total 11 1754.66

Compute MS Source df SS MS Subjects 3 1712.00 Treatment 2 34.66 17.33 Error 6 8.00 1.33 Total 11 1754.66

Compute F Source df SS MS F Subjects 3 1712.00 Treatment 2 34.66 17.33 13.00 Error 6 8.00 1.33 Total 11 1754.66

Test F for Significance Source df SS MS F Subjects 3 1712.00 Treatment 2 34.66 17.33 13.00 Error 6 8.00 1.33 Total 11 1754.66

Test F for Significance Source df SS MS F Subjects 3 1712.00 Treatment 2 34.66 17.33 13.00* Error 6 8.00 1.33 Total 11 1754.66 F(2,6) critical = 5.14

Practice You wonder if the statistic tests are of all equal difficulty. To investigate this you examine the scores 4 students got on the three different tests

Test 1 Test 2 Test 3 Sub 1 60 70 78 Sub 2 76 85 Sub 3 64 90 89 Sub 4 77 81 94

Source df SS MS F Subjects Treatment 564.50 Error 234.83 Total 1165.50

Source df SS MS F Subjects 3 366.17 Treatment 2 564.50 282.25 7.21* Error 6 234.83 39.13 Total 11 1165.50

Practice Sleep researchers decide to test the impact of REM sleep deprivation on a computerized assembly line task. Subjects are required to participate in two nights of testing. On each night of testing the subject is allowed a total of four hours of sleep. However, on one of the nights, the subject is awakened immediately upon achieving REM sleep. Subjects then took a cognitive test which assessed errors in judgment. Did sleep deprivation effect subjects cognitive ability?

REM Deprived Control Condition 26 20 15 4 8 9 44 36

tobs = 3.04* Sleep deprivation effected their cognitive abilities.

No Class on Monday!