Repeated Measures Data

Size: px
Start display at page:

Download "Repeated Measures Data"

Transcription

1 Repeated Measures Data Mixed Models Lecture Notes By Dr. Hanford page 1 Data where subjects are measured repeatedly over time - predetermined intervals (weekly) - uncontrolled variable intervals between measurements Reasons for repeated measures - ensure treatment is effective over a specified period - monitor safety aspects of the treatment over a specified period - measure length of time for treatment to become effective Objectives of repeated measures analysis - measure average treatment effect over time - assess possible time*treatment interactions - assess treatment response profile (e.g. rea Under Curve (UC), tmax, cmax) - identify possible covariance patterns in the repeated measurements - determine an appropriate model to describe the time and measurement relationship. Fixed effects approaches lthough it is possible to treat the patient/animal as a fixed effect in special situations, normally the patient/animal is treated as random. The book briefly covers a few of these situations in Chapter 6 and covers the advantages and disadvantages of these. Most of them require fixed time intervals and no missing data. Mixed model approaches dvantages of using mixed models with repeated measures data - a single model can be used to estimate overall treatment effects and to estimate treatment effects at each time point. - Missing data does not cause problems as long as they can be assumed missing at random. - The covariance pattern of the repeated measurements can be determined and taken into account. Covariance Pattern Models Several ways to analyze repeated measures data using mixed models are available. The first one we will cover is the random effects model with animal effects treated as random. It allows for constant correlation between all observations on the same animal. However,

2 Mixed Models Lecture Notes By Dr. Hanford page 1 correlations between observations on the same animal are not always constant. Observations recorded on consecutive visits may be more highly correlated than observations measured on visits further apart. covariance pattern model can be used to model this. The basic structure of the covariance pattern model is R1 R R R R5 R R6 R7 R8 R9 R1 Where the submatrix R i covariance block correspond to the ith animal where the dimension of the submatrix correspond to the number of repeated measurements for animal i. The s are also block matrices that correspond between observations of different animals and assumes that the correlation between observations among animals are zero. Covariance patterns There are a large number of possible covariance patterns for each of the submatrices R i available for mixed models. We will present several of the more commonly used patterns which are available in SS. Simple covariance patterns For our example, we will include animals, where nimal 1 had visits, nimal had visits and nimal had visits, where the visits are at fixed times. Independent covariance pattern If the within-subjects correlation is zero, the covariance model is called independent and is the simplest model. The number of parameters that need to be estimated is equal to the number of visits and assumes that the visits are independent. This covariance structure is also referred to as heterogeneous uncorrelated because it allows for differing variances at each visit. For our example, the independent covariance pattern would be

3 Mixed Models Lecture Notes By Dr. Hanford page R 1 General or unstructured covariance pattern However, in most experiments there is more than likely some correlation present. If the correlation between each pair of visits (θ ij ) (within-subjects correlation) is allowed to differ and the variance for each time point (σ i ) is allowed to differ, then the covariance pattern is called general or unstructured. This is the most complex of the simple correlation patterns. The number of parameters that need to be estimated is (N*(N+1))/. For example, if there are visits (N=), then the number of parameters would be (*5)/=1. The general covariance pattern for our example follows: R First-order autoregressive covariance pattern When time periods are evenly spaced, the first-order autoregressive model is sometimes appropriate. This model is also referred to as R(1). In this model, the variances are the same for all of the visits and the covariances decrease exponentially depending on their distance (θ ij = ρ i-j σ ). Note that the covariance is a function of the variance so the scalar variance can be pulled out of the matrix and that there are only two parameters that need to be estimated. For our example, the first-order autoregressive would be:

4 Mixed Models Lecture Notes By Dr. Hanford page R Compound symmetry covariance pattern If all of the covariances among the visits are thought to be the same, then the compound symmetry covariance pattern is used. This pattern does not make any assumption about the relationship between the variance and covariance and only has two parameters that need to be estimated. For our example, this would be: R Toeplitz covariance pattern The Toeplitz covariance is similar to the first-order autoregressive covariance pattern in the way that the pairs separated by the same distance share the same correlations. But with the Toeplitz covariance pattern there is no known function relating the ρ values to the distance. This covariance pattern makes sense when visits are equally spaced. The number of parameters that need to be estimated is equal to the maximum number of visits, which is greater than the two parameters needed for R(1). For our example, the Toeplitz covariance pattern would be

5 R Mixed Models Lecture Notes By Dr. Hanford page Heterogeneous variances among visits The first-order autoregressive, compound symmetry and Toeplitz covariance patterns all assumed that the variances for all of the visits were the same. However, sometimes variability will differ between the visits for the trait being measured. In other words, the variances are heterogeneous. The independent and general covariance patterns allowed for heterogeneity among the variances. The R(1), compound symmetry and Toeplitz covariance patterns can also be modified to allow for heterogeneous variances and are presented for our example. Heterogeneous first-order autoregressive The number of parameters needed for the heterogeneous R(1) is the number of visits plus 1. In our example, with visits, we have 5 parameters that need to be estimated. R Heterogeneous compound symmetry The number of parameters needed for the heterogeneous compound symmetry is also the number of visits plus 1.

6 R Mixed Models Lecture Notes By Dr. Hanford page Heterogeneous Toeplitz Just as with the homogeneous covariance patterns, the number of parameters that need to be estimated for the heterogeneous Toeplitz covariance pattern is greater than for heterogeneous R(1) or compound symmetry. gain, this is because there is no known function relating the ρ values to the distance. For our example, the heterogeneous Toeplitz covariance pattern would be R First-order ante dependence covariance pattern If visits are not equally spaced and the correlation structure changes over time, the R(1) and Toeplitz covariance patterns no longer make the most sense. The first-order ante dependence covariance pattern NTE(1) is a more general model that keeps the main features of the R(1) and Toeplitz, but allows for unequal visit spacing and changes in the correlation structure over time.

7 Mixed Models Lecture Notes By Dr. Hanford page R Note that the NTE(1) covariance pattern - permits the variance among observations to change over time - permits the correlations to change over time (correlations between pairs of observations is the product of the correlations between adjacent times between observations) - N-1 parameters estimated. For our example *-1=7. Separate covariance patterns for each treatment Response to treatment may differ in amount of variability, so different sets of covariance parameters may be used for each treatment group. For our example, nimals 1 and received Treatment and nimal received Treatment B. Previously, when we assumed homogeneous treatment variances, the number of parameters that needed to be estimated was two. ssuming heterogeneous treatment variances increases the number of parameters multiplicatively by the number of treatments. For our two treatment example, this would be *= parameters. If the compound symmetry covariance structure is used, the structure we would now have would be R B B B B B B B B B B B B B B B B In our example, we present only animals. If we assume that there are additional animals in the study and that the maximum number of visits for the study is, for the

