On Sat, Jul 7, 2012 at 5:50 AM, Diana Marcela Martinez Ruiz <dianamm...@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 -- Thomas Lumley Professor of Biostatistics University of Auckland ______________________________________________ R-help@r-project.org 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.