LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 31 Jul 2008 14:39:22 -0700
Reply-To:   "Andre C." <andrecravo@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Andre C." <andrecravo@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   SUBJECT WITH REPEATED OR RANDOM IN MIXED PROC
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=windows-1252

Hello,

I’m performing a repeated measures experiment with 3 factors, each of them with 2 levels. Each subject participated of 8 experimental sessions (all possible combinations of the three factors) in a random order. I was wondering what would be the proper way to analyze this data using the mixed proc. Should I use the SUBJECT option with the RANDOM statement (program 1) or the REPEATED statement (program 2)? Any suggestions on which covariance matrices should I test?

Thanks in advance,

Andre C. Ph.D. Student Roberto Vieira Laboratory of Sensory Physiology University of São Paulo www.fisio.icb.usp.br/~vinicius

PROGRAM 1: proc mixed data=DATA METHOD=REML CL ALPHA=.05 COVTEST; class SUBJ FACTOR1 FACTOR2 FACTOR3; model PSS = FACTOR1 FACTOR3 FACTOR2 FACTOR1*FACTOR3 FACTOR1*FACTOR2 FACTOR3*FACTOR2 FACTOR1*FACTOR3*FACTOR2 / HTYPE=3 DDFM=SATTERTH; random SUBJ / subject=SUBJ; lsmeans FACTOR1*FACTOR3*FACTOR2 / PDIFF adjust=TUKEY CL ALPHA=. 05; run;

PROGRAM 2 proc mixed data=data; class SUBJ FACTOR1 FACTOR2 FACTOR3; model PSS = FACTOR1 FACTOR3 FACTOR2 FACTOR1*FACTOR3 FACTOR1*FACTOR2 FACTOR3*FACTOR2 FACTOR1*FACTOR3*FACTOR2 / ddfm=satterth htype=3; repeated / sub=SUBJ type=un; lsmeans FACTOR1*FACTOR3*FACTOR2 / pdiff adjust=TUKEY; run;


Back to: Top of message | Previous page | Main SAS-L page