[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Steven Samuels <sjhsamuels@earthlink.net> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: SV: st: Survey - raking - calibration - post stratification - calculating weights |

Date |
Sun, 7 Dec 2008 00:43:08 -0500 |

--

weight1 = N_i/n_i

**************************CODE BEGINS************************** * tot_agep = total for population in participant age group (agegp)

************************************************************** survwgt rake weight1 /// by(agegp geogp) /// totvars(tot_agegp tot_geogp /// gen(weight2) ***************************CODE ENDS***************************

-Steven On Dec 6, 2008, at 11:19 PM, Stas Kolenikov wrote:

Steven, you might be shocked, but people in Nordic countries do have their population completely enumerated. Putting NJC's hat on :)), let me remind you that this is an international list, and different countries have different standards of how they collect and store their official data. Denmark has a register with an equivalent of SSN that makes it possible to combine the data three ways from economic, medical and social perspectives. That's a survey statistician and a microeconometrician dream... and they actually do have the capacity of drawing SRS. That is, the first 5000 were SRS of the population, and then Kristian continued a with stratified second phase sampling. I would probably just give everybody the weight = # in age group across Denmark (in some meaningfully defined period of the study) / # in age in group in the sample. If you treat sample groups as non-response adjustment cells, that's what this will probably boil down to after multiplication of three or so fractions. ches and help try:

* * 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/

**Follow-Ups**:**SV: SV: st: Survey - raking - calibration - post stratification - calculating weights***From:*"Kristian Wraae" <Kristian_Wraae@vip.cybercity.dk>

**References**:**SV: st: Survey - raking - calibration - post stratification - calculating weights***From:*"Kristian Wraae" <Kristian_Wraae@vip.cybercity.dk>

**Re: SV: st: Survey - raking - calibration - post stratification - calculating weights***From:*Steven Samuels <sjhsamuels@earthlink.net>

**Re: SV: st: Survey - raking - calibration - post stratification - calculating weights***From:*"Stas Kolenikov" <skolenik@gmail.com>

- Prev by Date:
**Re: SV: st: Survey - raking - calibration - post stratification - calculating weights** - Next by Date:
**SV: SV: st: Survey - raking - calibration - post stratification - calculating weights** - Previous by thread:
**Re: SV: st: Survey - raking - calibration - post stratification - calculating weights** - Next by thread:
**SV: SV: st: Survey - raking - calibration - post stratification - calculating weights** - Index(es):

© Copyright 1996–2014 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |