In a scenario where a pot experiment was carried out to evaluate the effect of sulfur on corn.
The experiment was a factorial design with 2 levels of sulfur type and 3 Sulfur rates with 8 replications arranged in a RCBD. Corn heights were measured every week for ten weeks (which is the time in the data below). The subset of the data is shown below:
Pot Trt Block Stype Srate Time Height
101 1 1 SA 0 1 23.0
102 2 1 SA 10 1 21.0
103 6 1 SB 20 1 34.0
104 4 1 SB 0 1 23.0
105 5 1 SB 10 1 25.0
106 3 1 SA 20 1 23.0
To find the effect of sulfur types and rates on corn height, we entered the code below into SAS.
•PROC MIXED DATA=Corn;
• CLASS Block Srate Stype time;
• MODEL Height = Srate|Stype|time/ddfm=kr;
• Random Block;
• REPEATED time / SUBJECT=?
• TYPE=CS;
• lsmeans Srate/adjust=tukey ;
• lsmeans Stype/adjust=tukey;
The question is what should be the subject in this study or what should we enter as the subject in the code?
I look forward to your contributions.
Thank you all