Dear Statalists,
I am running analysis on a survey dataset which use multi-stage stratified systematic sampling design, and stratified sampling with Probability Proportional to size(PPS) depending on county population(first stratum).
There are 3 strata in my dataset, which are county, strata, and psu_id. Strata (second stratum) is nest within county (first stratum). This survey use stratified random sampling from strata (second stratum), and pull out third stratum named psu_id, and the number of each sampling from second stratum are named psu.
The stratum message are as follow:
First stratum: county (number 1 to 23)
Second stratum: strata (number 1 to 3)
Third stratum: psu_id
psu: the number of each sampling from second stratum
if the same number of both county and city, psu is the same. However, if the same number of only county or city, psu is different.
I use stata code as follows:
svyset county[pweight=WT_N],strata(strata) fpc(psu)||psu_id
However, the result will come out with “ fpc for all observations within a stratum must be the same”
How can I handle the problem with fpc is different. Could stata use in survey sampling with PPS design?
I look forward to hearing from you.
Thanks.
Lily
Related Posts with Regarding error message “ fpc for all observations within a stratum must be the same” with PPS sampling design, how to handle it ?
DiD with (high level) time fixed effects: how to interpret Post coefficient?Hey everyone, Thank you for reading my question. It is related to a "commonly-seen" difference-in-d…
Tabstat tables side by side using esttab in a loopHi everyone, I am trying to get summary statistics of my variables using tabstat and would like to …
The commands that work in Stata-16 and not in 17.Hello everyone, I used some commands in my do-file in Stata-16 and now they do not work in Stata-17.…
Interpretation of significances with moderation effectI am currently running panel regression with random effects and there is a result that I cant fully …
Help needed: Using lagged explanatory variables as instruments with xtabond2Dear Statalist, I am replicating the paper "Country or leader? Political change and UNGA voting" by…
Subscribe to:
Post Comments (Atom)
0 Response to Regarding error message “ fpc for all observations within a stratum must be the same” with PPS sampling design, how to handle it ?
Post a Comment