Hello:
I am running a macro with a large number of Negative Binomial regressions in GENMOD. I know that in some cases the result is questionable (due to a negative overdispersion parameter) but still GENMOD outputs non-missing results from ESTIMATE in all cases,
including the models that produce warnings like:
WARNING: The relative Hessian convergence criterion of 0.01955056 is greater than the
limit of 0.0001. The convergence is questionable.
WARNING: The procedure is continuing but the validity of the model fit is
questionable.
Is there a way to tell GENMOD to output nothing or missing values when the model fit generates warnings?
this is a common problem when running data simulations and eg bootstrapping from a small sample, some of the samples don't converge. There is an ods 'convergencestatus': https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect...
i think this is how i normally do it, ie in the macro catch this variable and later discard estimates from samples that didn't converge. I've seen others do likewise
this is a common problem when running data simulations and eg bootstrapping from a small sample, some of the samples don't converge. There is an ods 'convergencestatus': https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_genmod_sect...
i think this is how i normally do it, ie in the macro catch this variable and later discard estimates from samples that didn't converge. I've seen others do likewise
Thanks for replying. I inserted a check based on the Status variable obtained from ods output statement as illustrated here:
https://blogs.sas.com/content/iml/2015/08/26/convergence-sim.html
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.