Hi, I want to run a repeated measures analysis using PROC MIXED with the following syntax:
%macro one(type);
proc mixed cl;
class ambiente bloque fecha;
model NP = ambiente fecha ambiente*fecha/ddfm=satterthwaite;
random block;
repeated fecha/subject=plot type=&type r rcorr;
lsmeans ambiente biotipo ambiente*biotipo/cl diff;
%mend one;
%one(un);
%one(csh);
%one(ar(1));
%one(arh(1));
%one(toep);
%one(toeph);
%one(ante(1));
run;
There is an ERROR: 'Variable NP in list does not match type prescribed for this list'. I already checked the NP variable as a numeric variable, but it did not work.