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
 > 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.


[hidden email] mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.