I was trying to see the climate moisture trend over time for combined sites using proc mixed. However, when I tried to model it with the following command than an error occurred. It said "NOTE: The data set WORK.PRED has 0 observations and 0 variables." I have applied the same model for temperature and it was successful. But not for climate moisture data. Please note that The climate moisture data have both negative and positive value. Can you please help me to solve the problem? Thanks.
proc mixed data= import; class plot; model cmi = plot plot*year; run; proc mixed data=import; class plot; model cmi = year / ddfm=kr solution outp=pred; random int year / type=un subject=plot solution; run; proc sort data=pred; by year; run; proc sgplot data=pred; series y=pred x=year / group=plot; run;
You noticed your procedure did not converge WARNING?
I don't know your data and you may want to post this under Statistical Procedures, but the issue is the fact that your model doesn't converge. Why? I don't know...check that your model is specified correctly and that you don't have any other issues.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.