8 Mixed Models Lecture Notes By Dr. Hanford page 19 general or unstructured pattern, the number of parameters in our example would be *1=.,1,1,1,1,,,1,, B,1 B,1 B,1 B,1 R B,1 B, B,, B B,1 B, B, B, B,1 B, B, B,,1,1,1, Banded covariances With the exception of the independent structure, all of the above covariance pattern structures assumed that there was some correlation among visits. s the distance in visit number between two different visits increases, the correlation between the observations from the visits in most cases decreases. The correlations between widely separated observations is close to zero and banding the covariance matrices by setting correlations between these observations to zero may be appropriate. The advantage of using a banded covariance structure is that it reduces the number of parameters that need to be estimated. Banding is very useful in experiments where there are a large number of visits or measurement time points. For example, if in our example, we used a band size of with a general covariance pattern, we would get the following, where the θ correlation parameter is assumed to be zero and is not estimated: R Selecting an appropriate covariance pattern There are many choices of covariance patterns for modeling repeated measures data. Choosing the most appropriate pattern is important in order to draw accurate conclusions.

9 Mixed Models Lecture Notes By Dr. Hanford page 1 If the covariance pattern chosen is too simple, then you risk increasing Type I error rate and underestimating standard errors. If the covariance pattern chosen is too complex, you sacrifice power and efficiency. s more covariance parameters are included, the chances of over fitting increase. There are tools available to help select a covariance pattern. First, there are graphical tools to help you visualize patterns of correlation between observations at different times. We will go through examples of graphical tools later. Secondly, there are measures of model fit, including information criteria and statistical comparison between models. Information criteria Information criteria measure the relative fit of competing covariance patterns. s more parameters are included in the model, the likelihood statistic is expected to become larger. There are two statistics based on the likelihood that make allowance for the number of covariance parameters fitted and can be used to compare two models which fit the same fixed effects. kaike s information criterion (IC) IC=log(L)-q Where q is the number of covariance parameters and log(l) is the log of the likelihood for the model. SS calculates the IC as -(log(l))+q. The second statistic is Schwarz s information criterion (SIC) SIC=log(L)-(q*log(N-p))/ Where p is the number of fixed effects, N is the number of observations and q is the number of covariance parameters. This is also referred to as the BIC (Bayesian information criterion) or SBC (Schwarz's Bayesian information criterion). SS calculates the BIC as -(log(l))+(q*log(n-p)) where N is the number of subjects. Models with larger values of IC and SIC as presented in the text mean better fit. With SS PROC MIXED, smaller means a better fit. Whether IC or BIC is better is not clear. Statistical comparison between models The likelihood ratio test can also be used to compare models which fit the same fixed effects and whose covariance patterns are nested. Nesting is when the covariance pattern in the simpler model can be obtained by restricting some of the parameters in the more complex model. n example of this would be as follows: R compound symmetry pattern is nested within

10 Mixed Models Lecture Notes By Dr. Hanford page 11 R Toeplitz pattern, because a restriction on the Toeplitz pattern that θ 1 =θ would be the same as the compound symmetry pattern. However, the compound symmetry pattern is not nested within the R(1) R because the off diagonal elements in the R(1) are a function of both the σ and the ρ. The likelihood ratio test statistic is (log(l 1 )-log(l )) ~ χ df where df=difference in number of covariance parameters fitted. Which covariance patterns to consider? good strategy is to start with simple patterns such as compound symmetry or R(1). Once the general covariance pattern is determined, more complex patterns based on the selected general covariance pattern can be investigated. The more complex pattern would be accepted only if using them leads to a significant improvement in the likelihood. If there are only a few repeated measurements, there will be little difference between models using different covariance patterns on overall treatment effects. The compound symmetry pattern is likely to be robust and can be used with reasonable confidence. Example: Covariance pattern models for normal data We will use the blood pressure data again, but this time consider the repeated measures data. The table below summarizes the number of patients that attended each visit. Visit Treatment Treatment B Treatment C Total

11 Mixed Models Lecture Notes By Dr. Hanford page 1 Visualizing correlation patterns graphically The first graphical tool is visualizing the correlation structure by plotting changes in covariance and correlation among residuals on the same subject at different times over distance between times of observations. The following PROC MIXED program allows us to obtain the correlations and covariances among the residuals. proc mixed data=dbp; class trt pat visit; model dbp=trt visit; repeated/type=un subject=pat(trt) sscp rcorr; ods output covparms=cov; ods output rcorr=corr; run; The repeated statement determines the form of the covariance, type=un specifies an unstructured correlation pattern within each pat(trt). subject=pat(trt) specifies that errors are correlated within each pat(trt). In other words, the observations on different pat(trt) levels are independent, but observations on the same pat(trt) are not. The sscp option causes the cov(e ijk,e ijk' ) to be computed directly from the corrected sums of squares and cross products matrix rather than the default REML procedure. The rcorr option causes the correlations to be computed. The two ODS statements create new SS data sets containing the covariances and correlations. The following code sets up the dataset for producing the plot for visualizing correlation patterns data times; do time1=1 to ; do time=1 to time1; dist=time1-time; output; end; end; run; Obs time1 time dist CovParm Subject Estimate UN(1,1) pat(trt) UN(,1) pat(trt) UN(,) pat(trt) UN(,1) pat(trt) UN(,) pat(trt) UN(,) pat(trt) UN(,1) pat(trt) UN(,) pat(trt) UN(,) pat(trt) UN(,) pat(trt) These are the estimated covariances among residuals on the same subject at different times over distance between times of observations. For example UN(,1) is the

12 Mixed Models Lecture Notes By Dr. Hanford page 1 covariance between the first and fourth time points. The following SS code plots the above covariances. data complot; merge times cov; proc print; run; axis1 value=(font=swiss h=) label=(angle=9 f=swiss h= 'Covariance of between Subj effects'); axis value=(font=swiss h=) label=(f=swiss h= 'Distance'); legend1 value=(font=swiss h=) label=(f=swiss h= 'From Time'); symbol1 color=black interpol=join line=1 value=square; symbol color=black interpol=join line= value=circle; symbol color=black interpol=join line= value=triangle; symbol color=black interpol=join line= value=star; proc gplot data=covplot; plot estimate*dist=time/vaxis=axis1 haxis=axis legend=legend1; run; The values plotted at distance= are the variances among the observations at each of the four visits. These range from about 7 to 9. This small range along with no trend of increasing or decreasing variance with visit, suggests that a covariance pattern with a constant variance over time, such as a Toeplitz or R(1) will probably be adequate. s

13 Mixed Models Lecture Notes By Dr. Hanford page 1 the distance between pairs of observations increases, the covariance tends to decrease, again suggesting a Toeplitz or R(1) covariance pattern. Even though the plot narrows the choice of which covariance patterns may be appropriate, we will fit and compare six different covariance patterns to our data. Model Covariance pattern 1 compound symmetry first order autoregressive (R(1)) Toeplitz General 5 Separate compound symmetry for each treatment group 6 Separate Toeplitz pattern for each treatment group Treatment, time, treatment*time and baseline effects will be included as fixed effects. The following SS code fits the compound symmetry model. proc mixed data=dbp; class trt pat visit; model dbp=trt visit dbp; repeated visit/type=cs subject=pat r rcorr; run; The following output is produced. Model Information Data Set Dependent Variable Covariance Structure Subject Effect Estimation Method Residual Variance Method Fixed Effects SE Method Degrees of Freedom Method WORK.DBP dbp Compound Symmetry pat REML Profile Model-Based Between-Within Dimensions Covariance Parameters Columns in X 1 Columns in Z Subjects 88 Max Obs Per Subject Number of Observations Number of Observations Read 19 Number of Observations Used 19 Number of Observations Not Used Iteration History Iteration Evaluations - Res Log Like Criterion

14 Mixed Models Lecture Notes By Dr. Hanford page Convergence criteria met. Estimated R Matrix for pat Estimated R Correlation Matrix for pat Covariance Parameter Estimates Cov Parm Subject Estimate CS pat.169 Residual 6.1 Fit Statistics - Res Log Likelihood 76. IC (smaller is better) 767. ICC (smaller is better) 767. BIC (smaller is better) 77.7 The next three models use the same SS code, except the type= is modified as follows: type=r(1) for R(1) type=toep for Toeplitz type=un for general or unstructured The following are the covariance parameters and information criterion R(1) Residual Estimated R Correlation Matrix for R(1) Res Log Likelihood 785. IC (smaller is better) 789. ICC (smaller is better) 789. BIC (smaller is better) Toeplitz Residual Estimated R Correlation Matrix for Toeplitz

15 Mixed Models Lecture Notes By Dr. Hanford page Res Log Likelihood 75.6 IC (smaller is better) ICC (smaller is better) BIC (smaller is better) 77. General or Unstructured UN(1,1) pat UN(,) pat 7.91 UN(,) pat UN(,) pat 7.58 Estimated R Correlation Matrix for General or Unstructured Res Log Likelihood 7. IC (smaller is better) 76. ICC (smaller is better) 76.5 BIC (smaller is better) The following table summarizes the fit information for the four models Model - Res Log (L) IC BIC 1 compound symmetry first order autoregressive (R(1)) Toeplitz General For all of the models, correlations between visits are positive, indicating that it is important to take into account the correlations between repeated measures. Comparing the fit statistics among these first four covariance patterns, it appears that the compound symmetry (the simplest model with covariance parameters) and the Toeplitz (with covariance parameters) covariance patterns fit the data better than either the R(1) or general covariance patterns. The compound symmetry model is nested within the Toeplitz pattern, so they can be compared statistically using the likelihood ratio test. The likelihood ratio test statistic would be (log(l 1 )-log(l )) ~ χ df = (.5*76.-.5*75.6)= =1.8 =. The p-value associated with this =., indicating that the Toeplitz structure is a significant improvement over the simpler compound symmetry structure. Model 5 s covariance pattern allows for differences in variances and covariances among the treatments. The SS code for fitting this model with a compound symmetry covariance pattern follows proc mixed noclprint data=dbp; class trt pat visit;

16 Mixed Models Lecture Notes By Dr. Hanford page 17 model dbp=trt visit dbp/ddfm=satterth; repeated visit/type=cs subject=pat group=trt r=1,, rcorr=1,,; run; There are a couple of additions/changes in the repeated statement. group=trt allows for estimation of the parameters by treatment. r=1,, rcorr=1,, indicates that the covariance matrices and correlation matrices for Patients 1( Trt C), (Trt B), and (Trt ) be printed out. Following are the results for Model 5 Estimated R Matrix for pat 1 - Treatment C Estimated R Correlation Matrix for pat 1 - Treatment C Estimated R Matrix for pat - Treatment B

17 Mixed Models Lecture Notes By Dr. Hanford page 18 Estimated R Correlation Matrix for pat - Treatment B Estimated R Matrix for pat Treatment Estimated R Correlation Matrix for pat Treatment Covariance Parameter Estimates Cov Parm Subject Group Estimate Variance pat trt 9.9 CS pat trt Variance pat trt B CS pat trt B Variance pat trt C CS pat trt C 7.99 Fit Statistics - Res Log Likelihood 77.5 IC (smaller is better) ICC (smaller is better) BIC (smaller is better) Looking at the results, the pattern for compound symmetry differ among the treatments, indicating that separate covariances for each treatment group may be necessary. Because Model (Toeplitz) fit significantly better than Model 1 (compound symmetry), a Toeplitz model fitting for separate covariances for each treatment group should be fitted next (Model 6) with the following SS code and results. proc mixed data=dbp; class trt pat visit; model dbp=trt visit dbp; repeated visit/type=toep subject=pat group=trt r=1,, rcorr=1,,; lsmeans trt/ diff pdiff cl; Estimated R Matrix for pat 1 - Treatment C Estimated R Correlation Matrix for pat

18 Mixed Models Lecture Notes By Dr. Hanford page Estimated R Matrix for pat - Treatment B Estimated R Correlation Matrix for pat Estimated R Matrix for pat Estimated R Correlation Matrix for pat Covariance Parameter Estimates Cov Parm Subject Group Estimate Variance pat trt TOEP() pat trt TOEP() pat trt 1.77 TOEP() pat trt.17 Variance pat trt B 68.1 TOEP() pat trt B 8.9 TOEP() pat trt B.76 TOEP() pat trt B Variance pat trt C TOEP() pat trt C 5.76 TOEP() pat trt C 6.95 TOEP() pat trt C 5.75 Fit Statistics - Res Log Likelihood 7. IC (smaller is better) 78. ICC (smaller is better) 78. BIC (smaller is better) Both the simple Toeplitz model (Model ), and the compound symmetry with treatment model (Model 5) are nested within Model 6, so we can test to see if Model 6 fits significantly better than the other two models. Model ( parameters) vs Model 6 (1 parameters) (log(l 1 )-log(l )) ~ χ df = =6.6= 8 (p=.8) Model 5 (6 parameters) vs Model 6 (1 parameters)

19 Mixed Models Lecture Notes By Dr. Hanford page 15 (log(l 1 )-log(l )) ~ χ df = =.5= 6 (p=.6) Therefore, we are statistically justified in using the more complex covariance pattern. This may partly be due to the large size of the trial, which allows us to estimate the covariances with reasonable accuracy.

over Time line for the means). Specifically, & covariances) just a fixed variance instead. PROC MIXED: to 1000 is default) list models with TYPE=VC */

