Download presentation
Presentation is loading. Please wait.
Published byBridget Collins Modified over 9 years ago
1
Repeated Measures Designs
2
In a Repeated Measures Design We have experimental units that may be grouped according to one or several factors (the grouping factors) Then on each experimental unit we have not a single measurement but a group of measurements (the repeated measures) The repeated measures may be taken at combinations of levels of one or several factors (The repeated measures factors)
3
Example In the following study the experimenter was interested in how the level of a certain enzyme changed in cardiac patients after open heart surgery. The enzyme was measured immediately after surgery (Day 0), one day (Day 1), two days (Day 2) and one week (Day 7) after surgery for n = 15 cardiac surgical patients.
4
The data is given in the table below. Table: The enzyme levels -immediately after surgery (Day 0), one day (Day 1),two days (Day 2) and one week (Day 7) after surgery
5
The subjects are not grouped (single group). There is one repeated measures factor - Time – with levels –Day 0, –Day 1, –Day 2, –Day 7 This design is the same as a randomized block design with –Blocks = subjects
6
The Anova Model for a simple repeated measures design y 11 y 12 y 13 … y 1t y 21 y 22 y 23 … y 2t y n1 y n2 y 13 … y nt subjects Repeated measures
7
The Model y ij = the j th repeated measure on the i th subject = + i + j + ij where = the mean effect, i = the effect of subject i, j = the effect of time j, ij = random error.
8
The Anova Table for Enzyme Experiment The Subject Source of variability is modelling the variability between subjects The ERROR Source of variability is modelling the variability within subjects
9
Analysis Using SPSS - the data file The repeated measures are in columns
10
Select General Linear model -> Repeated Measures
11
Specify the repeated measures factors and the number of levels
12
Specify the variables that represent the levels of the repeated measures factor There is no Between subject factor in this example
13
The ANOVA table
14
The Multivariate Model for a Repeated measures design
15
The Anova (univariate) Model y ij = the j th repeated measure on the i th subject = + j + j + ij where = the mean effect, j = the effect of subject i, j = the effect of time j, ij = random error.
16
Implications of The Anova (univariate) Model j = the mean of y ij = + 0 + j + 0 = + j
17
The implication of the ANOVA model for a repeated measures design is that the correlation between repeated measures is constant.
18
The multivariate model for a repeated measures design Here Let denote a sample of n from the p-variate normal distribution with mean vector and covariance matrix . Allows for arbitrary correlation structure amongst the repeated measures – y i1, y i2, …, y it
19
Test for equality of repeated measures
20
Repeated measures equal X repeated measures t 123 …
21
Let Then
22
Consider the data This is a sample of n from the (t – 1)-variate normal distribution with mean vector and covariance matrix. The test for equality of repeated measures:
23
Hotelling’s T 2 test for equality of variables if H 0 is true than Thus we reject H 0 if F > F with 1 = p – 1 and 2 = n – t + 1 has an F distribution with 1 = t – 1 and 2 = n - t + 1
24
To perform the test, compute differences of successive variables for each case in the group and perform the one-sample Hotelling’s T 2 test for a zero mean vector
25
Example
26
In the following study the experimenter was interested in how the level of a certain enzyme changed in cardiac patients after open heart surgery. The enzyme was measured immediately after surgery (Day 0), one day (Day 1), two days (Day 2) and one week (Day 7) after surgery for n = 15 cardiac surgical patients.
27
The data is given in the table below. Table: The enzyme levels -immediately after surgery (Day 0), one day (Day 1),two days (Day 2) and one week (Day 7) after surgery
28
Example : (Repeated Measures Design - Grouping Factor) In the following study, similar to example 3, the experimenter was interested in how the level of a certain enzyme changed in cardiac patients after open heart surgery. In addition the experimenter was interested in how two drug treatments (A and B) would also effect the level of the enzyme.
29
The 24 patients were randomly divided into three groups of n= 8 patients. The first group of patients were left untreated as a control group while the second and third group were given drug treatments A and B respectively. Again the enzyme was measured immediately after surgery (Day 0), one day (Day 1), two days (Day 2) and one week (Day 7) after surgery for each of the cardiac surgical patients in the study.
30
Table: The enzyme levels - immediately after surgery (Day 0), one day (Day 1),two days (Day 2) and one week (Day 7) after surgery for three treatment groups (control, Drug A, Drug B)
31
The subjects are grouped by treatment –control, –Drug A, –Drug B There is one repeated measures factor - Time – with levels –Day 0, –Day 1, –Day 2, –Day 7
32
The Model y ikj = the j th repeated measure on the i th subject in the k th group = + k + kj (1) + j ki + kij (2) where = the mean effect, k = the effect of group i, j = the effect of time j, ij (1) = between subject error.
33
( ) kj = the group-time interaction effect ij (2) = within subject error.
34
The Anova Table There are two sources of Error in a repeated measures design: The between subject error – Error 1 and the within subject error – Error 2
35
Tables of means DrugDay 0Day 1Day 2Day 7Overall Control118.6377.8860.5055.7578.19 A103.2568.2552.0051.5068.75 B103.3869.3854.1351.5069.59 Overall108.4271.8355.5452.9272.18
37
The Multivariate approach to this data: k = 3 samples from 4-variate normal distribution
38
Analysis
39
Example : Repeated Measures Design - Two Grouping Factors In the following example, the researcher was interested in how the levels of Anxiety (high and low) and Tension (none and high) affected error rates in performing a specified task. In addition the researcher was interested in how the error rates also changed over time. Four groups of three subjects diagnosed in the four Anxiety-Tension categories were asked to perform the task at four different times patients in the study.
40
The number of errors committed at each instance is tabulated below.
41
The Anova Table
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.