hi there,
i have a question regarding merging two data sets in order to calculate a change which i then will regress on a dependent variable.
more specific:
i have two datasets from surveys conducted in 2018 and 2019.
whereas the 2018 survey had 120 respondents (with respondent id), the 2019 survey just have 80 respondents (with respondent id).
in both surveys there were the same questions e.g. regarding to the respondents net income (identical data names in both surveys)
now i want to calc the change (in%) of their e.g. net income from 18 to 19, having data from two data sets with the respondent id as an identifier.
is there a way i open the 2019 data set in stata and merge the 2018 data set? so i would like to have a kind of vlookup (responent id as identifier) to have all the data for 80 people as of 2019 survey?
thanks a lot in advance and best regards,
long
Related Posts with merging two data sets
Identifying recession pointsHello, I have a dummy variable with 1 and -1: 1 corresponds to a peak, and -1 - to a trough. I want…
Comparing each observation from one variable to few hundred thousand in anotherHi all, I am wondering if anyone has any ideas on how I can compare each observation from one varia…
Calculation of directly standardized rates "distrate" or "dstdize" commandsHello, First of all I dont know if this is the proper site to publish this, correct me if its not. …
Command to obtain effect sizes.Hello, I am running two models on a panel data of 50 firms over 15 years (one using the xtnbreg and …
Regular expression helpHello, Apologies for making a second regular expressions-related post today, but the topic is new t…
Subscribe to:
Post Comments (Atom)
0 Response to merging two data sets
Post a Comment