On Dec 5, 2011, at 10:19 AM, SilvaForever wrote:

I have a question that is more statistical than r-specific

I have to recode a variable into quartiles, and I have weighted individuals. To calculate the quartiles that will serve me to recode the variable, should
I use the weight or not?

I would think that an affirmative answer should raise the follow-on question of "how", and an R-specific answer would be `wtd.quantile` in the Hmisc package.

--

David Winsemius, MD
West Hartford, CT

______________________________________________
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.

Reply via email to