over Time line for the means). Specifically, & covariances) just a fixed variance instead. PROC MIXED: to 1000 is default) list models with TYPE=VC */ CLP 944 Example 4 page 1 Within-Personn Fluctuation in Symptom Severity over Time These data come from a study of weekly fluctuation in psoriasis severity. There was no intervention and no real reason

More information

Repeated Measures Design. Advertising Sales Example

Repeated Measures Design. Advertising Sales Example STAT:5201 Anaylsis/Applied Statistic II Repeated Measures Design Advertising Sales Example A company is interested in comparing the success of two different advertising campaigns. It has 10 test markets,

More information

Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED. Maribeth Johnson Medical College of Georgia Augusta, GA

Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED. Maribeth Johnson Medical College of Georgia Augusta, GA Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED Maribeth Johnson Medical College of Georgia Augusta, GA Overview Introduction to longitudinal data Describe the data for examples

More information

Analysis of Longitudinal Data: Comparison between PROC GLM and PROC MIXED.

Analysis of Longitudinal Data: Comparison between PROC GLM and PROC MIXED. Analysis of Longitudinal Data: Comparison between PROC GLM and PROC MIXED. Maribeth Johnson, Medical College of Georgia, Augusta, GA ABSTRACT Longitudinal data refers to datasets with multiple measurements

