More repeated measures. More on sphericity With our previous between groups Anova we had the assumption of homogeneity of variance With repeated measures.

Slides:



Advertisements
Similar presentations
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Advertisements

Within Subjects Designs
Mixed Designs: Between and Within Psy 420 Ainsworth.
Analysis of Variance (ANOVA)
Research Support Center Chongming Yang
Statistics for the Social Sciences
Issues in factorial design
Other Analysis of Variance Designs Chapter 15. Chapter Topics Basic Experimental Design Concepts  Defining Experimental Design  Controlling Nuisance.
Design Supplemental.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
Statistics for Linguistics Students Michaelmas 2004 Week 6 Bettina Braun
Design of Experiments and Analysis of Variance
Smith/Davis (c) 2005 Prentice Hall Chapter Thirteen Inferential Tests of Significance II: Analyzing and Interpreting Experiments with More than Two Groups.
Introduction to Factorial ANOVA Designs
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
Lab3: writing up results and ANOVAs with within and between factors 1.
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.
Two Groups Too Many? Try Analysis of Variance (ANOVA)
Analysis of Variance & Multivariate Analysis of Variance
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Basic Analysis of Variance and the General Linear Model Psy 420 Andrew Ainsworth.
Issues in Experimental Design Reliability and ‘Error’
Inferential Statistics: SPSS
LEARNING PROGRAMME Hypothesis testing Intermediate Training in Quantitative Analysis Bangkok November 2007.
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
Chapter 14: Repeated-Measures Analysis of Variance.
Repeated Measures Chapter 13.
Comparing Several Means: One-way ANOVA Lesson 15.
TAUCHI – Tampere Unit for Computer-Human Interaction ERIT 2015: Data analysis and interpretation (1 & 2) Hanna Venesvirta Tampere Unit for Computer-Human.
B AD 6243: Applied Univariate Statistics Repeated Measures ANOVA Professor Laku Chidambaram Price College of Business University of Oklahoma.
Statistics for the Social Sciences Psychology 340 Spring 2006 Factorial ANOVA.
Factorial Design One Between-Subject Variable One Within-Subject Variable SS Total SS between subjects SS within subjects Treatments by Groups Treatments.
Repeated Measurements Analysis. Repeated Measures Analysis of Variance Situations in which biologists would make repeated measurements on same individual.
1 G Lect 14a G Lecture 14a Examples of repeated measures A simple example: One group measured twice The general mixed model Independence.
For a mean Standard deviation changes to standard error now that we are dealing with a sampling distribution of the mean.
Hypothesis testing Intermediate Food Security Analysis Training Rome, July 2010.
Inferential Statistics
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Mixed-Design ANOVA 5 Nov 2010 CPSY501 Dr. Sean Ho Trinity Western University Please download: treatment5.sav.
ANOVA: Analysis of Variance.
Mixed designs. We’ve discussed between groups designs looking at differences across independent samples We’ve also talked about within groups designs.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
More repeated measures. More complex repeated measures As with our between groups ANOVA, we can also have more than one repeated measures factor 2-way.
Smoking Data The investigation was based on examining the effectiveness of smoking cessation programs among heavy smokers who are also recovering alcoholics.
General Linear Model.
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
Two-Way (Independent) ANOVA. PSYC 6130A, PROF. J. ELDER 2 Two-Way ANOVA “Two-Way” means groups are defined by 2 independent variables. These IVs are typically.
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
ANOVA, Continued PSY440 July 1, Quick Review of 1-way ANOVA When do you use one-way ANOVA? What are the components of the F Ratio? How do you calculate.
T-test for dependent Samples (ak.a., Paired samples t-test, Correlated Groups Design, Within-Subjects Design, Repeated Measures, ……..) Next week: Read.
Smith/Davis (c) 2005 Prentice Hall Chapter Fifteen Inferential Tests of Significance III: Analyzing and Interpreting Experiments with Multiple Independent.
Handout Eight: Two-Way Between- Subjects Design with Interaction- Assumptions, & Analyses EPSE 592 Experimental Designs and Analysis in Educational Research.
Handout Ten: Mixed Design Analysis of Variance EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Ten:
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Sphericity. More on sphericity With our previous between groups Anova we had the assumption of homogeneity of variance With our previous between groups.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Designs for Experiments with More Than One Factor When the experimenter is interested in the effect of multiple factors on a response a factorial design.
Mixed-Design ANOVA 13 Nov 2009 CPSY501 Dr. Sean Ho Trinity Western University Please download: treatment5.sav.
Multivariate vs Univariate ANOVA: Assumptions. Outline of Today’s Discussion 1.Within Subject ANOVAs in SPSS 2.Within Subject ANOVAs: Sphericity Post.
Don't Sweat the Simple Stuff (But it's not all Simple Stuff)
Factorial Experiments
ANalysis Of VAriance (ANOVA)
Random Effects & Repeated Measures
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Presentation transcript:

More repeated measures

More on sphericity With our previous between groups Anova we had the assumption of homogeneity of variance With repeated measures design we still have this assumption albeit in a different form

More on sphericity Homogeneity of variance assumption means we want to see similar variability from group to group In other words we don’t want more or less variability in one group’s scores relative to another

More on sphericity We are still worried about this problem, except now it applies to difference scores between pairs of the treatment (repeated measures) under consideration In other words the variances of the differences scores created by comparing any two treatments should be roughly the same for all pairs creating difference scores

