Re: [R] Multinomial models

From: Roland Rau <roland.rproject_at_gmail.com>
Date: Thu, 21 Jun 2007 19:08:22 -0400

Hi,

since you are very new to R, just a small advice: try to give a minimal reproducible, self-contained example. This helps quite often to spot some mistakes yourself. This is my own experience and has been experienced by others, see, for example: library(fortunes)
fortune("Ripleyed")

  :-)

For example, mention that you are (probably?) using the package 'nnet'.

nicole baerg wrote:
> I get the coefficients. I would like, however, to get the
> coefficients, estimates, Std Erros and t-Ratios and/or z or P>[z]
Check
names(model1) #if model1 is your fitted model as you write

then you will see a list of the components the fitted object should have. I guess the list should look similar to this:

  [1] "n"             "nunits"        "nconn"         "conn"
  [5] "nsunits"       "decay"         "entropy"       "softmax"
  [9] "censored"      "value"         "wts"           "fitted.values"
[13] "residuals"     "lev"           "call"          "terms"
[17] "weights"       "deviance"      "rank"          "coefnames"
[21] "vcoefnames"    "contrasts"     "xlevels"       "edf"
[25] "AIC"
>
> Also can you change the speficiation of the base category without recoding?
>
Check
?relevel

I hope this helps,
Roland



R-help_at_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 Thu 21 Jun 2007 - 23:17:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Jun 2007 - 23:32:17 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.