The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Tanzania » Svy command
Svy command [message #4369] Fri, 15 May 2015 04:09 Go to previous message
erimgina@yahoo.com is currently offline  erimgina@yahoo.com
Messages: 3
Registered: April 2015
Location: China
Member
Dear all
I am planning to use DHS 2010 data to investigate the relationship between family planning use and increased weight among women using modern methods of family planning, I getting difficult to use svy command in stata, I have read the user mannual and written the command as follows

gen psu= v021
gen wght=v005/1000000
egen strata = group(v022 v023), label
svyset psu [pweight=wght], strata(strata)
svy: mean age

The results that I get is missing some information as shown in the table below, the same problem occur when I do regression analysis
svy: mean age
(running mean on estimation sample)

Survey: Mean estimation

Number of strata = 51 Number of obs = 10139
Number of PSUs = 475 Population size = 10139
Design df = 424

------------------------------------------------------------ --
| Linearized
| Mean Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------- --
age | 28.57465 . . .
------------------------------------------------------------ --
Note: missing standard error because of stratum with single
sampling unit.

Please any help!
 
Read Message
Read Message
Read Message
Previous Topic: Variable for children education/ enrollment ratio/grade attainment
Next Topic: Child Mortality
Goto Forum:
  


Current Time: Thu Apr 25 15:50:58 Coordinated Universal Time 2024