The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » age at first cohabitation/v511
Re: age at first cohabitation/v511 [message #23622 is a reply to message #23621] Thu, 21 October 2021 17:26 Go to previous messageGo to previous message
skanse is currently offline  skanse
Messages: 4
Registered: October 2021
Member

I am refering to the following countries/year:
-Mali, 2018
-Uganda 2016
-Pakistan, 2017-2018
- Timor-Leste, 2016
-Haiti 2016-2017
-South Africa, 2016
-Albania, 2017-18
-Senegal, 2019
-Angola, 2015
-Colombia, 2015
-Bolivia, 2008
-Cambodia, 2014


I have merged the PR and IR files, here is a short portion of the R code for the merge: right_join(mergepr,mergeir,by=c("hv001"="v001","hv002"= "v002","hvidx"="v003"),
copy=FALSE)

For example with Pakistan, I have restricted it to women ages 20-24 using hv105. If I then check the crosstabs of v511 and hv105, there are at least 9 cases that the v511 is higher than the age from hv105 of 24.

However, if I use restrict it using v012, and then check the cross tabs of v511 and v012, then the ages are all below age 24 for v511.

This is similar to some of the other countries that I have checked, varying in amount of cases.

In either way, there seems to be a quite a few differences beetween hv105 and v012 if I check those two variables by crosstabs.

Is there something wrong with the merge? or should I be using v012 instead of hv105?


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Indonesia breastfeeding variables (m4 m5) 2012
Next Topic: Senegal men's recode urban sample
Goto Forum:
  


Current Time: Tue Jul 22 00:21:37 Coordinated Universal Time 2025