I am working with repeated measurements analysis (several measurements over the same experimental unit).
%MACRO MIX(HOY, SIGMA);
PROC MIXED DATA=UREA;
CLASS Tratamiento Animal Tiempo Cov;
MODEL UREA= Tratamiento Tratamiento*Tiempo Cov |Tiempo /DDFM=KR;
ODS OUTPUT "FitStatistics" OUT=&HOY(RENAME=(VALUE=V_&HOY));
REPEATED Tiempo/TYPE=&SIGMA SUBJECT=Animal;
RUN;
%MEND MIX;
I run the model without errors and I get results but I have several Warnings!!! See below:
Hi @Ana2017 - it looks like there is an issue with the value of the macro variable &HOY. Could you tell us the value of this variable when the macro is called?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.