[R] glm vs multinom
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Dec 28 21:43:59 CET 2004
On Tue, 28 Dec 2004, Rajdeep Das wrote:
> I am doing two class classification using logistic regression. I
> realized that I can either use "glm" function or "multinom" function. I
> know "multinom" is used for multiclass classification. But if I was it
> for binary classification, I was wondering if there is an difference in
> the results compared to "glm" results.
Why wonder? Try it and see.
If you use both correctly, the differences will be small.
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help