More information

Describing Within-Person Fluctuation over Time using Alternative Covariance Structures

Describing Within-Person Fluctuation over Time using Alternative Covariance Structures Describing Within-Person Fluctuation over Time using Alternative Covariance Structures Today s Class: The Big Picture ACS models using the R matrix only Introducing the G, Z, and V matrices ACS models

More information

SAS Syntax and Output for Data Manipulation:

SAS Syntax and Output for Data Manipulation: CLP 944 Example 5 page 1 Practice with Fixed and Random Effects of Time in Modeling Within-Person Change The models for this example come from Hoffman (2015) chapter 5. We will be examining the extent

More information

Models for longitudinal data

Models for longitudinal data Faculty of Health Sciences Contents Models for longitudinal data Analysis of repeated measurements, NFA 016 Julie Lyng Forman & Lene Theil Skovgaard Department of Biostatistics, University of Copenhagen

More information

Repeated Measures Modeling With PROC MIXED E. Barry Moser, Louisiana State University, Baton Rouge, LA

Repeated Measures Modeling With PROC MIXED E. Barry Moser, Louisiana State University, Baton Rouge, LA Paper 188-29 Repeated Measures Modeling With PROC MIXED E. Barry Moser, Louisiana State University, Baton Rouge, LA ABSTRACT PROC MIXED provides a very flexible environment in which to model many types

More information

Introduction to SAS proc mixed

Introduction to SAS proc mixed Faculty of Health Sciences Introduction to SAS proc mixed Analysis of repeated measurements, 2017 Julie Forman Department of Biostatistics, University of Copenhagen Outline Data in wide and long format

More information

RANDOM and REPEATED statements - How to Use Them to Model the Covariance Structure in Proc Mixed. Charlie Liu, Dachuang Cao, Peiqi Chen, Tony Zagar

RANDOM and REPEATED statements - How to Use Them to Model the Covariance Structure in Proc Mixed. Charlie Liu, Dachuang Cao, Peiqi Chen, Tony Zagar Paper S02-2007 RANDOM and REPEATED statements - How to Use Them to Model the Covariance Structure in Proc Mixed Charlie Liu, Dachuang Cao, Peiqi Chen, Tony Zagar Eli Lilly & Company, Indianapolis, IN ABSTRACT

More information

ANOVA Longitudinal Models for the Practice Effects Data: via GLM

ANOVA Longitudinal Models for the Practice Effects Data: via GLM Psyc 943 Lecture 25 page 1 ANOVA Longitudinal Models for the Practice Effects Data: via GLM Model 1. Saturated Means Model for Session, E-only Variances Model (BP) Variances Model: NO correlation, EQUAL

More information

A SAS Macro to Find the Best Fitted Model for Repeated Measures Using PROC MIXED

A SAS Macro to Find the Best Fitted Model for Repeated Measures Using PROC MIXED Paper AD18 A SAS Macro to Find the Best Fitted Model for Repeated Measures Using PROC MIXED Jingjing Wang, U.S. Army Institute of Surgical Research, Ft. Sam Houston, TX ABSTRACT Specifying an appropriate

More information

Subject-specific observed profiles of log(fev1) vs age First 50 subjects in Six Cities Study

Subject-specific observed profiles of log(fev1) vs age First 50 subjects in Six Cities Study Subject-specific observed profiles of log(fev1) vs age First 50 subjects in Six Cities Study 1.4 0.0-6 7 8 9 10 11 12 13 14 15 16 17 18 19 age Model 1: A simple broken stick model with knot at 14 fit with

More information

POWER ANALYSIS TO DETERMINE THE IMPORTANCE OF COVARIANCE STRUCTURE CHOICE IN MIXED MODEL REPEATED MEASURES ANOVA

POWER ANALYSIS TO DETERMINE THE IMPORTANCE OF COVARIANCE STRUCTURE CHOICE IN MIXED MODEL REPEATED MEASURES ANOVA POWER ANALYSIS TO DETERMINE THE IMPORTANCE OF COVARIANCE STRUCTURE CHOICE IN MIXED MODEL REPEATED MEASURES ANOVA A Thesis Submitted to the Graduate Faculty of the North Dakota State University of Agriculture

More information

Topic 25 - One-Way Random Effects Models. Outline. Random Effects vs Fixed Effects. Data for One-way Random Effects Model. One-way Random effects

Topic 25 - One-Way Random Effects Models. Outline. Random Effects vs Fixed Effects. Data for One-way Random Effects Model. One-way Random effects Topic 5 - One-Way Random Effects Models One-way Random effects Outline Model Variance component estimation - Fall 013 Confidence intervals Topic 5 Random Effects vs Fixed Effects Consider factor with numerous

More information

Introduction to SAS proc mixed

Introduction to SAS proc mixed Faculty of Health Sciences Introduction to SAS proc mixed Analysis of repeated measurements, 2017 Julie Forman Department of Biostatistics, University of Copenhagen 2 / 28 Preparing data for analysis The

More information

Introduction to Within-Person Analysis and RM ANOVA

Introduction to Within-Person Analysis and RM ANOVA Introduction to Within-Person Analysis and RM ANOVA Today s Class: From between-person to within-person ANOVAs for longitudinal data Variance model comparisons using 2 LL CLP 944: Lecture 3 1 The Two Sides

More information

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 Part 1 of this document can be found at http://www.uvm.edu/~dhowell/methods/supplements/mixed Models for Repeated Measures1.pdf

More information

