Project

General

Profile

Support #80

Stata code for survey weights

Added by Daniel Sperber over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Survey design
Start date:
09/05/2012
% Done:

100%


Description

Hi,
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.

The other relevant weights (from the user manual) are:
a_psu (primary sampling unit)
a_strata (sample strata)
a_psnenip_xd (cross sectional person design weight)

This is what I have now:
svyset a_psu [pweight=a_indscip_xw], strata(a_strata) vce(linearized) single unit(missing) || a_psnenip_xd

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.

Thanks in advance,

Dan

Also available in: Atom PDF