BookmarkSubscribeRSS Feed
iressa131
Calcite | Level 5

Hello,

 

I am constructing a model of a continuous outcome and mixed predictors using negative binomial regression due to overdispersion. However, I am having trouble figuring out how to compare my various potential models in SAS. Can I use deviance and pearson coefficient as well as the corresponding p-value to compare between different models? For example, the higher the p-value the more adequate the fit? I don't think that makes sense but just trying to think.

 

I've read a few places that I can do cross validation but is this the only way??

 

Thanks for any help!

2 REPLIES 2
Ksharp
Super User

What PROC are you using ?

If it was proc genmod , check AIC ,BIC(the smaller is better) ,  or  Person Chisquare Test in output .

StatDave
SAS Super FREQ

If all of your models are negative binomial models and all can be considered nested in (subcases of) a single full model, then you can fit the full model and use CONTRAST statements to test each of your simpler candidate models. See Example 4 of this note. Whether you do this or use AIC or BIC, be sure that the exact same set of observations are used in each model fit. This is often not the case if some of your predictors contain missing values.

sas-innovate-2024.png

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.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 1344 views
  • 0 likes
  • 3 in conversation