Understanding Society User Support: Issueshttps://iserredex.essex.ac.uk/support/https://iserredex.essex.ac.uk/support/support/favicon.ico?15995719382012-09-05T00:28:24ZUnderstanding Society User Support
Redmine Understanding Society User Support - Support #80 (Closed): Stata code for survey weightshttps://iserredex.essex.ac.uk/support/issues/802012-09-05T00:28:24ZDaniel Sperberdaniel.r.sperber@gmail.com
<p>Hi,<br />I hope that this isn't too elementary a question, but I’m running into ambiguity in applying the US weighting variables in STATA code. I’m currently working with cross sectional analysis of the adult self complete section of wave 1 of the innovation panel (a_indscip_xw) , but will likely be using wave 1,3&4 of the innovation panel (d_indscip13_lw), and wave 1 of the main survey.</p>
<p>The other relevant weights (from the user manual) are:<br />a_psu (primary sampling unit)<br />a_strata (sample strata)<br />a_psnenip_xd (cross sectional person design weight)</p>
<p>This is what I have now:<br />svyset a_psu [pweight=a_indscip_xw], strata(a_strata) vce(linearized) single unit(missing) || a_psnenip_xd</p>
<p>Is this correct? If not, any suggestions on proper implementation of the survey weights in Stata? There is some sample code in the user guide. I think sample code related to this would be of great use.</p>
<p>Thanks in advance,</p>
<p>Dan</p>