Skip to content
Back to formatted view

Raw Message

Message-ID: <F98822A6-51B2-4637-9D60-59E2DB4F07B9@comcast.net>
Date: 2011-12-05T16:43:38Z
From: David Winsemius
Subject: Weighting and recodification
In-Reply-To: <1323098347580-4160876.post@n4.nabble.com>

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