Deat Statalist,
I have a set of variables from 2010-2012, I want to compare which companies are new to the dataset (i.e., not in the data in 2010, but in the data in 2011; not in the data in 2011, but in the data in 2012).
Just give an example:
Symbol Year
A 2010
B 2010
C 2010
D 2010
E 2010
A 2011
C 2011
D 2011
F 2011
G 2011
B 2012
C 2012
G 2012
H 2012
I 2012
Thanks a lot in advance!
Related Posts with compare variables in two years
Reshaping data - variables to observationsI have a number of variables which I would like to convert into observations. The data is structured…
testing the assumptions for panel dataI have a similar question: I am evaluating the impact of options on the payout decision for firms i…
Degree of Omitted Variable Bias -psacalcHello, Im Im ing find the the relative extent of the Bias suing psacalc (Emily Oster 2017). I've a …
do loop in stataHi Friend, I have a dataset with 40 variables. I need to create a new variable which added a suffix…
Reshaping data with multiple observations per participantHi all! This is my first post here, and I am a complete Stata beginner, so please be patient. I have…
Subscribe to:
Post Comments (Atom)
0 Response to compare variables in two years
Post a Comment