Hello,
I have been working with a data set that uses NHANES data from 2003-2012. I wanted to add data from 2013-2018. To do this, I created a data set of the 2013-2018 cycles that had the same variables as the 2003-2012 cycles. In the original 2003-2012 dataset, I had generated a bunch of new variables that drew from the existing variables in the dataset. For instance I had a variable that was equal to the product of two other variables. However, when I appended the 2013-2018 data into the 2003-2012 dataset, the new data did not feed into these generated variables, even though the variables were consistent across the two data sets. Is there any way to make the new data feed into the existing code for the generated variables or do I just have to recode everything again?
Related Posts with Help with merging
Goodness of Fit in IVregress with clustered SEDear all, I'm running an IV regression with clustered SE. Since my outcome variable is a cell mean,…
Create an HHI index at quarterly-yearly and yearly level Code: * Example generated by -dataex-. To install: ssc install dataex clear input int year byte qu…
Insufficient observations when running panel dataHello all, I have a question I am trying to run a linear probability model with the following comman…
Different result count and tabulate commands, why?Hello, I have a question, maybe a bit basic, but I did not find the solution yet. I used the 'count…
Difference between survival rates at specific time point with respective confidence intervalsDear Statalist, I am interested in calculating the difference between the survival rates of two grou…
Subscribe to:
Post Comments (Atom)
0 Response to Help with merging
Post a Comment