The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » HIV » HIV and Child Mortality (Measuring child mortality for child born to HIV positive mothers)
Re: HIV and Child Mortality [message #18217 is a reply to message #18215] Wed, 16 October 2019 04:00 Go to previous messageGo to previous message
ericremera is currently offline  ericremera
Messages: 2
Registered: March 2013
Location: Kigali
Member
Hi Again
I have tried to combine the stratum but i got another message that i should specify my data as nest=TRUE ( Error in svydesign.default(id = ~v021, strata = ~v022, weights = ~rweight, :Clusters not nested in strata at top level; you may want nest=TRUE.).

i have run the following conde : "dhsrw <- svydesign(id=~v021, strat=~v022, weight=~v005, data=rw2005pos, nest=TRUE) but unfortunately i'm getting another message that could not find function "svydesign".

Any one to help ?


Remera
 
Read Message
Read Message
Read Message
Previous Topic: HIV indicators scripts
Next Topic: Cameroon DHS 2011 (Total Women Sample Used for "ever tested for HIV")
Goto Forum:
  


Current Time: Fri Dec 13 18:15:12 Coordinated Universal Time 2024