The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » DHS Malawi - domestic violence among women 15-19
Re: DHS Malawi - domestic violence among women 15-19 [message #2021 is a reply to message #2019] Mon, 14 April 2014 18:07 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member


One quick thing - I think you should be using the "subpop" command here instead of the "if".

http://www.stata.com/manuals13/svysubpopulationestimation.pd f

***
Subpopulation estimation involves computing point and variance estimates for part of the population.
This is not the same as restricting the estimation sample to the collection of observations within
the subpopulation because variance estimation for survey data measures sample-to-sample variability,
assuming that the same survey design is used to collect the data
***

So maybe try:
svy, subpop(v013) anysv v101

I'd be interested to know if that did the trick.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculation of prevalence using STATA command
Next Topic: Missing cases in Severe Burn question- NFHS India
Goto Forum:
  


Current Time: Fri Nov 22 11:33:45 Coordinated Universal Time 2024