SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Question for within and between subject

Reply
Occasional Contributor
Posts: 5

Question for within and between subject

The data order is ID, Group(0=placebo and 1= treatment), Time (0-3), Grip Strength, Status (0= no pain and 1 = pain)


I need to write the within-subjects and between-subjects models considering only a random subject effect and random intercept model.

Should I just use this the code like following one?


*random intercept;

PROC MIXED data=HW5.imp1 METHOD=ML COVTEST;

CLASS id;

MODEL implant = time /SOLUTION residual;

RANDOM INTERCEPT /SUB=id TYPE=UN G;

run;

Thanks

Attachment
Super User
Super User
Posts: 7,988

Re: Question for within and between subject

Posted in reply to vivianchu

Your best off posting this question to the Statistical Procedures section.

Occasional Contributor
Posts: 5

Re: Question for within and between subject

ok I will thanks

Ask a Question
Discussion stats
  • 2 replies
  • 257 views
  • 0 likes
  • 2 in conversation