The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » Table reproduced using code on Git does'not match the report
Re: Table reproduced using code on Git does'not match the report [message #23576 is a reply to message #23552] Tue, 12 October 2021 08:25 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

Usually the DHS reports these indicators for women who have had a birth in the last five years. This is why in the RH_age_period.do file of this chapters on GitHub you will find a variable period set to 60 (12*5).

However in the BDHS 2017 final report you will see at the top of the table that the indicator is reported for women with a birth in the last 3 years. So you must change the period variable to 36. Always check the table titles and notes to make sure the standard code does not need to be adjusted for country-specific changes.

When you make this change and run the standard code you will match the final report with only using the weights as you have below. The svy is used to obtained the correct standard error if your analysis involves statistical models or reporting confidence intervals.

Thank you.
Best,
Shireen Assaf
The DHS Program

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Making new variables
Next Topic: Variable regarding microcredit involvement.
Goto Forum:
  


Current Time: Fri Apr 19 12:12:35 Coordinated Universal Time 2024