The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » Pregnancy duration
Pregnancy duration [message #9443] Tue, 29 March 2016 07:06 Go to next message
SARAMBE is currently offline  SARAMBE
Messages: 5
Registered: March 2016
Location: Benin
Member
Hi,
I am using Burkina Faso's 2010 DHS data.
I need pregnacy duaration for every child.
I don't know how to get it.
Thank you for your help.
Re: Pregnancy duration [message #9465 is a reply to message #9443] Wed, 30 March 2016 08:45 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
A response from Dr. Tom Pullum:
Quote:

If by "pregnancy duration" you mean the length of gestation for each birth, typically nine months, DHS does not collect that information. If you mean the estimated month of pregnancy for women who are currently pregnant, that's v214 in the IR file (BFIR43). If you mean something else, please clarify.

Thank you!
Re: Pregnancy duration [message #9469 is a reply to message #9465] Wed, 30 March 2016 11:23 Go to previous messageGo to next message
SARAMBE is currently offline  SARAMBE
Messages: 5
Registered: March 2016
Location: Benin
Member
Thank you Liz,
it's the length of gestation for each birth I want.

Aboubacar Sarambé
Re: Pregnancy duration [message #9495 is a reply to message #9465] Mon, 04 April 2016 18:01 Go to previous messageGo to next message
user-rhs is currently offline  user-rhs
Messages: 132
Registered: December 2013
Senior Member
Liz and Tom,
Could the user use the reproductive calendar to get this information? Of course information would be limited to births in the past 5 years (might be longer for some calendars, if I remember correctly).


RHS
Re: Pregnancy duration [message #9497 is a reply to message #9495] Tue, 05 April 2016 06:08 Go to previous messageGo to next message
SARAMBE is currently offline  SARAMBE
Messages: 5
Registered: March 2016
Location: Benin
Member
Thank you so much!
Does somebody help me get the reproductive calendar?

Aboubacar Sarambé
Re: Pregnancy duration [message #9500 is a reply to message #9497] Tue, 05 April 2016 10:50 Go to previous messageGo to next message
user-rhs is currently offline  user-rhs
Messages: 132
Registered: December 2013
Senior Member
Hi Aboubacar,
There's a variable called vcal_1 that stores information on births, pregnancies and contraceptive use during at least 5 years prior to interview. From the DHS recode manual:

Quote:

The calendar of events representing the 5+ years prior to the date of interview. The calendar is split into 9 records, representing each of the 9 columns. Each of the 9 columns contains a single character for each month in the time period. The data are stored as single variables of 80 characters, allowing for up to 80 months to be represented in the calendar. The first character in each variable represents the most recent point in time, while the 80th character position represents data for January of the year in which the calendar started. The calendars are fixed at the 80th character position, such that the first few entries in the calendar represent points in time after the date of interview, and are consequently left blank.


Just a word of warning, though, that because it is a string variable, you will probably need some kind of loop or macro to generate the pregnancy duration variable for each pregnancy for each woman. The variable looks like this in the dataset:
index.php?t=getfile&id=528&private=0

There have been several threads on this discussion board on using the vcal variable that you should read to help you get a better understanding of using this variable. Consult the DHS Recode Manual for the coding scheme of this variable.

hth,
rhs

[Updated on: Tue, 05 April 2016 10:57]

Report message to a moderator

Re: Pregnancy duration [message #9501 is a reply to message #9500] Tue, 05 April 2016 12:56 Go to previous messageGo to next message
SARAMBE is currently offline  SARAMBE
Messages: 5
Registered: March 2016
Location: Benin
Member
Thank you so much.

Aboubacar Sarambé
Re: Pregnancy duration [message #9502 is a reply to message #9495] Tue, 05 April 2016 13:24 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User-RHS,
A response from Dr. Tom Pullum:
Quote:

Even the durations given in the calendars would not be very useful. I think they will almost always be nine months for live births, and that's because, after a month of birth is given, the nine months before that are assigned to pregnancy. There should be variation for pregnancy terminations other than live births, but I would not have a lot of confidence in the stated durations.


Re: Pregnancy duration [message #9503 is a reply to message #9443] Tue, 05 April 2016 14:00 Go to previous messageGo to next message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 789
Registered: January 2013
Senior Member
Here is a simple set of code for getting the duration of pregnancy for each birth in the calendar (with caveats noted below). This uses the IR file:

local callen = 80
* create separate variables for every month
forvalues i = 1/`callen' {
  gen vcal1_`i' = substr(vcal_1,`i',1)
  * Calculate duration of pregnancy if there is a birth in this month
  gen vcalp_`i' = indexnot(substr(vcal_1,`i'+1,`callen'-`i'),"P") if substr(vcal_1,`i',1) == "B"
  * Note that cases with duration 0 are truncated cases where we do not know the length of the pregnancy
}

* reshape the data file into variables for each month
reshape long vcal1_ vcalp_, i(caseid) j(i)

lab var vcalp_ "Duration of pregnancy"
lab def vcalp 0 "Unknown duration"
lab val vcalp_ vcalp

* Keep only the births
keep if vcal1_ == "B"

* CMC date of birth
gen cmc=v017+80-i


You would need to match this up with the births in the birth history, which you can do using the CMC date of birth.

Two issues, though:
1) This only gets the duration of pregnancy for births and their pregnancy that are completely within the calendar. Any pregnancy starting before the calendar will not have a duration.
2) I would not trust the duration of pregnancy from the calendar calculated this way. The calendar was not designed to collect accurate duration of pregnancy. It can only be calculated in months this way and is likely to be reported as 9 months in most cases.
Re: Pregnancy duration [message #9546 is a reply to message #9502] Tue, 12 April 2016 12:33 Go to previous messageGo to next message
user-rhs is currently offline  user-rhs
Messages: 132
Registered: December 2013
Senior Member
Bummer. I didn't realize the information was collected in that way. Sorry, Aboubacar, I tried :).


RHS
Re: Pregnancy duration [message #9550 is a reply to message #9546] Wed, 13 April 2016 03:58 Go to previous message
SARAMBE is currently offline  SARAMBE
Messages: 5
Registered: March 2016
Location: Benin
Member
You're wellcome sir.

Aboubacar Sarambé
Previous Topic: birth order
Next Topic: RH Calendar for Cameroon 2011
Goto Forum:
  


Current Time: Sat Apr 20 08:04:56 Coordinated Universal Time 2024