Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Creating weights for direct standardization
From
"Kanter, Rebecca" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Creating weights for direct standardization
Date
Tue, 5 Mar 2013 10:39:10 -0500
Hi,
I am using the command:
egen repwt = total(sampleweight) if year==1995 & ktagChild==1, by(age)
where sample weight is equal to the survey (svy) weight.
Yes, I have read pp 28-31 of [SVY], thanks. The problem is this presumes that you have a weight to enter into the stdweight() of the stdize command, but does not explain ways to also calculate that stdweight variable.
Thank you for your help and time, I really appreciate it.
Cheers,
Rebecca
Rebecca Kanter <[email protected]>:
What command are you using?
Have you read pp 28-31 of [SVY] yet?
On Tue, Mar 5, 2013 at 9:20 AM, Kanter, Rebecca <[email protected]> wrote:
> Dear list,
> I am trying to age-standardize my data (across four different survey time points) based on the direct standardization method (using the first survey year as a base).
> I am trying to figure out how to thus create the proper weights for the stdize command.
> Is it correct to create these weights based on summing (taking the total) of the survey (svy) weights for each year of age for the first survey year (and then apply them to the other survey years)?
> Thank you so much for your help and time; I really appreciate it!
> Cheers,
> Rebecca
___________________________________________
Rebecca M. Kanter, PhD
Johns Hopkins Bloomberg School of Public Health
Department of International Health
Center for Human Nutrition
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/