The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Variable Verification in Zim DHS 2010-11
Re: Variable Verification in Zim DHS 2010-11 [message #2797 is a reply to message #2792] Mon, 25 August 2014 21:22 Go to previous messageGo to previous message
swdalb is currently offline  swdalb
Messages: 5
Registered: August 2014
Member
Ok thanks Trevor. Can I ask you to verify some code for me then? This skip pattern still seems bizarre to me and I'm not sure I'm generating the variables I want correctly. These are the variables I need:

* Any postpartum care (at any time)
* Postpartum care within 2 months of the delivery
* Postpartum care within 2 days of the delivery
* Postpartum care by a skilled provided (doctor, nurse, midwife)
* Any postnatal care (at any time)
* Postnatal care within 2 months of delivery
* Postnatal care within 2 days of delivery
* Postnatal care by skilled provider
* Postnatal care in a facility (anything but their home or another private home).

I've attached my code so far and changed it based on what you said below. My main difficulty is that I'm trying to give values of 0 to observations that were skipped based on the qx logic, but it doesn't look like I should, for example, give the "any PNC" variable a 0 simply because it was skipped over. Anyway, let me know what you think and thanks again - this was really helpful.

-Sean
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: CS plan
Next Topic: Svysey vs iweght
Goto Forum:
  


Current Time: Fri Nov 8 22:53:06 Coordinated Universal Time 2024