The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Nepal » Regarding injury data
Regarding injury data [message #30059] Tue, 17 September 2024 18:04 Go to next message
Elsha is currently offline  Elsha
Messages: 4
Registered: September 2024
Member
Hi,

I am working on merging injury data with IR, MR, and PR files. Can you help me please.
I had merged injury file with PR 1:1 in STATA by generating a new variable. for instance for injury data: gen ID_new = hhid + "_" + string(haiidx) + "_" + string(hv003)

However, on merging the dataset on self-harm shows 72 counts instead of 86 (originally in injury dataset). Why is that so?

Please help me!
Re: Regarding injury data [message #30064 is a reply to message #30059] Wed, 18 September 2024 11:17 Go to previous messageGo to next message
Janet-DHS is currently offline  Janet-DHS
Messages: 888
Registered: April 2022
Senior Member
Thank you for submitting your question. Could you please provide some more detailed information so we can better advise you?
Can you let us know:
• Which survey you are using (Include country name and year)?
• Which data files you are referring to?
• Which software you are using (Stata, SPSS, R, etc.)?
If you are trying to match a Table in a final report, please also indicate which table and which estimate you are trying to match.
Re: Regarding injury data [message #30066 is a reply to message #30064] Wed, 18 September 2024 14:18 Go to previous messageGo to next message
Elsha is currently offline  Elsha
Messages: 4
Registered: September 2024
Member
Hi Janet,

Thank you for replying.
I am using NP_2022_DHS dataset. I need your help combining NPAI82DT with NPPR82DT and NPIR82DT NPMR82DT. I combined AI with PR files.But found some missing data for self-harm.In AI files the varibale hai4 gives 86 self-harm cases. But combining with PR files it is reduced to 72. I don't know why.
Can you give the right code of combining AI files with PR< IR and MR dataset please.
I am using STATA and R for merging.

I want the data related to table 18.6

I also want to link the self-harm data to one question (Thoughts that you would be better off dead or of
hurting yourself in some way of PHQ-9.
Re: Regarding injury data [message #30073 is a reply to message #30066] Thu, 19 September 2024 15:42 Go to previous message
Elsha is currently offline  Elsha
Messages: 4
Registered: September 2024
Member
I have checked the PR data file and it shows 74 injury dataset. But in Injury data set it shows 86 self-harm cases. I don't know why that is the case. Can you help me with this?
Previous Topic: Nepal DHS 2022 - children's Disability
Next Topic: out-of-pocket expenditure
Goto Forum:
  


Current Time: Fri Nov 22 22:53:25 Coordinated Universal Time 2024