I have datasets for 12 countries containing a multitude of variables e.g. age, sex, tobacco use, alcohol use, diabetes, and HBP. The issue is that certain variables are missing for some countries, which means I have to clean the datasets one by one to keep the necessary variables to be finally able to append them. So I am wondering if there is and special command for appending that will only retain the variables (for each of the subsequent append) that match those on the master dataset, lets say for keeping only Age, sex and HBP.
Thanks in advance for your insights!
Related Posts with Appending several datasets for selected variables in the master dataset
 Compare two xtnbreg models in panel dataHi Everyone,
I am new in this forum and I have quick question, I appreciate any comment in advanced.… Compare two xtnbreg models in panel dataHi Everyone,
I am new in this forum and I have quick question, I appreciate any comment in advanced.…
 Estimation of Production function using PRODESTArray
Array
Array
I have estimated my production function using Levinsohn-Petrin and I get insigni… Estimation of Production function using PRODESTArray
Array
Array
I have estimated my production function using Levinsohn-Petrin and I get insigni…
 Using Cohen's d for proportion test - after "prtest"Hi all,
I am testing proportion differences between two independent samples, e.g., the proportion o… Using Cohen's d for proportion test - after "prtest"Hi all,
I am testing proportion differences between two independent samples, e.g., the proportion o…
 Forvalues loop using if and preserve / restore, but cannot save filesDear all,
First of all, happy new year!
I am writing to ask a question about using a loop with `if… Forvalues loop using if and preserve / restore, but cannot save filesDear all,
First of all, happy new year!
I am writing to ask a question about using a loop with `if…
 How to execute the "multicat" command?Just learned about the
Code:
multicat
function in the book by Lawrence C. Hamilton which looks ve… How to execute the "multicat" command?Just learned about the
Code:
multicat
function in the book by Lawrence C. Hamilton which looks ve…
Subscribe to:
Post Comments (Atom)
0 Response to Appending several datasets for selected variables in the master dataset
Post a Comment