[R]: multinom()
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Sun Mar 26 10:18:08 CEST 2000
On Mon, 20 Mar 2000, Peter Ho wrote:
> Dear R users,
>
> Does anyone know if it is possible to use multinom to do a polychotomous
> fit using one categorical and one numeric variable as response. The
> doc. for multinom states that for formula , response can be K>2 classes.
> Is this 2 and more, or as I have understood it only greater than 2. I
> have tried fitting my data, but have only encountered error messages.
It does work for K=2, but is not recommended. But what you want is not
a polychotomous fit, as that has only categories.
> On another note, Is it possible to get a set of discriminant scores for
> the multinom fit using predict.nnet or some other function like for lda
> using predict.lda?
Um, what do such scores mean? You can hack predict.multinom to do this,
but only differences in scores are relevant. It fits probabilities, only.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list