Home » Topics » Fertility » Indonesia vcal calendar data
Re: Indonesia vcal calendar data [message #11396 is a reply to message #3648] |
Mon, 12 December 2016 01:15 |
tege2004@gmail.com
Messages: 3 Registered: August 2016
|
Member |
|
|
Hi i am tegene i tried to understand the code given for still birth calculation but i did not understand it particularly the following part.
Set length of calendar to use
gen callen = v018 + 59
* If calendar is aligned right (as in original dataset), use the following:
gen beg = v018
gen end = callen
* If calendar is aligned left (as it appears to be), use the following:
*gen beg = 1
*gen end = 60
* Loop through calendar summing births, non-live pregnancies and stillbirths
forvalues i = 1/80 {
* Restrict to 60 months preceding survey
replace births = births+1 if `i' >= beg & `i' <= end & substr(vcal_1,`i',1) == "B"
replace nlbirths = nlbirths+1 if `i' >= beg & `i' <= end & substr(vcal_1,`i',1) == "T"
replace stillbirths = stillbirths+1 if `i' >= beg & `i' <= end & substr(vcal_1,`i',7) == "TPPPPPP"
}
please is there any one to help me to understand how to find still birth by using calendar? or please tell me the above command with simple language??
|
|
|
|
|
Indonesia vcal calendar data
By: adev on Wed, 07 January 2015 14:08
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: adev on Mon, 12 January 2015 05:08
|
|
|
Re: Indonesia vcal calendar data
By: adev on Thu, 22 January 2015 09:07
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: adev on Sat, 24 January 2015 11:39
|
|
|
Re: Indonesia vcal calendar data
By: Liz-DHS on Wed, 28 January 2015 11:42
|
|
|
Re: Indonesia vcal calendar data
By: adev on Mon, 02 February 2015 16:12
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: Liz-DHS on Thu, 02 February 2017 14:07
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: Mark on Tue, 07 January 2020 01:36
|
|
|
Re: Indonesia vcal calendar data
By: Liz-DHS on Tue, 07 January 2020 09:17
|
|
|
Re: Indonesia vcal calendar data
By: Mark on Thu, 09 January 2020 05:32
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: adev on Wed, 04 February 2015 07:48
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: adev on Fri, 20 February 2015 05:25
|
|
|
Re: Indonesia vcal calendar data
|
|
|
Re: Indonesia vcal calendar data
By: plnep on Tue, 27 October 2015 02:20
|
|
|
Re: Indonesia vcal calendar data
|
Goto Forum:
Current Time: Thu Jan 2 07:34:32 Coordinated Universal Time 2025
|