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!
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.