Hi,
I used a dataset including sampling and covariate. That time I followed the steps perfectly. But, the problem is, I have to use a different dataset now but all the steps will be same but I am getting error everytime. I am attaching here what I did before for convenience and the new dataset too. Now I have to work on new dataset using CRD factorial with two covariates (slash volume and average snow depth).
I am using SAS version 9.4.
The previous code is:
libname rafia '\\homedir.mtu.edu\home\Desktop\CRD';
data rahman;
Input Water$ FertTreat$ Plot Plant InitialHt Height;
datalines;
Hi Control 1 1 5 12.7
Hi Control 2 1 6.5 16.6
Hi Control 3 1 5.5 15.7
Hi Control 4 1 5.5 16.9
Hi Control 5 1 5.1 14.2
Hi Liquid 6 1 6.2 23.2
Hi Liquid 7 1 3.4 20.9
Hi Liquid 8 1 7.1 25
Hi Liquid 9 1 8.3 24.6
Hi Liquid 10 1 5.6 25.7
Hi Pellet 11 1 3.7 20.1
Hi Pellet 12 1 1.4 19.9
Hi Pellet 13 1 3.6 20.8
Hi Pellet 14 1 6.4 20.6
Hi Pellet 15 1 5.6 23
Hi SlowRele 16 1 6.9 21.7
Hi SlowRele 17 1 5.8 19.8
Hi SlowRele 18 1 4.8 18.4
Hi SlowRele 19 1 10.1 19.3
Hi SlowRele 20 1 3.9 21.9
Lo Control 21 1 4.5 14.8
Lo Control 22 1 6.8 16.5
Lo Control 23 1 4.9 12.7
Lo Control 24 1 3.6 13.4
Lo Control 25 1 4.1 10.6
Lo Liquid 26 1 7.4 27.7
Lo Liquid 27 1 10 28.1
Lo Liquid 27 1 9.8 27
Lo Liquid 28 1 7.4 23.9
Lo Liquid 30 1 7.1 29.1
Lo Pellet 31 1 5.9 21.5
Lo Pellet 32 1 9.6 20.5
Lo Pellet 33 1 2.6 19.5
Lo Pellet 34 1 5.3 18.9
Lo Pellet 35 1 4.8 20
Lo SlowRele 36 1 5.1 19.2
Lo SlowRele 37 1 4.6 18.3
Lo SlowRele 38 1 1.1 20.3
Lo SlowRele 39 1 6.3 21.2
Lo SlowRele 40 1 5.4 20.1
Hi Control 1 2 5 13.1
Hi Control 2 2 7 17.2
Hi Control 3 2 5.6 16.6
Hi Control 4 2 5.9 17.4
Hi Control 5 2 5.2 14.4
Hi Liquid 6 2 6.6 24.7
Hi Liquid 7 2 3.5 22.7
Hi Liquid 8 2 7.5 25.5
Hi Liquid 9 2 8.6 26.3
Hi Liquid 10 2 5.6 27
Hi Pellet 11 2 3.9 22
Hi Pellet 12 2 1.8 21.5
Hi Pellet 13 2 4 22.1
Hi Pellet 14 2 6.8 22.1
Hi Pellet 15 2 6 24.9
Hi SlowRele 16 2 7.2 22.4
Hi SlowRele 17 2 5.8 21.6
Hi SlowRele 18 2 5.2 18.7
Hi SlowRele 19 2 10.4 19.8
Hi SlowRele 20 2 4.3 22
Lo Control 21 2 5 15.2
Lo Control 22 2 6.8 17.1
Lo Control 23 2 5.1 13.2
Lo Control 24 2 4.1 14.6
Lo Control 25 2 4.2 12
Lo Liquid 26 2 7.8 29.6
Lo Liquid 27 2 10.2 28.6
Lo Liquid 27 2 9.9 28.2
Lo Liquid 28 2 7.5 24.8
Lo Liquid 30 2 7.3 30.2
Lo Pellet 31 2 6.2 22.5
Lo Pellet 32 2 9.8 21.2
Lo Pellet 33 2 2.7 20.6
Lo Pellet 34 2 5.6 19.9
Lo Pellet 35 2 5 20.5
Lo SlowRele 36 2 5.4 20.8
Lo SlowRele 37 2 4.6 18.6
Lo SlowRele 38 2 1.1 21.9
Lo SlowRele 39 2 6.5 22.5
Lo SlowRele 40 2 5.9 20.2
;
proc print;
run;
%INCLUDE '\\homedir.mtu.edu\home\Desktop\CRD';
%MMAOV (rahman,height, CLASS= plot FertTreat water, FIXED = FertTreat|water initialHt,RANDOM=plot(FertTreat*water) );
... View more