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 ?
Creating a new variable based on frequency of string values in varlistThis might be a basic question but I've been trying to create a variable to count the frequency of s…
Stata speed when using i7 vs. i9 (vs. perhaps Xeon)Hello all, if I keep RAM constant at around 32GB, what sort of speed increase in Stata analysis (say…
Industry Dummy Variables - Grouping them togetherDear All,
I have a panel data set that contains around 150 companies, covering a period of 15 years…
How to generate type III table for mixed linear models in Stata?Hello,
I'm new to Stata and I'm trying to obtain a type III table for a mixed model in Stata? Any su…
Business CalendarHey everybody,
I'm trying since a long while to change my daily data to business calendar data. Acco…
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