The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Reproductive Health » reproductive health / contraception
reproductive health / contraception [message #15493] Wed, 01 August 2018 14:48 Go to next message
heman39 is currently offline  heman39
Messages: 2
Registered: August 2018
Location: MUMBAI
Member
Hello,

I need to calculate duration of discontinuation after a women has used contraception method before delivering the first child. I am using vcal_1 variable in DHS calendar data,but I am unable to create the duration of C_use and Duration_of_discontinuation variable. Can anyone please help?
I need to calculate duration of contraceptive use before and after delivery of the first child?
I have to create contraceptive life table (multi-state life table method) using calendar data,my outcome is unintended pregnancy(only for the first child)?
Do i need to fix my time period for one year or shall I take whole five year? Obviously, there will be discontinuation at any point of time in an interval.

Thank you in advance.!


HIMANSHU

[Updated on: Wed, 01 August 2018 15:02]

Report message to a moderator

Re: reproductive health / contraception [message #15494 is a reply to message #15493] Wed, 01 August 2018 23:12 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User, Have you gone through the calendar tutorial on our website? The link https://www.dhsprogram.com/data/calendar-tutorial/
Thank you!
Re: reproductive health / contraception [message #15495 is a reply to message #15494] Thu, 02 August 2018 00:04 Go to previous messageGo to next message
heman39 is currently offline  heman39
Messages: 2
Registered: August 2018
Location: MUMBAI
Member
Hello,
Yes, I have seen DHS calender tutorial. Basically I am focusing on constructing life-table survival analysis by each contraceptive method, and my events of analysis are method failure, discontinuation and switching. So for example if my event of analysis is method failure, I will create a life-table for each contraceptive method, then similarly, life-table (discontinuation) by each contraceptive method and life-table (switching) by each contraceptive method.
I am unable to create a single column for using each contraceptive method for the first time using substr command, as every women will have different position for different contraceptive method. further how to create a single column for switching method.

Initially, I have used the following command:

di length(vcal_1)
*length is 75 chars, so reduce to 75 chars

format %75s vcal_1

gen e1 = substr(vcal_1,1,1)
..................
.................
.................

gen e80 = substr(vcal_1,80,1)

Further, when i am seeing Reason for discontinuation (vcal_2)
br vcal_2
the data have blank spaces, so to how to identify at which point of time does the discontinuation occur because of method failure or any other reason and how to identify duration of contraceptive use before and after delivery of the first child?
Also, what is the duration of discontinuation before and after delivery of the first child?
Am I going in correct direction or not?


HIMANSHU

[Updated on: Thu, 02 August 2018 00:41]

Report message to a moderator

Re: reproductive health / contraception [message #15523 is a reply to message #15495] Mon, 06 August 2018 15:06 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 805
Registered: January 2013
Senior Member
I suggest looking at the Calendar Tutorial and specifically at module 5 about the creation and use of event files. If you convert the calendar data into an event file as described in module 5 then you will find it much easier to analyze the data.
Previous Topic: M61 Time spent at place of delivery
Next Topic: Variable mv312 Ghana 2014
Goto Forum:
  


Current Time: Sat Dec 28 02:14:30 Coordinated Universal Time 2024