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

Forum: Domestic Violence
 Topic: Violence questionnaire
Violence questionnaire [message #31634] Tue, 02 December 2025 09:40
Leontrim is currently offline  Leontrim
Messages: 1
Registered: December 2025
Member
Hello guys,

I recently downloaded the Nigeria DHS from 2017 and 2024. In the DHS Final report it says that there is information on violence faced by women, but when I look at the data in the survey it only says if women were selected for the violence questionnaire. Do you know where I can find this specific survey to perform analysis on violence against women?

Thank you very much in advance!

Best
 Topic: Comparison of surveys- Mozambique
Comparison of surveys- Mozambique [message #31633] Tue, 02 December 2025 08:13
isrubio is currently offline  isrubio
Messages: 1
Registered: December 2025
Member
Hi,

Could you please help me? I am comparing different topics on violence against women using the R-Codes from Github DHS-Indicators and I am comparing values for the Mozambique Surveys 2011, 2015 and 2022.

Is it correct to compare these values and interpret the results as trends? For some of the results I am surprise about the changes over time.
Did the questions in the surveys remain comparable?

Thank you very much in advance for your help.

Kind reagards,
Inge


Here is an example:

# //Ever
dv <- dv %>%
mutate(dv_sex =
case_when(
d105h>0 | d105i>0 | d105k>0 ~ 1, # violence by current partner
d130b>0 ~ 1, # violence by former partner
d124==1 ~ 1, # violence by anyone other than partner
d125==1 ~ 1, # forced to perform unwanted acts
v044==1 ~ 0 )) %>%
set_value_labels(dv_sex = c("Yes" = 1, "No"=0)) %>%
set_variable_labels(dv_sex = "Ever experienced sexual violence")
# Keep only years with DV module AND women selected for DV (v044 == 1)
dat_dv <- dv %>%
filter(
year %in% c(2011, 2015, 2022),
v044 == 1, # selected for DV module
!is.na(d005) # ensure weight exists
) %>%
mutate( wt = d005 / 1e6, # scale DHS weights
one = 1)

any(is.na(dat_dv$wt)) # should be FALSE


# Survey design on the DV dataset
dhs_design<- svydesign(id = dat_dv$v021,
strata = dat_dv$v022,
weights = dat_dv$wt, data = dat_dv, nest = T)
options(survey.lonely.psu = "adjust")

# Restrict to: selected for DV module
dhs_design_mod <- subset(dhs_design, v044 == 1)

# 1. Denominator: total eligible women per year (weighted)
tot_dv_mod <- svyby(
~one,
~year,
dhs_design_mod,
svytotal,
na.rm = TRUE) %>%
rename(total_year = one, se_t = se)
tot_dv_mod
sex_ever_mod <- svyby(
~one,
~dv_sex + year,
dhs_design_mod,
svytotal,
na.rm = TRUE)

sex_ever_tab_mod <- sex_ever_mod %>%
left_join(tot_dv_mod, by = "year") %>%
mutate(
Variable = "Ever experienced sexual violence",
Category = ifelse(dv_sex == 1, "Yes", "No"),
N = round(one),
Year = year,
Weighted_percentage = round((one / total_year) * 100, 2),
lower_CI = round(((one - 1.96 * se) / total_year) * 100, 2),
upper_CI = round(((one + 1.96 * se) / total_year) * 100, 2)) %>%
select(Year, Variable, Category, N, Weighted_percentage, lower_CI, upper_CI)
sex_ever_tab_modsex_ever_tab_mod
Year Variable Category N Weighted_percentage lower_CI upper_CI
1 2011 Ever experienced sexual violence No 6274 91.80 84.64 98.96
2 2011 Ever experienced sexual violence Yes 561 8.20 7.04 9.36
3 2015 Ever experienced sexual violence No 3236 93.75 81.72 105.77
4 2015 Ever experienced sexual violence Yes 216 6.25 4.96 7.54
5 2022 Ever experienced sexual violence No 3564 74.04 68.16 79.93
6 2022 Ever experienced sexual violence Yes 1249 25.96 23.03 28.89
>
Forum: Reproductive Health
 Topic: Missing values in C Section
Missing values in C Section [message #31628] Sun, 30 November 2025 13:31
Jahir is currently offline  Jahir
Messages: 1
Registered: November 2025
Member
Hello all,

In the BDHS Birth Recode (BR) dataset, I have found many missing values in the variable m17. Each observation represents a child of the interviewed woman, and each should fall under either C-section (Yes) or No. However, I have obtained only about 4,000 responses.

Any insights on why so many values are missing would be appreciated.
Forum: General
 Topic: Cervical and breast cancer screening variables
Cervical and breast cancer screening variables [message #31627] Sat, 29 November 2025 02:19
Max is currently offline  Max
Messages: 1
Registered: November 2025
Member
I am working on a topic related to cervical and breast cancer screening in three countries (Gambia, Sierra Leone and Nigeria) and I am not able to locate the code for these variables. I did an earlier work and cervical and breast cancer screening variables were coded as V484A and V484B. Any help will be appreciated.
Forum: Bangladesh
 Topic: Re: What are these missing values of skilled ANC providers indicating?
Re: What are these missing values of skilled ANC providers indicating? [message #31625] Fri, 28 November 2025 22:48
Devika is currently offline  Devika
Messages: 2
Registered: November 2025
Member
Hi

I am working with the child-recode file, where each row represents a child born. As I found mother's variable also in the same file, I am choosing to take variables like m2a from the same file. As I am using only merged variables (HR+KR), I was trying to create "prenatal_dr_visit" I am getting too many missing observations. Is there a way I can find out why so many were missed? Also, there is no m2a_1. Attached the tab m2a, missing.

Other checks I did:

/// checked for no. of children ever born

tab v201, missing
*total |
* children |
*ever born | Freq. Percent Cum.
------------+-----------------------------------
* 1 | 2,475 33.23 33.23
* 2 | 2,434 32.68 65.90
* 3 | 1,274 17.10 83.00
* 4 | 648 8.70 91.70
* 5 | 293 3.93 95.64
* 6 | 174 2.34 97.97
* 7 | 75 1.01 98.98
*8 | 32 0.43 99.41
*9 | 25 0.34 99.74
*10 | 11 0.15 99.89
*11 | 5 0.07 99.96
*13 | 3 0.04 100.00
------------+-----------------------------------
*Total | 7,449 100.00


/// chekced for number of births in last 5 yrs

tab v208, missing
*births in |
* last five |
* years | Freq. Percent Cum.
-------------+-----------------------------------
* 1 | 5,661 76.00 76.00
* 2 | 1,646 22.10 98.09
* 3 | 140 1.88 99.97
* 4 | 2 0.03 100.00
-------------+-----------------------------------
*Total | 7,449 100.00

///checked for live births btw births

tab b15, missing

*live birth |
* between |
* births | Freq. Percent Cum.
------------+-----------------------------------
* 0. no | 4,544 61.00 61.00
* 1. yes | 4 0.05 61.06
* . | 2,901 38.94 100.00
------------+-----------------------------------
*Total | 7,449 100.00

Looking forward to hearing some feedback.


Thanks,
Devika



Current Time: Wed Dec 3 05:43:45 Coordinated Universal Time 2025