Home » Data » Merging data files » Merging DHS data in Stata
Re: Merging DHS data in Stata [message #4377 is a reply to message #275] |
Sat, 16 May 2015 07:46 |
Malachi Arunda
Messages: 30 Registered: February 2014
|
Member |
|
|
Dear DHS expert,
Below is my syntax for merging HIV dataset AR to individual dataset IR using Tanzania 2011-12 dataset on SPSS. Please let know why I do not get the desired results. The combined dataset does not have HIV data for IR, rather the AR (HIV test results) data is scattered within the combined IR/AR dataset and seem to be no connection.
DATASET ACTIVATE DataSet4.
SORT CASES BY HIVCLUST(A) HIVNUMB(A) HIV01(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.
Thank you
[Updated on: Sun, 17 May 2015 10:12] 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 21:55:24 Coordinated Universal Time 2024
|