Stats Lunch: Day 8 Repeated-Measures ANOVA and Analyzing Trends (It’s Hot)

Slides:



Advertisements
Similar presentations
Comparing Two Means: One-sample & Paired-sample t-tests Lesson 12.
Advertisements

One-Way and Factorial ANOVA SPSS Lab #3. One-Way ANOVA Two ways to run a one-way ANOVA 1.Analyze  Compare Means  One-Way ANOVA Use if you have multiple.
Repeated Measures ANOVA
MANOVA: Multivariate Analysis of Variance
Analysis of variance (ANOVA)-the General Linear Model (GLM)
1 G Lect 14b G Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject.
SPSS Series 3: Repeated Measures ANOVA and MANOVA
Intro to Factorial ANOVA
Modeling Continuous Longitudinal Data. Introduction to continuous longitudinal data: Examples.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
January 7, afternoon session 1 Multi-factor ANOVA and Multiple Regression January 5-9, 2008 Beth Ayers.
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Analysis of Variance with Repeated Measures. Repeated Measurements: Within Subjects Factors Repeated measurements on a subject are called within subjects.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Inferential Statistics: SPSS
STA291 Statistical Methods Lecture 27. Inference for Regression.
ANOVA Analysis of Variance.  Basics of parametric statistics  ANOVA – Analysis of Variance  T-Test and ANOVA in SPSS  Lunch  T-test in SPSS  ANOVA.
Repeated Measures Design
Lab 2: repeated measures ANOVA 1. Inferior parietal involvement in long term memory There is a hypothesis that different brain regions are recruited during.
Repeated Measures Design
Analysis of Covariance David Markham
Repeated Measures Chapter 13.
Discriminant Function Analysis Basics Psy524 Andrew Ainsworth.
Stats Lunch: Day 7 One-Way ANOVA. Basic Steps of Calculating an ANOVA M = 3 M = 6 M = 10 Remember, there are 2 ways to estimate pop. variance in ANOVA:
12e.1 ANOVA Within Subjects These notes are developed from “Approaching Multivariate Analysis: A Practical Introduction” by Pat Dugard, John Todman and.
Effect Size Estimation in Fixed Factors Between- Groups Anova.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Stats Lunch: Day 4 Intro to the General Linear Model and Its Many, Many Wonders, Including: T-Tests.
Repeated Measurements Analysis. Repeated Measures Analysis of Variance Situations in which biologists would make repeated measurements on same individual.
Inferential Statistics
Simple Repeated measures Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
1 Psych 5500/6500 t Test for Dependent Groups (aka ‘Paired Samples’ Design) Fall, 2008.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Within Subjects Analysis of Variance PowerPoint.
Repeated-measures ANOVA When subjects are tested on two or more occasions “Repeated measures” or “Within subjects” design Repeated Measures ANOVA But,
ANOVA: Analysis of Variance.
Adjusted from slides attributed to Andrew Ainsworth
PSY2004 Research Methods PSY2005 Applied Research Methods Week Six.
Terms  Between subjects = independent  Each subject gets only one level of the variable.  Repeated measures = within subjects = dependent = paired.
+ Comparing several means: ANOVA (GLM 1) Chapter 11.
Repeated-measures designs (GLM 4) Chapter 13. Terms Between subjects = independent – Each subject gets only one level of the variable. Repeated measures.
Slide 1 Mixed ANOVA (GLM 5) Chapter 15. Slide 2 Mixed ANOVA Mixed: – 1 or more Independent variable uses the same participants – 1 or more Independent.
Smoking Data The investigation was based on examining the effectiveness of smoking cessation programs among heavy smokers who are also recovering alcoholics.
Randomized block designs  Environmental sampling and analysis (Quinn & Keough, 2002)
ANCOVA. What is Analysis of Covariance? When you think of Ancova, you should think of sequential regression, because really that’s all it is Covariate(s)
Factorial ANOVA Repeated-Measures ANOVA 6 Nov 2009 CPSY501 Dr. Sean Ho Trinity Western University Please download: Treatment5.sav MusicData.sav For next.
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
Comparing Two Means Chapter 9. Experiments Simple experiments – One IV that’s categorical (two levels!) – One DV that’s interval/ratio/continuous – For.
Correlated-Samples ANOVA The Univariate Approach.
Handout Nine: Repeated Measures –Design, Analysis, & Assumptions.
Independent Samples T-Test. Outline of Today’s Discussion 1.About T-Tests 2.The One-Sample T-Test 3.Independent Samples T-Tests 4.Two Tails or One? 5.Independent.
Handout Ten: Mixed Design Analysis of Variance EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Ten:
Within Subject ANOVAs: Assumptions & Post Hoc Tests.
Two-Group Discriminant Function Analysis. Overview You wish to predict group membership. There are only two groups. Your predictor variables are continuous.
ANCOVA.
Chapter 13 Understanding research results: statistical inference.
12e.1 MANOVA Within Subjects These notes are developed from “Approaching Multivariate Analysis: A Practical Introduction” by Pat Dugard, John Todman and.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
MANOVA Lecture 12 Nuance stuff Psy 524 Andrew Ainsworth.
PROFILE ANALYSIS. Profile Analysis Main Point: Repeated measures multivariate analysis One/Several DVs all measured on the same scale.
Simple Statistical Designs One Dependent Variable.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Inferential Statistics Psych 231: Research Methods in Psychology.
Multivariate vs Univariate ANOVA: Assumptions. Outline of Today’s Discussion 1.Within Subject ANOVAs in SPSS 2.Within Subject ANOVAs: Sphericity Post.
Comparing several means: ANOVA (GLM 1)
Repeated-Measures ANOVA
I. Statistical Tests: Why do we use them? What do they involve?
Psych 231: Research Methods in Psychology
Presentation transcript:

