Learning SAS? Welcome to the exclusive online community for all SAS learners.

HELP problem with determining percent change code

Reply
Regular Learner
Posts: 1

HELP problem with determining percent change code

Hi, I am trying to obtain the results for the percent change in my data. The output data is only showing period 1 and there are 2 period in the my data... Below is the code I am using and unsure what I need to adjust to fix this problem..

 

run;

ods graphics on;
proc mixed;
class treatment sex sequence period participantid;
model PercentChangeWeight= treatment sex sequence treatment*sex treatment*sequence/residual;
random participantid;
repeated period / subject= participantid type=cs;
lsmeans treatment;
run;
ods graphics off;

Respected Advisor
Posts: 3,268

Re: HELP problem with determining percent change code

Posted in reply to adeecardillo

The output data is only showing period 1 and there are 2 period in the my data.

 

Show us the output. Show us a representative portion of your data.

--
Paige Miller
Ask a Question
Discussion stats
  • 1 reply
  • 266 views
  • 0 likes
  • 2 in conversation