I'm running a logistic regression model in R. I've used both the Zelig and Car packages. However, I'm wondering if there is a simple way to get the model fit statistics for the model. (pseudo R-square, chi-square, log liklihood,etc)
It's hard to answer this question without knowing what the model object is. I'm not sure what Zelig
produces.
I would look at names(model)
, names(summary(model))
or names(anova(model,test = "Chisq"))
to see if the stats you want are there. I know that for log-likelihood, logLik(model)
will give you what you want.
While I'm no expert, model fit statistics for logistics regression models are not as straightforward in their interpretation as those in linear regression. Assuming you have a binary response, one method I've found useful is to group your data by predicted probability interval (0-10%, 10%-20%,....90%-100%) and comparing the actual probabilities to the predicted ones. This is very helpful because often your model will over predict at the low end or under predict at the high end. This may lead to a better model as well.