[R] VGAM-vglm

From: minta <kebnekajse_at_gmx.de>
Date: Mon 30 Oct 2006 - 21:57:05 GMT

Can somebody explain to me why I get different results using multinom(package nnet) and vglm(package VGAM)?
I think I understand the result I get with multinom, but what has vglm done? How can I interpret the results?

(paarer: nominal variable, classes for different jobs, K26A:number of children)

library(nnet)
erg<-multinom(paarer~K26A)
library(VGAM)
erg<-vglm(paarer~K26A,family="multinomial")

erg2
Call:
multinom(formula = paarer2 ~ K26A)

Coefficients:
  (Intercept) K26A

3    1.036560 0.35340860
4   -0.801480 0.27423903
5    1.191205 0.05197307

Residual Deviance: 3358.351
AIC: 3370.351
> erg

Call:
vglm(formula = paarer ~ K26A, family = "multinomial")

Coefficients:

(Intercept):1 (Intercept):2 (Intercept):3        K26A:1        K26A:2 
   -1.1910394    -0.1545859    -1.9922876    -0.0521119     0.3013985 
       K26A:3 

    0.2221076

Degrees of Freedom: 4524 Total; 4518 Residual Residual Deviance: 3358.351
Log-likelihood: -1679.175

-- 
View this message in context: http://www.nabble.com/VGAM-vglm-tf2542392.html#a7083843
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.
Received on Tue Oct 31 15:51:47 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 31 Oct 2006 - 05:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.