BookmarkSubscribeRSS Feed
mabeg510
Calcite | Level 5

I am analyzing a data set.

 

I have 3 x 4 x 4 design.

Three treatments with four doses for each treatment and four sample time points for each dose. The samples are individual samples at different times (not repeated samples).

 

I am using Proc Mixed as under

 

proc mixed; 
class group dose time;
model e=dose|group|time/ outp=new;
random 

 

data residy; set new;
proc plot;
plot resid*pred;
proc univariate plot normal;
var resid;
run;
 
I am not sure what should be my  "random" statement.
 
I will appreciate any help. Thanks
2 REPLIES 2
sld
Rhodochrosite | Level 12 sld
Rhodochrosite | Level 12

If the observations are independent--if there is no clustering, or blocking, or repeated measures on the same subject--and if the homogeneity of variances assumption is met, then there is only one source of variance in your design (which will be estimated as residual variance) and you do not need a RANDOM statement. The MIXED procedure works just fine without a RANDOM statement.

 

mabeg510
Calcite | Level 5

Many thanks. It was of great help.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1329 views
  • 0 likes
  • 2 in conversation