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?
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.