Hello, I am rather unfamiliar with Statas survey commands and am just starting out, so this question is rather elementary. I have used a simple random sample and have sample 748 schools from a population of 3743 schools. The response rate in my survey is about 44 percent, so I have 332 observations in my dataset. I began with svysetting my dataset with the following command:
gen pop_size=3743
gen weight_srs= pop_size/748
gen fpc= 748/pop_size
svyset skolenhetskod [pweight=weight_srs], fpc(fpc)
(skolenhetskod is my id-variable). When I then later on run svy: proportions or svy: tab it says that my population size is 1656.333 For instance I get the following output:
. svy: proportion matematik1617
(running proportion on estimation sample)
Survey: Proportion estimation
Number of strata = 1 Number of obs = 331
Number of PSUs = 331 Population size = 1656.33
Design df = 330
---------------------------------------------------------------
| Linearized
| Proportion Std. Err. [95% Conf. Interval]
--------------+------------------------------------------------
matematik1617 |
0 | .0392749 .0095651 .0242266 .0630663
1 | .9607251 .0095651 .9369337 .9757734
---------------------------------------------------------------
My question is shouldn't my population size be 3743? Have I specified the survey weight incorrectly?
Thanks!
Best, Jenny
gen pop_size=3743
gen weight_srs= pop_size/748
gen fpc= 748/pop_size
svyset skolenhetskod [pweight=weight_srs], fpc(fpc)
(skolenhetskod is my id-variable). When I then later on run svy: proportions or svy: tab it says that my population size is 1656.333 For instance I get the following output:
. svy: proportion matematik1617
(running proportion on estimation sample)
Survey: Proportion estimation
Number of strata = 1 Number of obs = 331
Number of PSUs = 331 Population size = 1656.33
Design df = 330
---------------------------------------------------------------
| Linearized
| Proportion Std. Err. [95% Conf. Interval]
--------------+------------------------------------------------
matematik1617 |
0 | .0392749 .0095651 .0242266 .0630663
1 | .9607251 .0095651 .9369337 .9757734
---------------------------------------------------------------
My question is shouldn't my population size be 3743? Have I specified the survey weight incorrectly?
Thanks!
Best, Jenny
Comment