Re: [R] VGAM-vglm

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [R] VGAM-vglm

Thomas Yee
 > Can somebody explain to me why I get different results using
multinom(package
 > nnet) and vglm(package VGAM)?

The multinom function in the nnet package
uses the first level of the factor as baseline, whereas the last
level of the factor is used with multinomial().
Consequently the estimated regression coefficients differ.
They can be reconciled very easily with some basic maths.

cheers
Thomas

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.