Re: Slight Deviation from Reported Value: BDHS 2014 place of delivery and assistance during delivery [message #15684 is a reply to message #15677] |
Thu, 30 August 2018 01:40 |
mahmudornob
Messages: 7 Registered: August 2018 Location: South Korea
|
Member |
|
|
Dear Fidele Mutima and Bridgette,
Thanks for sharing your suggestions on my query.I really do appreciate your efforts. However, I am getting 4,895 still now. After keeping the cases where births occurred in the three years preceding the survey (as per reported table) by using the following syntax, I checked any cases for missing but unfortunately didn't get any missing case in the data.
///REPLICATING TABLE 9.5///Place of Delivery
///VARIABLES GENERATION///
cd " C:\Users\Ornia\Downloads\BD_2014_DHS STATA\BDBR72DT"
use " BDBR72FL", clear
set more off
************************************************************ ********************
**WEIGHT VARIABLE
gen weight = v005/1000000
************************************************************ ********************
************************************************************ ********************
** SURVEY SET
gen psu = v021
gen strata = v023
svyset psu [pw = weight], strata(strata) vce(linearized)
*svydes
************************************************************ ********************
** BIRTHS IN THE THREE YEARS PRECEDING THE SURVEY
keep if v238>0 & v238!=.
************************************************************ ********************
edit
sort m15
Would you mind to check the publicly downloadable data?
Your suggestion would be invaluable for my research.
Thanking you,
Mahmudul
[Updated on: Thu, 30 August 2018 01:42] Report message to a moderator
|
|
|