Hi all!
I am writing my master thesis and using the ESS round 7 data file and would like to use the svyset command. I have read the stata manual and several tutorials, yet I am still not sure how to correctly specify the options of svyset for my dataset. The ESS data weighting guideline says I should combine dweight with pweight if I am conducting the analysis on a group of countries. The variables dweight (designweight), pweight (population weight) and poststratification weight are already in the data set. Other relevant variables are: idno (respondent id), cntry (country) and region.
Now... should I generate a new variable combining dweight and pweight and in this case should I write: gen newweight=dweight*pweight?
Does this syntax make sense to you?
svyset idno [pw=newweight], strata(cntry) singleunit (centered)
Any answer is much appreciated!
Best,
Laura
I am writing my master thesis and using the ESS round 7 data file and would like to use the svyset command. I have read the stata manual and several tutorials, yet I am still not sure how to correctly specify the options of svyset for my dataset. The ESS data weighting guideline says I should combine dweight with pweight if I am conducting the analysis on a group of countries. The variables dweight (designweight), pweight (population weight) and poststratification weight are already in the data set. Other relevant variables are: idno (respondent id), cntry (country) and region.
Now... should I generate a new variable combining dweight and pweight and in this case should I write: gen newweight=dweight*pweight?
Does this syntax make sense to you?
svyset idno [pw=newweight], strata(cntry) singleunit (centered)
Any answer is much appreciated!
Best,
Laura
Comment