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 next 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
Re: unwanted births_v367 Pakistan DHS 2013 [message #13188 is a reply to message #12982] Mon, 02 October 2017 09:58 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
A response from Dr. Tom Pullum:
Quote:

I am not sure what you want to do. I hope you know that v367 refers only to the most recent birth. The question is not asked about any other births. I don't know what your variable "kids" is supposed to be. The other two variables seem to duplicate each other--when one is 1 the other is 0. The following may help. Good luck.

index.php?t=getfile&id=778&private=0
Previous Topic: Unwanted pregnancy
Next Topic: Unwanted pregnancies (Question M10)
Goto Forum:
  


Current Time: Thu Mar 28 17:49:45 Coordinated Universal Time 2024