[R] multinom(): likelihood of model?

From: Brooks Miner <miner_at_u.washington.edu>
Date: Sat 14 May 2005 - 08:27:44 EST

Hi all,

I'm working on a multinomial (or "polytomous") logistic regression using R and have made great progress using multinom() from the nnet library. My response variable has three categories, and there are two different possible predictors. I'd like to use the likelihoods of certain models (ie, saturated, fitteds, and null) to calculate Nagelkerke R-squared values for various fitted models.

My question today is simple: once I have fitted a model using multinom(), how do I find the likelihood (or log likelihood) of my fitted model? I understand that this value must be part of the $deviance or $AIC components of the fitted model, but my understanding is too limited at this point for me to know how to calculate the likelihood of my fitted model from either of these outputs.

Thanks in advance to any assistance offered. I'd be happy to provide an example of my data and multinom() entries if that would help.


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 14 08:32:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:45 EST