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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1318 views
  • 0 likes
  • 3 in conversation