Hi,
I am producing descriptive statistics of a larger population using a sample. There is weights (wgt) given for every variable. I used this code to get a simple mean wage for women:
However, whatever it is using to calculate "population size" from weights is off. The population size is far lower than it's supposed to be for the country I am analyzing. Is there a way to effectively increase the population size that the data is sampling without messing it up?
*One thing to note is this was originally a dataset spanning 30 years and I kept only the year 2016. Its supposed to be a population of 16 million in 2016 but it is showing the population size is 6 million.
I am producing descriptive statistics of a larger population using a sample. There is weights (wgt) given for every variable. I used this code to get a simple mean wage for women:
Code:
svyset [pweight=wgt], clear svy: mean wage_month if woman
*One thing to note is this was originally a dataset spanning 30 years and I kept only the year 2016. Its supposed to be a population of 16 million in 2016 but it is showing the population size is 6 million.
Comment