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
How to interpret the marginal effects for dummy variables in logit regressionI ran a logit model, lhs is risk tolerance (=1 if respondent willing to take high risk; =0 otherwise…
ConditionalsHello How I can replacement for the value of an observation where there is no data with a conditiona…
convert US 1990 census occupation codes to SEI Stata syntaxHello, I am converting US 1990 census occupation codes to SEI. I was wondering if anyone could share…
Help with Data CleaningHi everyone, I require urgent assistance! I have 3 variables about means of transport whose values …
"Standalone" Arellano-Bond autocorrelation test and Test for heteroscedasticity when using gmmHello everyone, I am new to the list and I hope I am able to keep the rules of good conduct here. I …
Subscribe to:
Post Comments (Atom)
0 Response to support - neophyte stata
Post a Comment