The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » Replicate table no 16.7 of NFHS-4 of India (Experience of different types of violence)
Replicate table no 16.7 of NFHS-4 of India [message #22131] Fri, 05 February 2021 09:56 Go to next message
Sourav is currently offline  Sourav
Messages: 6
Registered: February 2021
Member
I want to replicate the table no 16.7 "Experience of different types of violence" of NFHS-4 of India. I have computed the different types of violence in last 12 months by any husband and I have tried by that variables of violence but I am unable to get the values of the table no 16.7 . Can you help with ideas how to create or with STATA code???
Re: Replicate table no 16.7 of NFHS-4 of India [message #22134 is a reply to message #22131] Fri, 05 February 2021 15:40 Go to previous messageGo to next message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

Please check the code on our code share library for the domestic violence indicators and other main indicators listed in the guide to DHS statistics.

Our code share library has code available in Stata and SPSS, please read the readme file before using the code: https://github.com/DHSProgram

Domestic violence Stata code is found here: https://github.com/DHSProgram/DHS-Indicators-Stata/tree/mast er/Chap17_DV
Specially you can check the DV_vio.do file but also check the main file in case there are important notes.

Thank you.

Best,

Shireen Assaf
The DHS Program
Re: Replicate table no 16.7 of NFHS-4 of India [message #22141 is a reply to message #22134] Sat, 06 February 2021 01:16 Go to previous messageGo to next message
Sourav is currently offline  Sourav
Messages: 6
Registered: February 2021
Member
Thank you for you reply. I have tried with the GitHub code of STATA but unable to replicate the table 16.7. Can you help something?
Re: Replicate table no 16.7 of NFHS-4 of India [message #22156 is a reply to message #22141] Mon, 08 February 2021 12:54 Go to previous messageGo to next message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

I ran the DV_VIOL.do file for this survey and computed the domestic violence weight:

gen dwt = d005/1000000

*For table 16.7

tab dv_phy_only [iw=dwt]
*I obtain 24.3% instead of 24.6% in the report

tab dv_sex_only [iw=dwt]
*I obtain 1.1% instead of 1% in the report

tab dv_phy_sex_any [iw=dwt]
I obtain 30.6% instead of 30.4% in the report

Are these the estimates you are getting? I could not find the reason behind these slight discrepancies.

Best,
Shireen
Re: Replicate table no 16.7 of NFHS-4 of India [message #22184 is a reply to message #22156] Tue, 09 February 2021 11:18 Go to previous message
Sourav is currently offline  Sourav
Messages: 6
Registered: February 2021
Member
Yes, I am also getting that exact values what you are getting. There are small discrepancies but why?
Previous Topic: Bangladesh 2004 domestic violence data
Next Topic: Uganda 2006 and 2011 survey
Goto Forum:
  


Current Time: Wed Nov 13 09:38:09 Coordinated Universal Time 2024