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
Finding the minimum of difference between all observations by groupHi, everybody, I am trying to calculate the minimum of differences between all observations by grou…
A series of problem(a) Run the regression with all years (c) Test if the coefficients on on-base percentage and sluggin…
Adding up coefficient estimates and the standard errors after running the regressionHi, I have ran a regression with interaction variables as shown below and received the output where…
Independent component Analysis (ICA)Dear all, i'd like t work on financial data and using arbitrage pricing model by the ICA algorithm. …
query regarding log differenceI have constructed a variable later to convert it into growth variable (as the variable is equal to …
Subscribe to:
Post Comments (Atom)
0 Response to Survey Data Question
Post a Comment