Home » Countries » Bangladesh » Early marriage (Proportion of early marriage in report and data is not matching)
Re: Early marriage [message #24223 is a reply to message #24219] |
Sat, 19 March 2022 04:48 |
Arif_Billah
Messages: 11 Registered: March 2022
|
Member |
|
|
Than you for your response sir.
Yes, we have used that Github code but the result is not same. Please note sir, we are using BDHS 2017/18 data (IR file) to estimate the prevalence of early marriage.
use "/Users/c3272018/Documents/My Artical/Collaborative work/Arif/Early marriage/Analysis/BDIR7RFL.DTA"
** Weighting
gen rev005=v005/1000000
svyset v021, strata(v023) weight(rev005) vce(linearized) singleunit(missing)
recode v511 (.=0) (0/17 = 1 "yes") (18/49 = 0 "no"), gen (ms_afm_18)
replace ms_afm_18 = . if v012<18
label var ms_afm_18 "First marriage by age 18"
ta ms_afm_18 // this is your dependent variable
tab rev013 ms_afm_18 [iweight = rev005], row
tab rev149 ms_afm_18 [iweight = rev005], row
tab rev729 ms_afm_18 [iweight = rev005], row
tab rev130 ms_afm_18 [iweight = rev005], row
tab v190 ms_afm_18 [iweight = rev005], row
tab v714 ms_afm_18 [iweight = rev005], row
tab v025 ms_afm_18 [iweight = rev005], row
tab v024 ms_afm_18 [iweight = rev005], row
tab rev013 ms_afm_18 [iweight = rev005] if v013==2, row
tab rev149 ms_afm_18 [iweight = rev005] if v013==2, row
tab rev729 ms_afm_18 [iweight = rev005] if v013==2, row
tab rev130 ms_afm_18 [iweight = rev005] if v013==2, row
tab v190 ms_afm_18 [iweight = rev005] if v013==2, row
tab v714 ms_afm_18 [iweight = rev005] if v013==2, row
tab v025 ms_afm_18 [iweight = rev005] if v013==2, row
tab v024 ms_afm_18 [iweight = rev005] if v013==2, row
But the result is not same as shown in the BDHS report (Chapter 4, table no 4.4).
Please take a look at the codes and let us know if there is mistakes done by us.
Thank you in advance.
|
|
|
Goto Forum:
Current Time: Fri Dec 13 17:10:24 Coordinated Universal Time 2024
|