BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
brgray
Calcite | Level 5

can someone point me to where SAS or a SAS user discusses how procedures with an obligate residual variance term (eg MIXED, HPMIXED) address situations where, due to an absence of replication, an interaction variance is confounded with what these procs call residual variance? in such a situation and when the levels of the factors are treated as random, i obtain estimates for both the interaction term and the residual variance that are roughly half that supplied for the residual variance when the confounded/aliased term is omitted.

 

here's example code:

ods select off;
proc hpmixed data=A;
class reader structure;
model agenum = structure / s;
random reader / s;
random structure*reader / s;
ods output covparms=covparms;
run;
ods select all;

proc print data=covparms; run;

 

* as above except omitting structure*reader term;
ods select off;
proc hpmixed data=A;
class reader structure;
model agenum = structure / s;
random reader / s;
*random structure*reader / s;
ods output covparms=covparms2;
run;
ods select all;

proc print data=covparms2; run;

 

brgray_0-1629989172349.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

Actually, I am not surprised at this "result".  Think about how the mixed model equations are parameterized and then imagine you could split the residual into separate variance components.  If there is equal weighting of observations, half of the variability goes to each of the separate variance components.  Now I don't think specifying the interaction as a separate source of variability is quite kosher given the design, but as you have demonstrated, it can be done. Whether the value obtained is meaningful or not is a matter for discussion.  Off the top of my head, I vote for "not meaningful".

 

SteveDenham

View solution in original post

2 REPLIES 2
brgray
Calcite | Level 5

PS i neglected to highlight that the number of readers (11), structures (6) and observations (66=11x6) precludes replication. hence, the confounding if not aliasing of the interaction and residual terms. i used REML.

 

brgray_0-1630008912092.png

 

SteveDenham
Jade | Level 19

Actually, I am not surprised at this "result".  Think about how the mixed model equations are parameterized and then imagine you could split the residual into separate variance components.  If there is equal weighting of observations, half of the variability goes to each of the separate variance components.  Now I don't think specifying the interaction as a separate source of variability is quite kosher given the design, but as you have demonstrated, it can be done. Whether the value obtained is meaningful or not is a matter for discussion.  Off the top of my head, I vote for "not meaningful".

 

SteveDenham

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 551 views
  • 1 like
  • 2 in conversation