Without seeing the log, it is hard to identify the error. However, at least one thing jumps out. PROC MIXED does not allow multiple dependent variables. I would suggest translating your "wide" dataset to a "long" dataset like this:
data long_want;
length varname $9.;
set mimosa;
value=Gas; varname='Gas'; output;
value=CH4; varname='CH4'; output;
value=IVOMD; varname='IVOMD '; output;
value=CH4_Gas; varname='CH4_Gas'; output;
value=CH4_IVOMD; varname='CH4_IVOMD'; output;
value=Gas_IVOMD; varname='Gas_IVOMD'; output;
keep Treatment Block varname value;
run;
Then you can process by varname in the following PROC MIXED code:
proc sort data=long_want out=newmimosa;
by varname treatment block;
run;
proc mixed data=newmimosa;
by varname;
class treatment block;
model value=treatment block/solution;
repeated block/subject=treatment type= < start with UN, but CSH seems like it will be a good choice >;
lsmeans treatment/diff;
run;
SteveDenham
... View more