The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Senegal men's recode urban sample
Senegal men's recode urban sample [message #23588] Fri, 15 October 2021 07:45 Go to next message
numbers2life
Messages: 2
Registered: October 2021
Location: Cape Town
Member
Hi DHS

I have been working with men's recode data on home ownership in Senegal 2019 DHS, and I have run into some figure mismatches in the Statcompiler and the raw data. I can reproduce the figures at the national level for men who own a house solely, jointly, and solely and jointly, but I cannot do the same at the urban level. After digging deeper, I suspect that this is a sampling issue: at the national level, there are 3,365 observations in the raw data and in the Statcompiler (shown when unweighted observations is enabled). However, at the urban level there are 1,181 observations in the Statcompiler but 1,285 observations when filtering the raw data (mv025 == "urban"). Further complicating the issue, if I correctly interpreted the French, in the final report the urban sample size is shown as 1,248 observations.

My calculations are being run in R, pulling the raw data off the API using the rdhs package.

Please could you advise on how to resolve the sample mismatches? Is there some other filter than the Statcompiler applies to men's recode data that changes the sample size at the urban level? Why are the urban sample sizes different between the raw data, Statcompiler and final report, yet the same at the national level?

Cheers
Re: Senegal men's recode urban sample [message #23610 is a reply to message #23588] Wed, 20 October 2021 10:42 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 2442
Registered: February 2013
Senior Member

Following is a response from DHS Senior Sampling Specialist, Mahmoud Elkasabi:


The Senegal 2019 DHS interviewed men 15-59, therefore you should consider the age (mv012) in filtering the target population. When mv012 >=15 & mv012<=49 is used, you will find a total of 1,181 men from the MR dataset which is consistent with the final report. If you don't use the filter, estimates will be based on men 15-59, which are also published in Statcompiler.
Re: Senegal men's recode urban sample [message #23627 is a reply to message #23610] Fri, 22 October 2021 03:23 Go to previous message
numbers2life
Messages: 2
Registered: October 2021
Location: Cape Town
Member
Thanks Mahmoud, problem solved.
Previous Topic: age at first cohabitation/v511
Next Topic: Zimbabwe 2015 - missing data on non-use of contraception
Goto Forum:
  


Current Time: Wed Dec 1 19:20:58 Coordinated Universal Time 2021