Hello everyone,
I am analysing LSMS household survey data (panel data, 3 waves). I would like to implement the svyset design but I face problems in terms of the number of PSU. My primary sampling units are communities (EA), I have (final) sampling weights in my data as well as one variable for the strata used.
When I just count the number of communities in my data, I get 373. Several observations lack of community data, so I think there are 372 communities in my dataset.
However, when I use
"svyset comm [pw=wgt], strata(stratum)",
Stata tells me (svydescribe) that there are 442 communities in my data.
On the other hand, when I try
"svyset comm [pw=wgt]",
Stata tells me that I have one stratum and 372 units which seems to be correct, from my point of view.
So, how can I define the svyset command correctly including all the information on the sampling design I have?
Any help is greatly appreciated.
Thanks,
Heidi
I am analysing LSMS household survey data (panel data, 3 waves). I would like to implement the svyset design but I face problems in terms of the number of PSU. My primary sampling units are communities (EA), I have (final) sampling weights in my data as well as one variable for the strata used.
When I just count the number of communities in my data, I get 373. Several observations lack of community data, so I think there are 372 communities in my dataset.
However, when I use
"svyset comm [pw=wgt], strata(stratum)",
Stata tells me (svydescribe) that there are 442 communities in my data.
On the other hand, when I try
"svyset comm [pw=wgt]",
Stata tells me that I have one stratum and 372 units which seems to be correct, from my point of view.
So, how can I define the svyset command correctly including all the information on the sampling design I have?
Any help is greatly appreciated.
Thanks,
Heidi
Comment