Hi SAS Gurus,
I am trying to run HGLM with PROC GLIMMIX using the data of around six million of individuals across states with state effect. Even though I started with the simplest model with only one covariate included only, the model did not converge. Any of you have any insight or suggestion?
Below is the log:
Any states are excluded when they had extremely low counts of individuals with the outcome variable flag_success_discharge=1.
Thank you,
Lichee
Try increasing the number of iterations in an NLOPTIONS statement. Binary data often require more than the default 20 iterations.
SteveDenham
Plenty of discussion about GLIMMIX not converging here in the forums. One example: https://communities.sas.com/t5/Statistical-Procedures/Glimmix-did-not-converge/td-p/387883 You should search for other discussions.
What happens if you add METHOD=LAPLACE option in the PROC GLIMMIX statement?
Also, you might want to spell out: dist=binary in the MODEL statement.
Thanks,
Jill
Thank you!
I added METHOD=LAPLACE, and now the initial estimates did not yield a valid objective function.
Thank you! The dependent variable is dichotomous. Below is the crosstab:
Try using PARMS statement to enter you own starting values. This might take several trial and error.
If that does not help, can you send in your data?
Thanks,
Jill
Try increasing the number of iterations in an NLOPTIONS statement. Binary data often require more than the default 20 iterations.
SteveDenham
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.