Dynamic Determination of Mixed Model Covariance Structures. in Double-blind Clinical Trials. Matthew Davis - Omnicare Clinical Research

Dynamic Determination of Mixed Model Covariance Structures. in Double-blind Clinical Trials. Matthew Davis - Omnicare Clinical Research PharmaSUG2010 - Paper SP12 Dynamic Determination of Mixed Model Covariance Structures in Double-blind Clinical Trials Matthew Davis - Omnicare Clinical Research Abstract With the computing power of SAS

More information

SAS Syntax and Output for Data Manipulation: CLDP 944 Example 3a page 1

SAS Syntax and Output for Data Manipulation: CLDP 944 Example 3a page 1 CLDP 944 Example 3a page 1 From Between-Person to Within-Person Models for Longitudinal Data The models for this example come from Hoffman (2015) chapter 3 example 3a. We will be examining the extent to

More information

Answer to exercise: Blood pressure lowering drugs

Answer to exercise: Blood pressure lowering drugs Answer to exercise: Blood pressure lowering drugs The data set bloodpressure.txt contains data from a cross-over trial, involving three different formulations of a drug for lowering of blood pressure:

More information

Lecture 4. Random Effects in Completely Randomized Design

Lecture 4. Random Effects in Completely Randomized Design Lecture 4. Random Effects in Completely Randomized Design Montgomery: 3.9, 13.1 and 13.7 1 Lecture 4 Page 1 Random Effects vs Fixed Effects Consider factor with numerous possible levels Want to draw inference

More information

Correlated data. Longitudinal data. Typical set-up for repeated measurements. Examples from literature, I. Faculty of Health Sciences

Correlated data. Longitudinal data. Typical set-up for repeated measurements. Examples from literature, I. Faculty of Health Sciences Faculty of Health Sciences Longitudinal data Correlated data Longitudinal measurements Outline Designs Models for the mean Covariance patterns Lene Theil Skovgaard November 27, 2015 Random regression Baseline

More information

SAS Code for Data Manipulation: SPSS Code for Data Manipulation: STATA Code for Data Manipulation: Psyc 945 Example 1 page 1

SAS Code for Data Manipulation: SPSS Code for Data Manipulation: STATA Code for Data Manipulation: Psyc 945 Example 1 page 1 Psyc 945 Example page Example : Unconditional Models for Change in Number Match 3 Response Time (complete data, syntax, and output available for SAS, SPSS, and STATA electronically) These data come from

More information

Testing Indirect Effects for Lower Level Mediation Models in SAS PROC MIXED

Testing Indirect Effects for Lower Level Mediation Models in SAS PROC MIXED Testing Indirect Effects for Lower Level Mediation Models in SAS PROC MIXED Here we provide syntax for fitting the lower-level mediation model using the MIXED procedure in SAS as well as a sas macro, IndTest.sas

More information

Covariance Structure Approach to Within-Cases

Covariance Structure Approach to Within-Cases Covariance Structure Approach to Within-Cases Remember how the data file grapefruit1.data looks: Store sales1 sales2 sales3 1 62.1 61.3 60.8 2 58.2 57.9 55.1 3 51.6 49.2 46.2 4 53.7 51.5 48.3 5 61.4 58.7

More information

Correlated data. Repeated measurements over time. Typical set-up for repeated measurements. Traditional presentation of data

Correlated data. Repeated measurements over time. Typical set-up for repeated measurements. Traditional presentation of data Faculty of Health Sciences Repeated measurements over time Correlated data NFA, May 22, 2014 Longitudinal measurements Julie Lyng Forman & Lene Theil Skovgaard Department of Biostatistics University of

More information

STAT 5200 Handout #23. Repeated Measures Example (Ch. 16)

STAT 5200 Handout #23. Repeated Measures Example (Ch. 16) Motivating Example: Glucose STAT 500 Handout #3 Repeated Measures Example (Ch. 16) An experiment is conducted to evaluate the effects of three diets on the serum glucose levels of human subjects. Twelve

More information

Serial Correlation. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology

Serial Correlation. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology Serial Correlation Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 017 Model for Level 1 Residuals There are three sources

More information

Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p.

Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p. 22s:173 Combining multiple factors into a single superfactor Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p.422 Oehlert)

More information

Chapter 9. Multivariate and Within-cases Analysis. 9.1 Multivariate Analysis of Variance

Chapter 9. Multivariate and Within-cases Analysis. 9.1 Multivariate Analysis of Variance Chapter 9 Multivariate and Within-cases Analysis 9.1 Multivariate Analysis of Variance Multivariate means more than one response variable at once. Why do it? Primarily because if you do parallel analyses

More information

Longitudinal Studies. Cross-Sectional Studies. Example: Y i =(Y it1,y it2,...y i,tni ) T. Repeatedly measure individuals followed over time

Longitudinal Studies. Cross-Sectional Studies. Example: Y i =(Y it1,y it2,...y i,tni ) T. Repeatedly measure individuals followed over time Longitudinal Studies Cross-Sectional Studies Repeatedly measure individuals followed over time One observation on each subject Sometimes called panel studies (e.g. Economics, Sociology, Food Science) Different

More information

Step 2: Select Analyze, Mixed Models, and Linear.

Step 2: Select Analyze, Mixed Models, and Linear. Example 1a. 20 employees were given a mood questionnaire on Monday, Wednesday and again on Friday. The data will be first be analyzed using a Covariance Pattern model. Step 1: Copy Example1.sav data file

More information

UNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL 2010 EXAMINATIONS STA 303 H1S / STA 1002 HS. Duration - 3 hours. Aids Allowed: Calculator

UNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL 2010 EXAMINATIONS STA 303 H1S / STA 1002 HS. Duration - 3 hours. Aids Allowed: Calculator UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2010 EXAMINATIONS STA 303 H1S / STA 1002 HS Duration - 3 hours Aids Allowed: Calculator LAST NAME: FIRST NAME: STUDENT NUMBER: There are 27 pages

More information

Biostatistics 301A. Repeated measurement analysis (mixed models)

Biostatistics 301A. Repeated measurement analysis (mixed models) B a s i c S t a t i s t i c s F o r D o c t o r s Singapore Med J 2004 Vol 45(10) : 456 CME Article Biostatistics 301A. Repeated measurement analysis (mixed models) Y H Chan Faculty of Medicine National

More information

Review of Multilevel Models for Longitudinal Data

Review of Multilevel Models for Longitudinal Data Review of Multilevel Models for Longitudinal Data Topics: Concepts in longitudinal multilevel modeling Describing within-person fluctuation using ACS models Describing within-person change using random

More information

Review of Unconditional Multilevel Models for Longitudinal Data

