# SV: S: SV: st: Survey - raking - calibration - post stratification - calculating weights

 From "Kristian Wraae" To Subject SV: S: SV: st: Survey - raking - calibration - post stratification - calculating weights Date Mon, 8 Dec 2008 08:55:48 +0100

```Ok, thanks.

Now I understand how to do the raking procedure.

I have one question though.

Since I have a two step inclusion procedure wouldn't it be more accurate to
rake in two steps.

Example:
I know the distribution of medication amongst the 3745 men.

But the 3745 men differs from the 4975 men by being slightly younger and we
know that the older you get the more medicin do you get. That also goes for
physical activity and smoking.

So if I calculate the expected prevalences amongst the 4975 (in order to
rake the 600) from the 3750 I risk making a mistake (underestimating the
prevalences in the baclground population). I guess should be calculating the
all prevalences from the 4975, but I don't those data.

So wouldn't it be more correct to:

1. Rake the 3750 so they match the 4975 on age and geography.

2. Calculate all the expected prevalences on age, medication, smoking,
physical activity ect from the now raked 3750 (as we would expect them to be

3. Use these prevalences to rake the 600 as you showed me?

Thanks
Kristian

-----Oprindelig meddelelse-----
Fra: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] På vegne af Steven Samuels
Sendt: Monday, December 08, 2008 1:58 AM
Til: statalist@hsphsun2.harvard.edu
Emne: Re: S: SV: st: Survey - raking - calibration - post stratification -
calculating weights

On Dec 7, 2008, at 3:33 PM, Kristian Wraae wrote:

> There is a command called svymean. Isn't that the correct command?

In Stata 8 it is, but not in Stata 10.

Steven
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```