The DHS Program User Forum
Discussions regarding The DHS Program data and results
Today's Messages (on)  | Unanswered Messages (off)

Forum: General
 Topic: MERGING IR AND HR FILE
Re: MERGING IR AND HR FILE [message #29066 is a reply to message #29008] Fri, 19 April 2024 00:47
Noyel Sebastian is currently offline  Noyel Sebastian
Messages: 6
Registered: March 2024
Member
Thank you for the reply. I would like to clarify whether merging my IR file with the PR file will give me the respective women's household characteristics (which are not in the IR file). I understood from your reply that it is better if I merge the IR and PR files to get the missing household variables for women. I can follow this by merging the new file with the BR file.

Is there anything I need to focus on concerning the merging codes of the IR and PR files? Is it possible to share the merge code?



Thank You
Forum: Mortality
 Topic: Working through Odds Ratios
Working through Odds Ratios [message #29067] Fri, 19 April 2024 07:08
shivani is currently offline  shivani
Messages: 9
Registered: March 2021
Member
Hi,
I am want to calculate the odds ratio for NNMR, IMR, CMR across social categories for which I am using the variable b6 and b7.
However, there is some error I believe in data as the age at deaths (captured by b6 and b7) shows values greater than 60 months (in the variable b7).
Approx 8000 observations in b7 variable are greater than "60".
Can someone help me with that?
additionally, I hope my approach is correct in which I am only including those observations with b7==0 if the child didn't survive first three years as "having incurred neonatal mortality" in comparison to a live child of age 1 month?

Thanks
Forum: Dataset use in Stata
 Topic: Strange Issues w/ Data Formatting from DHS
Re: Strange Issues w/ Data Formatting from DHS [message #29068 is a reply to message #29060] Fri, 19 April 2024 10:56
Trevor-DHS is currently offline  Trevor-DHS
Messages: 789
Registered: January 2013
Senior Member
Hi, I would like to help you resolve this issue. A couple of first steps:
1) If you are working in Stata, you only need the DT files (e.g. TZxxvvDT.zip) and not the FL zip files (e.g. TZxxvvFL.zip), with the exception of the geospatial (GE) files which are only in one format. All of the DT files contain the .dta data files that you need. There is no need to use the .do and .dct files that are found in the FL zip files as the same data are in the DT files.zip
2) Once you have just the DT zip files, you will find the .dta files inside of those zip files and should be able to unzip them automatically to the location of your choice.
Can you test this out and see if it works?

I'm a little confused about the images you have shared of the file contents. I think you have cut sections of the output into the images you shared, but I think you have cut them in the wrong place. For example in your image that starts "successfully extracted TZKR41DT.zip ...", you are mixing the output from extracting two different zip files. You are showing the end of the process for extracting TZKR41DT.zip, with the list of files being shown before "successfully extracted TZKR41DT.zip ..." (but not included in the image you sent) and then telling you that 4 files were processed. Then in the same image you are showing the first part of the extraction of TZKR63FL.zip and listing the 8 files extracted from that, but then not showing the success message.

Let us know if this helps clarify your issues.
Forum: Kenya
 Topic: KDHS 2022 Gender Based Violence Indicators
Re: KDHS 2022 Gender Based Violence Indicators [message #29069 is a reply to message #28265] Fri, 19 April 2024 11:54
Vincent Odhiambo is currently offline  Vincent Odhiambo
Messages: 4
Registered: October 2023
Member
Hello Stephen. I hope you are fine. Kindly assist with a set of variables that would define economic violence using tanzania DHS. i am using IR file from 2022 survey



Current Time: Fri Apr 19 15:04:59 Coordinated Universal Time 2024