[R] Help with multinomial regression to "survey"

Thomas Lumley tlumley at uw.edu
Fri Jul 6 23:51:53 CEST 2012

On Sat, Jul 7, 2012 at 5:50 AM, Diana Marcela Martinez Ruiz
<dianammr06 at hotmail.com> wrote:
> I would like to know which function to use for modeling a multinomial
> logistic regression model in the package "survey". thanks

There isn't an implementation of multinomial regression in the survey
package.  The easiest way to do this would be to create replicate
weights for your survey if it doesn't already have them (with
as.svrepdesign()) and then use withReplicates() to do the regression
using a function that does multinomial regression with frequency
weights, such as mlogit() in the mlogit package.  The example on the
withReplicates() help page shows how to do this for quantile
regression, and it should be similar.


Thomas Lumley
Professor of Biostatistics
University of Auckland

More information about the R-help mailing list