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
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.
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.