I'm trying to analyze data from a national survey. I need to stratify it by weight, stratum and psu. I'm using Stata 14. The variables are named "weight" "stratum" and "psu".
I used:
svyset psu[pweight = weight], strata(strata)
but got a "type mismatch" error.
I destringed the variable and now get "option not allowed."
Any help would be appreciated.
Related Posts with Survey Data Question
Dummies on events counting fo panelHello , I need to create two different dummies variables "new and "old from a score range indicator…
Export multiple xtabond2 resultsHello Statalist users, I need help with exporting multiple xtbond2 estimations along with their pos…
How to create groups of observations based on shared characteristics and create variables around that.So I'm doing some work with election data. The data I have is formatted like this: Code: * Example…
What is intreg? What is the theory behind it?The UCLA IDRE website has an article on -intreg- to estimate models with interval dependent variable…
Testing the CAPM using the Fama-MacBeth (1973) ApproachDear all, This is a purely statistical question, and has nothing to do with the programming languag…
Subscribe to:
Post Comments (Atom)
0 Response to Survey Data Question
Post a Comment