BookmarkSubscribeRSS Feed
alexis_lewis24
Calcite | Level 5

Is there a way that I can run a joint multivariate model that allows all intercepts and slopes to covary but does not allow level-1 residuals to covary across variables.

 

I am using SAS OnDemand for Academics and the following code will not run.

 

proc mixed data=homework3 method=ML noclprint;
class school dv;
model popst= conss const sexs sext/ noint s;
random conss sexs sext const/ sub=school type=un;
repeated dv / subject=school*pupil type= UN(1);
run;

1 REPLY 1
SteveDenham
Jade | Level 19

When you say "will not run" that isn't very useful without seeing the log for that procedure. Please post the entire log starting with the call to PROC GLIMMIX down to the next run; statement.

 

I suspect that the issue has to do with declaring variables both fixed and random, but it could be anything.

 

SteveDenham

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 314 views
  • 0 likes
  • 2 in conversation