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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1351 views
  • 0 likes
  • 2 in conversation