Review of Unconditional Multilevel Models for Longitudinal Data Review of Unconditional Multilevel Models for Longitudinal Data Topics: Course (and MLM) overview Concepts in longitudinal multilevel modeling Model comparisons and significance testing Describing within-person

More information

Introduction to Random Effects of Time and Model Estimation

Introduction to Random Effects of Time and Model Estimation Introduction to Random Effects of Time and Model Estimation Today s Class: The Big Picture Multilevel model notation Fixed vs. random effects of time Random intercept vs. random slope models How MLM =

More information

This is a Randomized Block Design (RBD) with a single factor treatment arrangement (2 levels) which are fixed.

This is a Randomized Block Design (RBD) with a single factor treatment arrangement (2 levels) which are fixed. EXST3201 Chapter 13c Geaghan Fall 2005: Page 1 Linear Models Y ij = µ + βi + τ j + βτij + εijk This is a Randomized Block Design (RBD) with a single factor treatment arrangement (2 levels) which are fixed.

More information

Linear Mixed Models with Repeated Effects

Linear Mixed Models with Repeated Effects 1 Linear Mixed Models with Repeated Effects Introduction and Examples Using SAS/STAT Software Jerry W. Davis, University of Georgia, Griffin Campus. Introduction Repeated measures refer to measurements

More information

Confidence Intervals for One-Way Repeated Measures Contrasts

Confidence Intervals for One-Way Repeated Measures Contrasts Chapter 44 Confidence Intervals for One-Way Repeated easures Contrasts Introduction This module calculates the expected width of a confidence interval for a contrast (linear combination) of the means in

More information

Review of CLDP 944: Multilevel Models for Longitudinal Data

Review of CLDP 944: Multilevel Models for Longitudinal Data Review of CLDP 944: Multilevel Models for Longitudinal Data Topics: Review of general MLM concepts and terminology Model comparisons and significance testing Fixed and random effects of time Significance

More information

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model Topic 17 - Single Factor Analysis of Variance - Fall 2013 One way ANOVA Cell means model Factor effects model Outline Topic 17 2 One-way ANOVA Response variable Y is continuous Explanatory variable is

More information

Describing Change over Time: Adding Linear Trends

Describing Change over Time: Adding Linear Trends Describing Change over Time: Adding Linear Trends Longitudinal Data Analysis Workshop Section 7 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development Section

More information

Analysis of variance and regression. May 13, 2008

Analysis of variance and regression. May 13, 2008 Analysis of variance and regression May 13, 2008 Repeated measurements over time Presentation of data Traditional ways of analysis Variance component model (the dogs revisited) Random regression Baseline

More information

Lecture 10: Experiments with Random Effects

Lecture 10: Experiments with Random Effects Lecture 10: Experiments with Random Effects Montgomery, Chapter 13 1 Lecture 10 Page 1 Example 1 A textile company weaves a fabric on a large number of looms. It would like the looms to be homogeneous

More information

Modelling the Covariance

Modelling the Covariance Modelling the Covariance Jamie Monogan Washington University in St Louis February 9, 2010 Jamie Monogan (WUStL) Modelling the Covariance February 9, 2010 1 / 13 Objectives By the end of this meeting, participants

More information

SAS Program Part 1: proc import datafile="y:\iowa_classes\stat_5201_design\examples\2-23_drillspeed_feed\mont_5-7.csv" out=ds dbms=csv replace; run;

