The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » SPA DRC : antanatal care dataset (Duration of ANC observation)
SPA DRC : antanatal care dataset [message #18618] Mon, 13 January 2020 12:20
Dalau is currently offline  Dalau
Messages: 3
Registered: June 2017
Member
Hi,
I would like to estimate the duration (in minutes) of ANC visit using data from the ANC observation in the CDAN71FLSP dataset.
Here is my stata code:

gen start=(c102h*60) + c102m
gen end=(oa125h*60)+ oa125m

gen duration=end-start

Running this command, the duration of ANC visit observed ranges from 0 minutes to 305 minutes. Surprisingly, women for whom the duration of observation is 0 minutes, have all the ANC procedures performed. I wonder if I used good variables or good code because the results seem incredible to me.
Please advise!
Previous Topic: issues regarding extracting data for specific states in india from DHS data set for 2015-16
Next Topic: Missing values for v447a 2014 Ghana DHS
Goto Forum:
  


Current Time: Tue Jan 21 13:51:50 Eastern Standard Time 2020