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?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.