More on sphericity Raw data (top) Difference scores (bottom) We could then calculate variances for each of these sets of differences The sphericity assumption is that the all these variances of the differences are equal (in the population sampled). In practice, we'd expect the observed sample variances of the differences to be similar if the sphericity assumption was met. A 1 A 2 A 3 A 4 Participant Participant Participant etc.... A 1 -A 2 A 1 -A 3 A 1 -A 4 etc. Participant Participant Participant etc.... Var 1-2 Var 1-3 Var 1-4

Technical side We can check sphericity assumption using the covariance matrix – –A1-A4 equals time1- time4 or what have you Variances for individual treatments in red Samples:A 1 A 2 A 3 A 4 A1A A2A A3A A4A

Compound symmetry is the case where all variances are equal, and all covariances are equal Not bloody likely Samples:A 1 A 2 A 3 A 4 A1A A2A A3A A4A

Sphericity is a relaxed form of the assumption of compound symmetry It is that the sum of any two treatments’ variances minus their covariance equals a constant The constant is equal to the variance of their difference scores

= (5) = 20 = (5) = 20 = (10) = 20 = (10) = 20 = (15) = 20 = (15) = 20 = (15) = 20 = (15) = 20 = (20) = 20 = (20) = 20 = (25) = 20 = (25) = 20 Samples:A 1 A 2 A 3 A 4 A1A A2A A3A A4A

SPSS You can produce the variance/ covariance matrix in SPSS repeated measures

Output from our previous stress data

More complex repeated measures As with our between groups Anova, we can also have more than one repeated measures factor 2-way repeated measures

Two way repeated measures Remember that a 2 factor ANOVA produces 3 elements of interest – –2 main effects and 1 interaction. If our 2 within-subject factors are A and B, the analysis will produce: – –a main effect of A (using A x Subjects as the error term) – –a main effect of B (using B x Subjects as the error term) – –a A X B interaction (using A x B x Subjects as the error term)

Example An experiment designed to look at the effects of therapy on self-esteem Subjects self-esteem measures 5 subjects One within-subject effect with 4 levels (weeks 1-4) Another with 2 levels (wait,therapy)

Data BaselineTherapy

Data setup Now setting up this data in SPSS follows the same general system – –Each row representing a single subject The analysis itself is run in the same way as a One-Way RM design, except now we specify 2 factors. [Analyze  General Linear Model  Repeated Measures]

General points The interpretation follows the same logic as a One-Way RM ANOVA The error terms reflect the differences in individuals' responsiveness to the various treatments

Partitioning the effects Recall from the one-way RM design that our error term was a reflection of how different subjects respond differently to different treatments – –Treatment X subject interaction The variance within people was a combination of the treatment effect, the interaction w/ subjects, and random error The error term in that situation contained both the interaction effects and random error

Partitioning the effects In the 2-way RM we will have the same situation for main effects and the interaction Each effect will have its own error term that contains the X subject interaction + error Gist: we test the significance of any effect with an error term that involves the interaction of that effect with factor S Between subjects (S) A –Error (A x S) B –Error (B x S) A x B –Residual Error (AB x S)

Results Cleaned up output from SPSS

Interpretation The results suggest that there is an effect of time and whether the person engages in therapy, but no statistically significant interaction We could as before perform multiple comparisons by conducting paired comparisons using an appropriate correction (e.g. B-Y) As there are only 2 levels for therapy, the main effect is the only comparison

Interpretation But as we noted in the factorial design, a significant interaction is not required to test for simple effects – –Plus in this case we had an interesting effect size for the interaction anyway Note that this is for demonstration only, with main effects both sig and non sig interaction you should not perform simple effects analysis. – –But even that suggestion is based on p-values so…

Interpretation In SPSS we can use the same emmeans function again – – /EMMEANS = TABLES(therapy*time)compare(time) – – /EMMEANS = TABLES(therapy*time)compare(therapy) The error term will be the interaction of the effect X subject at the particular level for the other within subjects factor (e.g. A x S at B 1 )

Another example Habituation in mice Habituation represents the simplest form of learning – –Decline in the tendency to respond to stimuli that have become familiar due to repeated exposure For example, a sudden noise may initially elicit reaction, but if we hear it repeatedly, we gradually get use to it so that we are less startled the second time we hear it and eventually just ignore it. If stimulus withheld for some period following habituation, the response will recover

Mice were placed in a chamber and presented with a startle tone for 50 trials, and startle response was recorded. Then they were given a 30 minute break and run again. Data broken down into 5 blocks of 10 trials each for each session, and it is the blocks that will be analyzed

In SPSS

Graphically

We may want to test specific pairwise comparisons Perhaps we want to know if there was a significant drop from block 1 to block 5 in session 1, which would be habituation. Then we want to look at recovery from block 5 session 1 to block 1 session 2. Then see if there is habituation in session 2. Think of it as 10 blocks of 10 trials each. – –In other words, stretch it out in a line.

Output

Contrasts Perhaps instead we wanted to test a specific type of contrast – –Recall difference, repeated, helmert etc.

In this example I chose a ‘simple’ contrast to test for habituation for the first session Compares each mean to some reference mean – –First block

More complex Your text provides an example of a 3 way repeated measures design – –Had we the trial data we could have done so for the mice example The concepts presented here extend to that without having to add any new techniques Effects: df Sn-1 Aa-1 –A x S(a-1)(n-1) Bb-1 –B x S(b-1)(n-1) Cc-1 –C x S(c-1)(n-1) A x B(a-1)(b-1) –AB x S(a-1)(b-1)(n-1) B x C(b-1)(c-1) –BC x S (b-1)(c-1)(n-1) A x C(a-1)(c-1) –A C x S (a-1)(c-1)(n-1) A x B x C(a-1)(b-1)(c-1) –ABC x S (a-1)(b-1)(c-1)(n-1)