Stats Lunch: Day 8 Repeated-Measures ANOVA and Analyzing Trends (It’s Hot)

Repeated Measures/Within Subjects Designs  Measure the same variable (e.g., test scores) in the same subjects more than once… Benefits: 1)Sensitive: Unsystematic variance is reduced  Increased Effect Sizes, Increased Power 2)Economical: Fewer subjects needed Problems: 1) Experimental Issues: Carry-over effects, fatigue, drop-out, etc. 2)Some statistical issues:  Same subjects across all levels of IV, so there are correlations between levels (violates ANOVA’s assumption of independence)  Which means we need to be concerned with sphericity

Sphericity Problem: ANOVA assumes homogeneity of variance, but is robust against violations of this assumption UNLESS the different levels are correlated… We know that this is an issue in rANOVA, so there is an additional assumption… Assumption of Sphericity: that correlations between treatment levels are the same, or more specifically:  Assumes that the variances of the DIFFERENCES of pairs of treatment means are equal.  Violations of Sphericity affect the quality of the inferences we can draw from our stats…makes a Type I error more likely… Sphericity is tested with Mauchly’s Test of Sphericity:  SPSS spits it out by default when you use the repeated measures module…  If the test is significant (p <.05) it’s bad: can’t assume sphericity Can’t get enough of sphericity? Then go to for a nice discussion …

rANOVA in SPSS 1)Click on “Analyze” 2)Choose GLM and then “Repeated Measures” 3)You’ll need to define (create) your repeated measures variable. a.First, give it a name b.Then enter how many levels it has. c.Click on “Add”

rANOVA in SPSS 4) You should now see your variable (number of levels) in this window. Click on “Define” 5) Select the options (effect sizes, descriptives, etc.), plots, and contrasts you’d want, and then Click on “Ok”

rANOVA in SPSS So, we’ve violated the assumption of sphericity If epsilon is <.7, it’s a large violation…

Correcting for Sphericity More Bad News: We damn near always violate the assumption of sphericity. Also, Mauchly’s test can be problematic (e.g., when we have very small or large N’s). So, we need to correct for the errors we might make… Three Corrections in SPSS 1)Huynh-Feldt (Least Conservative) 2)Greenhouse-Geisser (Conservative) 3)Lower Bound (Very Conservative)  All work my adjusting the DF by multiplying by an estimate of sphericity.  Makes it harder to reject null, decreases chance of Type I error  Greenhouse-Geisser most common (Safe bet: always use it)  In your paper, you usually report original DF, but adjusted p values.

rANOVA in SPSS Again, we’ve violated the assumption of Sphericity… So, we’d use one of the corrections (not the differences in the DF)

rANOVA in SPSS Another way to deal with violations of sphericity is to use a hypothesis test that doesn’t assume it… Multivariate Analysis of Variance (MANOVA)  Which SPSS also helpfully spits out in the repeated measures module.  rMANOVA tends to be less powerful than rANOVA  But can be a useful option when samples sizes are LARGE (n > k+10) and epsilons are small (<.7)  Or when G-G and H-F do not agree.

Trend Analyses A set of planned or post-hoc contrasts that test the overall pattern (distribution) of the data from the different levels of your IV, rather than testing differences between means:  Does a linear (straight) trend significantly account for variance?  Does a quadratic/cubic/quartic (and whatever comes after quartic) significantly account for variance? Linear TrendQuadratic Trend Cubic Trend  Can make a –1 contrasts, from least to most complicated: So if your IV has 3 levels, you can make (3-1) two contrasts (Linear and quadratic).  Called “Orthogonal Polynomial Contrasts”  Could be used predictively or descriptively.

Things to Consider  Levels of your IV should be evenly spaced: e.g., you measure symptoms ratings on Day 5, Day 10, and Day 15, not Day 5, Day 7, and Day 22.  The levels of your IV should span a large enough range (high to low) of the variable of interest, otherwise you could miss things  Another way to put this would be to say that you have measured enough intervals (levels of your IV) What would your conclusions be if you only recorded data from the first four time points?

A Brief Look Under the Hood  Remember, the way contrasts are performed in ANOVA is by multiplying the data from different levels of your IV by contrast coefficients, getting a SS and seeing if it’s significant…  So if you your IV (Time) has four levels and you wanted to compare Time 1 vs Time 3, your contrasts would look like: Time1Time2Time3Time4 010  Polynomial Contrasts (trend analyses) work the same way: By using contrasts that represent idealized versions of the trend (linear, quadratic, etc.) you’re looking for. Note that this set of comparisons is ORTHOGONAL

A Brief Look Under the Hood 1st2nd3rd4th

A Brief Look Under the Hood

rANOVA in SPSS 1)Set up everything like you did before, only this time click on “contrasts” and select “polynomial”, in the Change Contrast GUI. 2) Polynomial is the default option, but if you’ve previously run other types of contrasts, you’ll need to hit “Change” before you continue.

Output Have we violated Sphericity? Were the univariate effects significant? Do we need to correct? If so, what should we correct with?

Contrast Output  So, both the linear and quadratic trends are significant?  Which should we report:  Depends on the data, and who you ask:  Report Both  Contrast with higher effect size  The highest order contrast that is significant  What makes the most sense with your design and hypotheses.