Home » Data » Merging data files » Merging DHS data in Stata
Re: Merging DHS data in Stata [message #5493 is a reply to message #4393] |
Sat, 30 May 2015 13:46 |
Malachi Arunda
Messages: 30 Registered: February 2014
|
Member |
|
|
Dear DHS experts,
Thank you once again for the guidance, however, I still seem to be having hitches with Tanzania SPSS 2011-12 datasets and the HIV datasets. I have tried to merge the two datasets using the syntax guideline you provided in the forum but they seem to merge with different case IDs, and the HIV dataset merges only as new cases with own variables with. Here is the syntax I used. Could I get further guidance. Thank you.
DATASET ACTIVATE DataSet4.
SORT CASES BY hivCLUST(A) hivNUMB(A) hivLINE(A).
DATASET ACTIVATE DataSet1.
SORT CASES BY V001(A) V002(A) V003(A).
SAVE
RENAME VARIABLES (V001 V002 V003 =
hivCLUST hivNUMB hivLINE).
EXECUTE
DATASET ACTIVATE DataSet6.
MATCH FILES /FILE=*
/FILE='DataSet4'
/BY hivCLUST hivNUMB hivLINE.
EXECUTE.
Kind regards,
Malachi
[Updated on: Sat, 30 May 2015 13:53] Report message to a moderator
|
|
|
|
|
Merging DHS data in Stata
By: DHS user on Wed, 20 February 2013 11:45
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: kf2349 on Tue, 26 March 2013 16:20
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: Hassen on Sun, 06 May 2018 05:58
|
|
|
Re: Merging DHS data in Stata
By: caragh on Tue, 02 April 2013 18:46
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: owraza on Sat, 28 June 2014 20:38
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: owraza on Wed, 02 July 2014 07:24
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: owraza on Tue, 10 May 2016 15:24
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: owraza on Tue, 10 May 2016 20:33
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: phres110 on Wed, 02 November 2016 13:29
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in SPSS
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
|
|
|
Re: Merging DHS data in Stata
By: pie on Tue, 02 June 2020 06:21
|
|
|
Re: Merging DHS data in Stata
|
Goto Forum:
Current Time: Wed Dec 25 10:04:59 Coordinated Universal Time 2024
|