Re: [R] does multinomial logistic model from multinom (nnet) has logLik?

From: John Fox <jfox_at_mcmaster.ca>
Date: Thu 23 Feb 2006 - 01:45:41 EST


Dear ronggui,

You could use deviance().

Regards,
 John



John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of ronggui
> Sent: Wednesday, February 22, 2006 7:36 AM
> To: r-help help
> Subject: [R] does multinomial logistic model from multinom
> (nnet) has logLik?
>
> I want to get the logLik to calculate McFadden.R2 ,ML.R2 and
> Cragg.Uhler.R2, but the value from multinom does not have
> logLik.So my quetion is : is logLik meaningful to multinomial
> logistic model from multinom?If it does, how can I get it?
>
> Thank you!
>
> ps: I konw VGAM has function to get the multinomial logistic
> model with logLik, but I prefer use the function from
> "official" R packages .
>
> --
> ronggui
> Deparment of Sociology
> Fudan University
>
> ______________________________________________
> 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



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 Thu Feb 23 03:12:48 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 06:23:11 EST