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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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