SAS Program Part 1: proc import datafile=y:\iowa_classes\stat_5201_design\examples\2-23_drillspeed_feed\mont_5-7.csv out=ds dbms=csv replace; run; STAT:5201 Applied Statistic II (two-way ANOVA with contrasts Two-Factor experiment Drill Speed: 125 and 200 Feed Rate: 0.02, 0.03, 0.05, 0.06 Response: Force All 16 runs were done in random order. This

More information

17. Example SAS Commands for Analysis of a Classic Split-Plot Experiment 17. 1

17. Example SAS Commands for Analysis of a Classic Split-Plot Experiment 17. 1 17 Example SAS Commands for Analysis of a Classic SplitPlot Experiment 17 1 DELIMITED options nocenter nonumber nodate ls80; Format SCREEN OUTPUT proc import datafile"c:\data\simulatedsplitplotdatatxt"

More information

2 >1. That is, a parallel study design will require

2 >1. That is, a parallel study design will require Cross Over Design Cross over design is commonly used in various type of research for its unique feature of accounting for within subject variability. For studies with short length of treatment time, illness

More information

36-402/608 Homework #10 Solutions 4/1

36-402/608 Homework #10 Solutions 4/1 36-402/608 Homework #10 Solutions 4/1 1. Fixing Breakout 17 (60 points) You must use SAS for this problem! Modify the code in wallaby.sas to load the wallaby data and to create a new outcome in the form

More information

Contrasting Marginal and Mixed Effects Models Recall: two approaches to handling dependence in Generalized Linear Models:

Contrasting Marginal and Mixed Effects Models Recall: two approaches to handling dependence in Generalized Linear Models: Contrasting Marginal and Mixed Effects Models Recall: two approaches to handling dependence in Generalized Linear Models: Marginal models: based on the consequences of dependence on estimating model parameters.

More information

STAT3401: Advanced data analysis Week 10: Models for Clustered Longitudinal Data

STAT3401: Advanced data analysis Week 10: Models for Clustered Longitudinal Data STAT3401: Advanced data analysis Week 10: Models for Clustered Longitudinal Data Berwin Turlach School of Mathematics and Statistics Berwin.Turlach@gmail.com The University of Western Australia Models

More information

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS 1 WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS I. Single-factor designs: the model is: yij i j ij ij where: yij score for person j under treatment level i (i = 1,..., I; j = 1,..., n) overall mean βi treatment

More information

Multi-factor analysis of variance

Multi-factor analysis of variance Faculty of Health Sciences Outline Multi-factor analysis of variance Basic statistics for experimental researchers 2015 Two-way ANOVA and interaction Mathed samples ANOVA Random vs systematic variation

More information

Hypothesis Testing for Var-Cov Components

Hypothesis Testing for Var-Cov Components Hypothesis Testing for Var-Cov Components When the specification of coefficients as fixed, random or non-randomly varying is considered, a null hypothesis of the form is considered, where Additional output

More information

REPEATED MEASURES. Copyright c 2012 (Iowa State University) Statistics / 29

REPEATED MEASURES. Copyright c 2012 (Iowa State University) Statistics / 29 REPEATED MEASURES Copyright c 2012 (Iowa State University) Statistics 511 1 / 29 Repeated Measures Example In an exercise therapy study, subjects were assigned to one of three weightlifting programs i=1:

More information

Some general observations.

Some general observations. Modeling and analyzing data from computer experiments. Some general observations. 1. For simplicity, I assume that all factors (inputs) x1, x2,, xd are quantitative. 2. Because the code always produces

More information

Graphical Procedures, SAS' PROC MIXED, and Tests of Repeated Measures Effects. H.J. Keselman University of Manitoba

Graphical Procedures, SAS' PROC MIXED, and Tests of Repeated Measures Effects. H.J. Keselman University of Manitoba 1 Graphical Procedures, SAS' PROC MIXED, and Tests of Repeated Measures Effects by H.J. Keselman University of Manitoba James Algina University of Florida and Rhonda K. Kowalchuk University of Manitoba

More information

Odor attraction CRD Page 1

Odor attraction CRD Page 1 Odor attraction CRD Page 1 dm'log;clear;output;clear'; options ps=512 ls=99 nocenter nodate nonumber nolabel FORMCHAR=" ---- + ---+= -/\*"; ODS LISTING; *** Table 23.2 ********************************************;

More information

dm'log;clear;output;clear'; options ps=512 ls=99 nocenter nodate nonumber nolabel FORMCHAR=" = -/\<>*"; ODS LISTING;

dm'log;clear;output;clear'; options ps=512 ls=99 nocenter nodate nonumber nolabel FORMCHAR= = -/\<>*; ODS LISTING; dm'log;clear;output;clear'; options ps=512 ls=99 nocenter nodate nonumber nolabel FORMCHAR=" ---- + ---+= -/\*"; ODS LISTING; *** Table 23.2 ********************************************; *** Moore, David

More information

Statistics 910, #5 1. Regression Methods

Statistics 910, #5 1. Regression Methods Statistics 910, #5 1 Overview Regression Methods 1. Idea: effects of dependence 2. Examples of estimation (in R) 3. Review of regression 4. Comparisons and relative efficiencies Idea Decomposition Well-known

More information

Mixed Models Lecture Notes By Dr. Hanford page 199 More Statistics& SAS Tutorial at

Mixed Models Lecture Notes By Dr. Hanford page 199 More Statistics& SAS Tutorial at Mixed Models Lecture Notes By Dr. Hanford page 199 Variance Balance Cross-Over Designs Variance balance cross-over designs are designs where all treatment contrasts have the same precision and all carry-over

More information

Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p.

Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p. STAT:5201 Applied Statistic II Mixed Model: Split plot with two whole-plot factors, one split-plot factor, and CRD at the whole-plot level (e.g. fancier split-plot p.422 OLRT) Hamster example with three

More information

36-309/749 Experimental Design for Behavioral and Social Sciences. Dec 1, 2015 Lecture 11: Mixed Models (HLMs)

36-309/749 Experimental Design for Behavioral and Social Sciences. Dec 1, 2015 Lecture 11: Mixed Models (HLMs) 36-309/749 Experimental Design for Behavioral and Social Sciences Dec 1, 2015 Lecture 11: Mixed Models (HLMs) Independent Errors Assumption An error is the deviation of an individual observed outcome (DV)

More information

One-Way Repeated Measures Contrasts

One-Way Repeated Measures Contrasts Chapter 44 One-Way Repeated easures Contrasts Introduction This module calculates the power of a test of a contrast among the means in a one-way repeated measures design using either the multivariate test

More information

This is a Split-plot Design with a fixed single factor treatment arrangement in the main plot and a 2 by 3 factorial subplot.

This is a Split-plot Design with a fixed single factor treatment arrangement in the main plot and a 2 by 3 factorial subplot. EXST3201 Chapter 13c Geaghan Fall 2005: Page 1 Linear Models Y ij = µ + τ1 i + γij + τ2k + ττ 1 2ik + εijkl This is a Split-plot Design with a fixed single factor treatment arrangement in the main plot

More information

Variance component models part I

Variance component models part I Faculty of Health Sciences Variance component models part I Analysis of repeated measurements, 30th November 2012 Julie Lyng Forman & Lene Theil Skovgaard Department of Biostatistics, University of Copenhagen

More information

Chapter 11. Analysis of Variance (One-Way)

Chapter 11. Analysis of Variance (One-Way) Chapter 11 Analysis of Variance (One-Way) We now develop a statistical procedure for comparing the means of two or more groups, known as analysis of variance or ANOVA. These groups might be the result

More information

Accounting for Correlation in the Analysis of Randomized Controlled Trials with Multiple Layers of Clustering

Accounting for Correlation in the Analysis of Randomized Controlled Trials with Multiple Layers of Clustering Duquesne University Duquesne Scholarship Collection Electronic Theses and Dissertations Spring 2016 Accounting for Correlation in the Analysis of Randomized Controlled Trials with Multiple Layers of Clustering

More information

Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions)

Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions) Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions) CLP 948 Example 7b page 1 These data measuring a latent trait of social functioning were collected at

More information

Sample Size / Power Calculations

Sample Size / Power Calculations Sample Size / Power Calculations A Simple Example Goal: To study the effect of cold on blood pressure (mmhg) in rats Use a Completely Randomized Design (CRD): 12 rats are randomly assigned to one of two

More information

Modeling the Covariance

Modeling the Covariance Modeling the Covariance Jamie Monogan University of Georgia February 3, 2016 Jamie Monogan (UGA) Modeling the Covariance February 3, 2016 1 / 16 Objectives By the end of this meeting, participants should

More information

Mixed models with correlated measurement errors

Mixed models with correlated measurement errors Mixed models with correlated measurement errors Rasmus Waagepetersen October 9, 2018 Example from Department of Health Technology 25 subjects where exposed to electric pulses of 11 different durations

More information

Topic 23: Diagnostics and Remedies

Topic 23: Diagnostics and Remedies Topic 23: Diagnostics and Remedies Outline Diagnostics residual checks ANOVA remedial measures Diagnostics Overview We will take the diagnostics and remedial measures that we learned for regression and

More information

Model comparison and selection

Model comparison and selection BS2 Statistical Inference, Lectures 9 and 10, Hilary Term 2008 March 2, 2008 Hypothesis testing Consider two alternative models M 1 = {f (x; θ), θ Θ 1 } and M 2 = {f (x; θ), θ Θ 2 } for a sample (X = x)

More information

Lecture 2: Linear Models. Bruce Walsh lecture notes Seattle SISG -Mixed Model Course version 23 June 2011

Lecture 2: Linear Models. Bruce Walsh lecture notes Seattle SISG -Mixed Model Course version 23 June 2011 Lecture 2: Linear Models Bruce Walsh lecture notes Seattle SISG -Mixed Model Course version 23 June 2011 1 Quick Review of the Major Points The general linear model can be written as y = X! + e y = vector

More information

CHL 5225 H Crossover Trials. CHL 5225 H Crossover Trials

