Hi,
I am trying to run a proc mixed analysis for the following data:
ID Score year group othervariables
1 80 0 1
1 90 1 1
1 77 2 1
2 66 0 0
2 90 3 0
2 82 6 0
. .
. .
. .
So the years with scores are from 0 to 7 but some have scores years 0, 1,2, 3, 6 and some 0, 3, 6 etc. It varies. The dataset is fairly large and includes 17155 observations and 223 variables...I need to adjust for some variables in the model (around 7 etc).
When running the unadjusted model using the following code:
proc mixed data=cup.cup;
class year group;
model F393MSE = group year group*year;
repeated year/ subject=id type=ar(1);
run;
I get the following error:
WARNING: ODS graphics with more than 5000 points have been suppressed. Use the PLOTS(MAXPOINTS= )
option in the PROC MIXED statement to change or override the cutoff.
WARNING: Stopped because of infinite likelihood.
I added the PLOTS(MAXPOINTS= NONE) in the statement, but it didn't work.
Surprisingly, when I added covariates in the model (around seven) the model runs. However, I do need to run the unadjusted.
Also, one other question. How does one run a GLM with REML method and specify the random effects...
Thank you for your help!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.