The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Merging dataset for MIS 2015 Survery on stata
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=22020&th=10699#msg_22020
this is the code i used:
use "/Users/t/Desktop/Actual dataset/IR.DTA"
sort v001 v002
merge m:1 v001 v002 using PR2
I received the error message that the variables v001 v002 do not uniquely identify observations in the using data
I dont know what i did wrong as this is what the dhs guide says to do . Pls help
thank you so much,
toyosi]]>toyosi2021-01-20T14:49:26-00:00Re: Merging dataset for MIS 2015 Survery on stata
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=22022&th=10699#msg_22022
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
You need to include line number. In the PR file that's hvidx and in the IR file it's v003. Just change to the following: