Comparison of Repeated Measures and Covariance Analysis for Pretest-Posttest Data -By Chunmei Zhou.

Slides:



Advertisements
Similar presentations
A Gentle Introduction to Linear Mixed Modeling and PROC MIXED
Advertisements

Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
1-Way Analysis of Variance
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
The Simple Regression Model
Data: Crab mating patterns Data: Typists (Poisson with random effects) (Poisson Regression, ZIP model, Negative Binomial) Data: Challenger (Binomial with.
SPH 247 Statistical Analysis of Laboratory Data 1April 2, 2013SPH 247 Statistical Analysis of Laboratory Data.
Topic 32: Two-Way Mixed Effects Model. Outline Two-way mixed models Three-way mixed models.
Design and Analysis of Augmented Designs in Screening Trials
Randomized Experimental Design
Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture #19 Analysis of Designs with Random Factor Levels.
Weekend Workshop I PROC MIXED. Random or Fixed ?RANDOMFIXEDLevels: Selected at random from infinite population Finite number of possibilities Another.
Topic 3: Simple Linear Regression. Outline Simple linear regression model –Model parameters –Distribution of error terms Estimation of regression parameters.
Some Terms Y =  o +  1 X Regression of Y on X Regress Y on X X called independent variable or predictor variable or covariate or factor Which factors.
Multiple regression analysis
The Simple Linear Regression Model: Specification and Estimation
1 What are Mixed Models? Why are they Used? An Introduction Ed Stanek.
Regression Diagnostics Using Residual Plots in SAS to Determine the Appropriateness of the Model.
Lesson #23 Analysis of Variance. In Analysis of Variance (ANOVA), we have: H 0 :  1 =  2 =  3 = … =  k H 1 : at least one  i does not equal the others.
OLS versus MLE Example YX Here is the data:
BS704 Class 7 Hypothesis Testing Procedures
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
This Week Continue with linear regression Begin multiple regression –Le 8.2 –C & S 9:A-E Handout: Class examples and assignment 3.
Modeling clustered survival data The different approaches.
Stat 112: Notes 2 This class: Start Section 3.3. Thursday’s class: Finish Section 3.3. I will and post on the web site the first homework tonight.
Standard error of estimate & Confidence interval.
© 2002 Prentice-Hall, Inc.Chap 14-1 Introduction to Multiple Regression Model.
Chapter 14: Repeated-Measures Analysis of Variance.
 Combines linear regression and ANOVA  Can be used to compare g treatments, after controlling for quantitative factor believed to be related to response.
Montecarlo Simulation LAB NOV ECON Montecarlo Simulations Monte Carlo simulation is a method of analysis based on artificially recreating.
G Lecture 5 Example fixed Repeated measures as clustered data
23-1 Analysis of Covariance (Chapter 16) A procedure for comparing treatment means that incorporates information on a quantitative explanatory variable,
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
Regression For the purposes of this class: –Does Y depend on X? –Does a change in X cause a change in Y? –Can Y be predicted from X? Y= mX + b Predicted.
Copyright © Cengage Learning. All rights reserved. 12 Simple Linear Regression and Correlation
Linear correlation and linear regression + summary of tests
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
6-1 Introduction To Empirical Models Based on the scatter diagram, it is probably reasonable to assume that the mean of the random variable Y is.
The Completely Randomized Design (§8.3)
March 28, 30 Return exam Analyses of covariance 2-way ANOVA Analyses of binary outcomes.
Experimental Research Methods in Language Learning
Topic 30: Random Effects. Outline One-way random effects model –Data –Model –Inference.
Topic 26: Analysis of Covariance. Outline One-way analysis of covariance –Data –Model –Inference –Diagnostics and rememdies Multifactor analysis of covariance.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
Simple Linear Regression. Data available : (X,Y) Goal : To predict the response Y. (i.e. to obtain the fitted response function f(X)) Least Squares Fitting.
The Simple Linear Regression Model: Specification and Estimation ECON 4550 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s.
Computing for Research I Spring 2013
Topic 20: Single Factor Analysis of Variance. Outline Analysis of Variance –One set of treatments (i.e., single factor) Cell means model Factor effects.
SAS® Global Forum 2014 March Washington, DC Got Randomness?
Today: March 7 Data Transformations Rank Tests for Non-Normal data Solutions for Assignment 4.
1 Statistics 262: Intermediate Biostatistics Regression Models for longitudinal data: Mixed Models.
Experimental Statistics - week 9
Biostatistics Case Studies Peter D. Christenson Biostatistician Session 3: Missing Data in Longitudinal Studies.
G Lecture 71 Revisiting Hierarchical Mixed Models A General Version of the Model Variance/Covariances of Two Kinds of Random Effects Parameter Estimation.
R&R Homework Statgraphics “Range Method”. DATA OperatorPartTrialMeasure B B B B B B326.5 B B B C
Differences Among Groups
Jump to first page Bayesian Approach FOR MIXED MODEL Bioep740 Final Paper Presentation By Qiang Ling.
The “Big Picture” (from Heath 1995). Simple Linear Regression.
Simulation setup Model parameters for simulations were tuned using repeated measurement data from multiple in-house completed studies and baseline data.
Analysis for Designs with Assignment of Both Clusters and Individuals
Factorial Experiments
Linear Mixed Models in JMP Pro
12 Inferential Analysis.
Chapter 5 Introduction to Factorial Designs
G Lecture 6 Multilevel Notation; Level 1 and Level 2 Equations
Comparing k Populations
A Gentle Introduction to Linear Mixed Modeling and PROC MIXED
12 Inferential Analysis.
The Analysis of Variance
Problem 3.26, when assumptions are violated
Presentation transcript:

Comparison of Repeated Measures and Covariance Analysis for Pretest-Posttest Data -By Chunmei Zhou

Introduction We develop a comparison of repeated measures and covariance analysis for pretest-posttest data. We consider a study design for which subjects are randomized to a drug or placebo group and measured for systolic blood pressure before and after receiving the treatment. To develop models to assess the effect of treatment on SBP, we first consider baseline blood pressure as a covariate. As an alternative, the baseline and final blood pressure can be considered to be repeated measures.

Data Description We simulate data for a pretest-posttest study for comparison of covariance analysis and repeated measures. We assume the response variable to be normally distributed, the sample size is 30, the average response for baseline is 175 and the treatment effect is –5.

data sbp; %let basemean=175; *overall average response for baseline; %let nsub=30; *Number of subjects; %let err_v=100; *Residual error variance at a time point; %let tsubv=100; *Treatment by subject variance; %let subv=200; *Variance of the subject effects; %let nrep=1000; *Number of replications of the simulation; %let effp1=0; *Placebo effect; %let effp2=-5; *Treatment effect; do trial=1 to &nrep; do subj=1 to ⊄ m=&basemean; sub=sqrt(&subv)*rannor(3345); do time=1 to 2; v=sqrt(&err_v)*rannor(3345); if subj<=&nsub/2 then do; trt=1; if time=1 then y=m+sub+v; if time=2 then y=m+sub+&effp1+v; end; if subj>&nsub/2 then do; trt=2; if time=1 then y=m+sub+v; if time=2 then y=m+sub+&effp2+v+sqrt(&tsubv)*rannor(3345); end; output; end;

Covariance Model Fitting We use placebo as reference group to fit the covariance model using the following statement: proc mixed data=a; by trial; class subj tref; model sbp2=sbp1 tref/s; make 'solutionf' out=est1; run;

Covariance Model Fitting Covariance Parameter Estimates Cov Parm Estimate Residual Solution for Fixed Effects Standard Effect tref Estimate Error DF t Value Pr > |t| Intercept sbp tref tref

Repeated-Measures Model Fitting we fit repeated measures model using placebo and pretest as reference groups. We also create a group variable to have value of 1 for placebo group at post test, 2 for treatment group at post test, and 3 for pretest. proc mixed data=b; by trial; class subj tref timref grp; model y=tref timref tref*timref/s; repeated /group=grp; random subj; make 'solutionf' out=est2; run;

Repeated-Measures Model Fitting Covariance Parameter Estimates Cov Parm Group Estimate subj Residual grp Residual grp Residual grp

Repeated-Measures Model Fitting Solution for Fixed Effects Standard Effect tref timref Estimate Error DF t Value Pr >|t| Intercept <.0001 tref tref timref timref tref*timref tref*timref tref*timref tref*timref

Comparison of Two Approaches To compare the two approaches, we set different parameters for three variances (subject variance, residual error variance and treatment by subject variance) to generate data, and then run the simulation 1000 times and get estimates of treatment effect each time from each methods. However, we could not get model fitting results for the total 1000 simulations from repeated-measures model because of infinite likelihood or convergence failure for some trials.

Table1. Comparison of Estimates for treatment effect from two models with 1000 trials with sample size 30, treatment effect –5 and different variance compontents MethodSub. var.Res. Var.Trt.*Sub. Var. No. of TrialsMean of Est. of trt effect Std. Dev. of Estimate Covariance Repeat measures Covariance Repeat measures Covariance Repeat measures Covariance Repeat measures Covariance Repeat measures Covariance Repeat measures

Figure1. Box Plots of Estimates for treatment effect Figure2. Box Plots of Estimates for treatment effect from two models with 1000 trials with treatment effect from two models with 1000 trials with treatment –5, subject variance 200, residual error variance 200 effect –5, subject variance 400, residual error var and treatment by subject variance and treatment by subject variance 100

Discussion The repeated-measures analysis of variance and analysis of covariance are two common approaches for analysis of pretest-posttest data. They are closely related but assumptions for the analysis and variance estimates for the parameters are differ. Our analysis results suggest the covariance analysis method may improve the precision of the estimates of the treatment effects compared to repeated measures analysis. But we should know the assumption that there is a linear relationship between pre- and post-treatment values may not be true. If this were the case, fitting a baseline covariate could lead to less precise results.