The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » unwanted births_v367 Pakistan DHS 2013
unwanted births_v367 Pakistan DHS 2013 [message #12982] Mon, 28 August 2017 13:25 Go to previous message
qaisar375 is currently offline  qaisar375
Messages: 1
Registered: April 2017
Location: South Korea
Member

Hello,
I am using demographic and health survey 2013 of Pakistan. I want to calculate total # of births (wanted then+ wanted later+ wanted no more), wanted and unwanted births using variable (v367) in the birth recode. I have used the following commands to generate these variables;
use "I:\DHS\PKBR61FL.dta"

gen kids=1 if v367>=1 & v367<=3
by caseid: egen numkids=total(kids)

gen wantkds=1 if v367>=1 & v367<=2
by caseid: egen wantkids=total(wantkds)

gen nomore=1 if v367==3
by caseid: egen nokids=total(nomore)
I generated unwanted births using;
gen unwantbirth= nokids/numkids *100

The unwanted births calculated are either 0 or 100 means that all reported unwanted kids are from the same family, which I think shouldn't be the case. Please advise.
Also please comment on the calculation of unwanted births, should it be (wanted later+ wanted no more) OR only (wanted no more). Thank you very much for your support in advance.



qaisar
 
Read Message
Read Message
Previous Topic: Unwanted pregnancy
Next Topic: Unwanted pregnancies (Question M10)
Goto Forum:
  


Current Time: Fri Apr 19 18:50:45 Coordinated Universal Time 2024