The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Service Provision Assessment (SPA) » ANC duration in DRC
ANC duration in DRC [message #18809] Tue, 25 February 2020 13:15
Dalau is currently offline  Dalau
Messages: 4
Registered: June 2017
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: SPA dataset for DRC
Next Topic: GPS coordinates and variable names in SPA data
Goto Forum:

Current Time: Mon Aug 15 15:18:15 Coordinated Universal Time 2022