Contraceptive calendar [message #14351] |
Mon, 26 March 2018 23:53 |
Kirti Gaur
Messages: 5 Registered: March 2018 Location: India
|
Member |
|
|
Hi,
I am working on Abortions using Indian DHS dataset. I am using IAIR.DTA file. There are nine columns in contraceptive calendar (vcal_1 through vcal_9). I have three questions regarding the same.
1. Kindly let me know which columns are for "Births, pregnancies and contractive use (I am confused whether it is column vcal_1 or vcal_7)" and which are for "Discontinuation of contraceptive use (I guess it is vcal_3, but then there should be reason for discontinuation at each episode, however I could not find the same)". Kindly guide me through this.
2. How have you calculated the third column of table 6.14 (see table 6.14 non-live birth by state and union territories at page 179 of India report) and table 6.15 (see table 6.15 pregnancy outcome according to background characteristics).
In the data, pregnancy outcome (Abortion, still birth or miscarriage) is provided only for the last pregnancy which got terminated. For all the earlier non-live births (during last five years) only a code 'T' is given which stands for 'termination'. So, technically it is not possible to get the "PREGNANCIES by pregnancy outcome during the five years preceding the survey".
Your quick response in the matter is highly appreciated.
Thanks
Kirti
|
|
|
|
|
|
Re: Contraceptive calendar [message #29074 is a reply to message #29043] |
Fri, 19 April 2024 17:00 |
Janet-DHS
Messages: 880 Registered: April 2022
|
Senior Member |
|
|
Following is a response from DHS staff member, Tom Pullum:
You could get the Stata code for the calendar (vcal_1) from our GitHub site but it's simple, so I will just paste it below. You don't exactly want the number of pregnancies, but the number of completed pregnancies, which are coded with a B for a birth and T for other terminations.
There is one record with an obvious error that must be dropped.
* Births, terminations, and completed pregnancies in the calendar (the past 5 years)
use "...IAIR7EFL.DTA" , clear
gen B=0
gen T=0
quietly forvalues lcol=1/80 {
replace B=B+1 if substr(vcal_1,`lcol',1)=="B" & (`lcol'-v018)<60
replace T=T+1 if substr(vcal_1,`lcol',1)=="T" & (`lcol'-v018)<60
}
* There is one record with T=59; drop it
drop if T==59
gen P=B+T
label variable B "Births"
label variable T "Terminations"
label variable P "Pregnancies"
tab1 B T P
|
|
|