Hello everybody!
Can you please help me with the following problem?
I have created an easy example - attached in the excel - that perfectly replicates what I would need to do in a larger dataset.
It is a balanced panel data (2017,2014,2010) where, unfortunately, the "ID" of the same person might change over time.
For example, ID=6 in 2017 takes the value =99 in 2010. The same happens for all IDs from 6 to 10.
On the contrary, IDs from 1 to 5 perfectly match over the three years.
I would need a code that match correctly the IDs over the different years. In other words, in the example, by sustituting 99 with 6, 98 with 7 etc.
I hope it is clear.
Thank you for your support.
Best,
Nicola
Related Posts with support - neophyte stata
dfmlogit multinomial fractional model compositional data analysisHi, Using Stata 13, I am running dfmlogit on the Stata dataset citybudget.dta available here use ht…
Merge two data set? (particular case)Hi everyone, I am struggling with how I should merge two datasets. The dataset contains respondents…
Taking the average of observations within a specific date rangeHi, I want to compute the average of a variable (teamsize) for observations within a specific time…
GMM with spatially autocorrelated errorsHi, I have a panel data (300 panels and 30 years) and need to estimate a GMM (difference or system …
ttable2- by Xuan Zhang & Chuntao Li- (significant level)Hi, I am using the ttable2 by Xuan Zhang & Chuntao Li and the following logout command to export…
Subscribe to:
Post Comments (Atom)
0 Response to support - neophyte stata
Post a Comment