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 ?
Omitted period dummies in GMM xtabond2 When reproducing this code to explain the growth relationship, it drops both period 1 and period 4…
using local as range in for valuesHi Statalist I would like to run a loop for every value within a variable called "spell_count", and…
5 * 5 regression results in one tableDear all, I would like to prepare a large table that contains the main coefficient of 25 regression…
Import CSV datesI am completely new to Stata. I have imported a dataset of approximately 50 columns by 500,000 rows.…
Regression modelHello, I have this question: Given the linear model, if B changes by 3 percentage points and A is co…
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