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!
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.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.