CHL 5225 H Crossover Trials. CHL 5225 H Crossover Trials CHL 55 H Crossover Trials The Two-sequence, Two-Treatment, Two-period Crossover Trial Definition A trial in which patients are randomly allocated to one of two sequences of treatments (either 1 then, or

More information

Implementation of Pairwise Fitting Technique for Analyzing Multivariate Longitudinal Data in SAS

Implementation of Pairwise Fitting Technique for Analyzing Multivariate Longitudinal Data in SAS PharmaSUG2011 - Paper SP09 Implementation of Pairwise Fitting Technique for Analyzing Multivariate Longitudinal Data in SAS Madan Gopal Kundu, Indiana University Purdue University at Indianapolis, Indianapolis,

More information

Analyzing the Behavior of Rats by Repeated Measurements

Analyzing the Behavior of Rats by Repeated Measurements Georgia State University ScholarWorks @ Georgia State University Mathematics Theses Department of Mathematics and Statistics 5-3-007 Analyzing the Behavior of Rats by Repeated Measurements Kenita A. Hall

More information

MISCELLANEOUS TOPICS RELATED TO LIKELIHOOD. Copyright c 2012 (Iowa State University) Statistics / 30

MISCELLANEOUS TOPICS RELATED TO LIKELIHOOD. Copyright c 2012 (Iowa State University) Statistics / 30 MISCELLANEOUS TOPICS RELATED TO LIKELIHOOD Copyright c 2012 (Iowa State University) Statistics 511 1 / 30 INFORMATION CRITERIA Akaike s Information criterion is given by AIC = 2l(ˆθ) + 2k, where l(ˆθ)

More information

How to fit longitudinal data in PROC MCMC?

How to fit longitudinal data in PROC MCMC? How to fit longitudinal data in PROC MCMC? Hennion Maud, maud.hennion@arlenda.com Rozet Eric, eric.rozet@arlenda.com Arlenda What s the purpose of this presentation Due to continuous monitoring, longitudinal

More information

Advantages of Mixed-effects Regression Models (MRM; aka multilevel, hierarchical linear, linear mixed models) 1. MRM explicitly models individual

Advantages of Mixed-effects Regression Models (MRM; aka multilevel, hierarchical linear, linear mixed models) 1. MRM explicitly models individual Advantages of Mixed-effects Regression Models (MRM; aka multilevel, hierarchical linear, linear mixed models) 1. MRM explicitly models individual change across time 2. MRM more flexible in terms of repeated

More information

STK4900/ Lecture 10. Program

STK4900/ Lecture 10. Program STK4900/9900 - Lecture 10 Program 1. Repeated measures and longitudinal data 2. Simple analysis approaches 3. Random effects models 4. Generalized estimating equations (GEE) 5. GEE for binary data (and

More information

Random Effects. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology. university of illinois at urbana-champaign

Random Effects. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology. university of illinois at urbana-champaign Random Effects Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology I L L I N O I S university of illinois at urbana-champaign Fall 2012 Outline Introduction Empirical Bayes inference

More information

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models EPSY 905: Multivariate Analysis Spring 2016 Lecture #12 April 20, 2016 EPSY 905: RM ANOVA, MANOVA, and Mixed Models

More information

Random Intercept Models

Random Intercept Models Random Intercept Models Edps/Psych/Soc 589 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2019 Outline A very simple case of a random intercept

More information

Introduction and Background to Multilevel Analysis

Introduction and Background to Multilevel Analysis Introduction and Background to Multilevel Analysis Dr. J. Kyle Roberts Southern Methodist University Simmons School of Education and Human Development Department of Teaching and Learning Background and

More information

Chapter 1 Statistical Inference

Chapter 1 Statistical Inference Chapter 1 Statistical Inference causal inference To infer causality, you need a randomized experiment (or a huge observational study and lots of outside information). inference to populations Generalizations

More information

Chapter 5: Multivariate Analysis and Repeated Measures

Chapter 5: Multivariate Analysis and Repeated Measures Chapter 5: Multivariate Analysis and Repeated Measures Multivariate -- More than one dependent variable at once. Why do it? Primarily because if you do parallel analyses on lots of outcome measures, the

More information

Stat 579: Generalized Linear Models and Extensions

Stat 579: Generalized Linear Models and Extensions Stat 579: Generalized Linear Models and Extensions Linear Mixed Models for Longitudinal Data Yan Lu April, 2018, week 12 1 / 34 Correlated data multivariate observations clustered data repeated measurement

More information

Longitudinal Data Analysis of Health Outcomes

Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis Workshop Running Example: Days 2 and 3 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development

More information

Independence (Null) Baseline Model: Item means and variances, but NO covariances

Independence (Null) Baseline Model: Item means and variances, but NO covariances CFA Example Using Forgiveness of Situations (N = 1103) using SAS MIXED (See Example 4 for corresponding Mplus syntax and output) SAS Code to Read in Mplus Data: * Import data from Mplus, becomes var1-var23

More information

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA Topics: Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA What are MI and DIF? Testing measurement invariance in CFA Testing differential item functioning in IRT/IFA

More information

4 Introduction to modeling longitudinal data

4 Introduction to modeling longitudinal data 4 Introduction to modeling longitudinal data We are now in a position to introduce a basic statistical model for longitudinal data. The models and methods we discuss in subsequent chapters may be viewed

More information

EXST 7015 Fall 2014 Lab 11: Randomized Block Design and Nested Design

EXST 7015 Fall 2014 Lab 11: Randomized Block Design and Nested Design EXST 7015 Fall 2014 Lab 11: Randomized Block Design and Nested Design OBJECTIVES: The objective of an experimental design is to provide the maximum amount of reliable information at the minimum cost. In

More information

Now consider the case where E(Y) = µ = Xβ and V (Y) = σ 2 G, where G is diagonal, but unknown.

Now consider the case where E(Y) = µ = Xβ and V (Y) = σ 2 G, where G is diagonal, but unknown. Weighting We have seen that if E(Y) = Xβ and V (Y) = σ 2 G, where G is known, the model can be rewritten as a linear model. This is known as generalized least squares or, if G is diagonal, with trace(g)

More information

a = 4 levels of treatment A = Poison b = 3 levels of treatment B = Pretreatment n = 4 replicates for each treatment combination

a = 4 levels of treatment A = Poison b = 3 levels of treatment B = Pretreatment n = 4 replicates for each treatment combination In Box, Hunter, and Hunter Statistics for Experimenters is a two factor example of dying times for animals, let's say cockroaches, using 4 poisons and pretreatments with n=4 values for each combination

More information

Models for binary data

Models for binary data Faculty of Health Sciences Models for binary data Analysis of repeated measurements 2015 Julie Lyng Forman & Lene Theil Skovgaard Department of Biostatistics, University of Copenhagen 1 / 63 Program for

More information

Statistical Inference: The Marginal Model

Statistical Inference: The Marginal Model Statistical Inference: The Marginal Model Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017 Outline Inference for fixed

More information