The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Merging/Appending files into one combined dataset
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11659&th=5837#msg_11659
My outcome variables of interest are anemia and malaria.
I managed to download the files (datasets) from the DHS site, however as a beginner using STATA, I am finding it difficult to merge and or append these files (HR, PR,IR,BR, KR, MR, CR, WI) into one combined dataset in order to obtain my covariates of interest since they are not in one particular file.
Kindly assist me in this regard.
Kind regards
Steve
]]>Steve2017-01-21T11:05:51-00:00Re: Merging/Appending files into one combined dataset
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=11664&th=5837#msg_11664
You are making your life more difficult than necessary. You do not need to combine these files. First decide what are your cases, or units of analysis. Most likely they are either women or children. You can probably do everything you want to do with just the IR (women) file or the KR (children) file. Look at the variables in those files. You will find almost all of the variables collected by DHS. It is conceivable that you will want to merge in something from the PR file. It is unlikely that you will ever need the HR, CR, BR, or WI files.]]>Bridgette-DHS2017-01-23T15:54:52-00:00