650 likes | 1.92k Views
SPSS Series 3: Repeated Measures ANOVA and MANOVA. By Hui Bian Office for Faculty Excellence. List of topics. Repeated measures ANOVA with SPSS One-way within-subjects ANOVA with SPSS One between and one within mixed design with SPSS Repeated measures MANOVA with SPSS
E N D
SPSS Series 3: Repeated Measures ANOVA and MANOVA By HuiBian Office for Faculty Excellence
List of topics • Repeated measures ANOVA with SPSS • One-way within-subjects ANOVA with SPSS • One between and one within mixed design with SPSS • Repeated measures MANOVA with SPSS • How to interpret SPSS outputs • How to report results
GLM Repeated Measures • When the same measurement is made several times on each subject or case, such as • Same group of people are pretested and post-tested on a dependent variable. • Comparing the same subjects under several different treatments. • Interested in the performance trends over time: is it linear, quadratic, or cubic?
GLM Repeated Measures • Between and within factors • Between factors: a grouping or classification variables such as sex, age, grade levels, treatment conditions etc. • Within factors: is the one with multiple measures from a group of people such as time.
Repeated measures • Assumptions • Independence of the observations • Violation is serious • Multivariate normality • Fairly robust against violation • Sphericity • Not necessary for the multivariate approach • The variance-covariance matrices are the same across the cells formed by the between-subjects effects.
One-way within-subjects ANOVA • A simplest design • One within-subjects factor • One dependent variable • A group of subjects measured at different points in time
One-way within-subjects ANOVA • Example: sample is from high school students. • Research questions: • 1. whether there is a significant change on frequency of drinking over time (3 months) before and after treatment; • 2. whether the relationship between the within factor (time) and frequency of drinking is linear, quadratic, or cubic. • Within-subjects factor: time. • Dependent variable: frequency of drinking (a28 and b28). • Two-time points data: a28 means baseline and b28 means 3-month posttest • Two conditions: before treatment and after treatment
One-way within-subjects ANOVA • The design
One-way within-subjects ANOVA • Select Intervention group as our sample • Go to Data Select Cases • Check If conditions… • Then click If
One-way within-subjects ANOVA • Let Conditions = 1 • Then click Continue
One-way within-subjects ANOVA • Run Repeated Measures analysis • Analyze General Linear Model Repeated Measures • Type Time as Within-Subject Factor Name, type 2 as Number of Levels, then click Add • Type dv1 as Measure Name (dv means dependent variable), then click Add
One-way within-subjects ANOVA • Then click Define
One-way within-subjects ANOVA • After Define you should get this window • Move a28 to (1, dv1) • Move b28 to (2, dv2)
One-way within-subjects ANOVA • We don’t have any between-subjects factors • Click Options to get this Check Compare main effects even we have two levels for within-subjects factor. I just want to show the pair comparison function.
One-way within-subjects ANOVA • Click Plots to get this window
One-way within-subjects ANOVA • SPSS outputs • Descriptive statistic results
One-way within-subjects ANOVA • SPSS outputs • Within-subjects effect: results of two tables are same.
One-way within-subjects ANOVA Correction options include Geenhouse-Geisser, Huyn-Feldt, and Lower-bound when sphericity is not assumed. They produce more conservative estimates.
One-way within-subjects ANOVA • SPSS outputs • Within-subjects effect: if there is no homogeneity of dependent variable covariance matrix, the Sphericity is not assumed. We should use the correction options.
One-way within-subjects ANOVA • SPSS outputs • The mathematical properties underlying the relationship between within-subjects factor and dependent variable. Test linear component of Time effect The linear component is not significant
One-way within-subjects ANOVA • SPSS outputs • Plot
One-way within-subjects ANOVA Quadratic Cubic
One-way within-subjects ANOVA • SPSS outputs • Pairwise comparisons: the within-subjects factor only has two levels. So we get the same results as multivariate tests table shows.
One-way within-subjects ANOVA • Results • One-way within-subjects ANOVA was performed to test whether there was a difference of frequency of drinking between before-treatment and after-treatment conditions. The observed F value was not statistically significant, F(1, 136) = .42, p = .52, partial η2= .003, which indicated no difference of frequency of drinking over time.
Two-way Mixed Design (ANOVA) • Two-way mixed design • Two independent factors: one is a between-subjects factor and one is a within-subjects factor • One dependent variable. • Tests null hypotheses about the effects of both the between-subjects factor and within-subjects factor. • Tests the effect of interactions between factors.
Two-way Mixed Design (ANOVA) • Example: • Research questions: • whether there is a significant change on frequency of drinking over time (3 months) between intervention and control group. • Within-subjects factor: time. • Between-subjects factor: conditions (intervention vs. control). • Dependent variable: frequency of drinking (a28 and b28). • Two-time points data: a28 means baseline and b28 means 3-month posttest
Two-way Mixed Design (ANOVA) • The design
Two-way Mixed Design (ANOVA) • Run repeated measures analysis • Select all cases • Go to AnalyzeGeneral Linear ModelRepeated Measures • The same procedure to define the within-subjects factor and dependent variable. • Move Conditions to…
Two-way Mixed Design (ANOVA) • Click Options • Click Plots
Two-way Mixed Design (ANOVA) • SPSS outputs • Multivariate tests
Two-way Mixed Design (ANOVA) • SPSS outputs • Estimated marginal means
Two-way Mixed Design (ANOVA) • SPSS outputs • Plots
Two-way Mixed Design (ANOVA) • Results • The intervention effect was analyzed using repeated measures ANOVA. There was no statically significant difference between intervention and control group over time on frequency of drinking, F(1,285) = .90, p = .34, partial η2 = .003.
Two-way Mixed Design (MANOVA) • Example • Research questions: • whether there is a significant change on drinking behaviors over time (3 months) between intervention and control groups; or whether there is an intervention effect on drinking behaviors. • Within-subjects factor: time. • Between-subjects factor: conditions (two levels) • Dependent variables: frequency of drinking (a28 and b28), quantity of drinking (a31 and b31), and heavy drinking (a34 and b34). • Two-time points data: baseline and posttest
Two-way Mixed Design (MANOVA) • Run repeated measures analysis • Go to Analyze General Linear Model Repeated Measures • We have three dependent variables • Still one within-subjects factor • Click Define
Two-way Mixed Design (MANOVA) • Move a28/b28, a31/b31, and a34/b34 to…
Two-way Mixed Design (MANOVA) • Options and Plots
Two-way Mixed Design (MANOVA) • SPSS outputs • Multivariate tests
Two-way Mixed Design (MANOVA) • SPSS outputs • Within-subjects effects
Two-way Mixed Design (MANOVA) • SPSS outputs • Univariate tests
Two-way Mixed Design (MANOVA) • SPSS outputs • Estimated marginal means
Two-way Mixed Design (MANOVA) • SPSS outputs • Plots: dv1 (frequency of drinking)
Two-way Mixed Design (MANOVA) • SPSS outputs • Plots: dv2 (quantity of drinking)
Two-way Mixed Design (MANOVA) • SPSS outputs • Plots: dv3 (heavy drinking)
Two-way Mixed Design (MANOVA) • Results • Repeated measures MANOVA test was conducted to test intervention effect on drinking behaviors. The results showed there was no difference between intervention and control group on frequency, quantity, and heavy drinking over time, F(3, 283) = 1.18, p = .32, η2 = .01. Univariate tests also indicated there was no intervention effect on individual drinking behavior, F(1, 285) = .90, p = .34, η2 = .003 for frequency, F(1, 285) = .67, p = .41, η2 = .002 for quantity, and F(1, 285) = .39, p = .53, η2 = .001 for heavy drinking.
GLM Repeated Measures Contrasts • Example (planned comparisons) • One within-subjects factor: time • One between-subjects factor: living condition (11r) • One dependent variable: frequency of drinking (a28 and b28)
GLM Repeated Measures Contrasts • Contrasts are used to test for differences among the levels of a between-subjects factor. • Go to Analyze General Linear Model Repeated Measures • The same procedure to define within-subjects factor and dependent variable • Click Contrasts
GLM Repeated Measures Contrasts • You should get the left window • Choose Simple (simple means compares the mean of each level to the mean of a reference). Pull down
GLM Repeated Measures Contrasts • Decide which category of between-subjects factor is a reference category. • The between-subjects factor is a11r: 1= Mother and father; 2 = Mother and stepfather; 3 = Mother; 4 = Others. • Use 1 = Mother and father as a reference. Check First, then click Change
GLM Repeated Measures Contrasts • SPSS outputs