Home » Topics » Reproductive Health » Pregnancy duration
Re: Pregnancy duration [message #9500 is a reply to message #9497] |
Tue, 05 April 2016 10:50 |
|
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:
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
|
|
|
|
|
Pregnancy duration
By: SARAMBE on Tue, 29 March 2016 07:06
|
|
|
Re: Pregnancy duration
By: Liz-DHS on Wed, 30 March 2016 08:45
|
|
|
Re: Pregnancy duration
By: SARAMBE on Wed, 30 March 2016 11:23
|
|
|
Re: Pregnancy duration
By: user-rhs on Mon, 04 April 2016 18:01
|
|
|
Re: Pregnancy duration
By: SARAMBE on Tue, 05 April 2016 06:08
|
|
|
Re: Pregnancy duration
By: user-rhs on Tue, 05 April 2016 10:50
|
|
|
Re: Pregnancy duration
By: SARAMBE on Tue, 05 April 2016 12:56
|
|
|
Re: Pregnancy duration
By: Liz-DHS on Tue, 05 April 2016 13:24
|
|
|
Re: Pregnancy duration
By: user-rhs on Tue, 12 April 2016 12:33
|
|
|
Re: Pregnancy duration
By: SARAMBE on Wed, 13 April 2016 03:58
|
|
|
Re: Pregnancy duration
|
Goto Forum:
Current Time: Sat Dec 28 17:12:19 Coordinated Universal Time 2024
|