The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Migration and fertility
Re: Migration and fertility [message #10491 is a reply to message #10276] Fri, 29 July 2016 13:44 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
Assuming your are using Pakistan DHS 2012-13, here is a response from Dr. Tom Pullum:
Quote:

In this survey, out-migrants are described in a limited way in the HR file with variables sh27, sh29, sh30m, sh20y, sh31, sh32, sh33u, sh33n. Those variables are indexed with _01, etc. There is no additional information about out-migrants and they cannot be linked to anyone in the household. These variables and cases do not appear in the PR file or any file other than the HR file.

In-migrants are people who were born elsewhere, that is, cases in the PR file with sh22=0. They also have variables sh22, sh23u, sh23n, sh24, and sh25. In-migrants CAN be linked to other members of the household and they will be in the IR file if they are women age 15-49 and de facto residents.

You say "I am using women file for the information on children ever born to women and the person file to extract information on migration." I don't quite understand this. However, you can merge the IR and PR files and then you will have sh22 for the woman and you can see whether v201 is related to sh22. Here are the lines to do the merge (but you must change the paths):

set more off
use e:\DHS\DHS_data\IR_files\PKIR61FL.dta, clear
rename v001 hv001 
rename v002 hv002
rename v003 hvidx
sort hv001 hv002 hvidx
save e:\DHS\DHS_data\scratch\PKtemp.dta, replace

use e:\DHS\DHS_data\PR_files\PKPR61FL.dta, clear
sort hv001 hv002 hvidx
merge hv001 hv002 hvidx using e:\DHS\DHS_data\scratch\PKtemp.dta

tab _merge sh22,m
keep if _merge==3


Then look at how sh22 relates to measures of fertility.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: displacement index ? (MR12)
Next Topic: Question on "Reasons for not using contraception"
Goto Forum:
  


Current Time: Fri Apr 19 18:05:14 Coordinated Universal Time 2024