Hello,
I have a "CEO" variable for firms on panel data and the CEO names are not inputted the same due to spelling errors. For example, it can be "Jaeyoung Song" for one year and "Jaeyong Song" for another year. I hope to make the information to be consistent despite the typos. Also, other times, it is spelled as "Song Jaeyoung" instead of "Jaeyoung Song" due to first-last name ordering differences in other countries than the US. Is there any way that I can match them and give the same values to these names?
Ultimately, I hope to give the same values for the same CEO of the same firm ID. Let's say
Firm 1 has years from 1992-2000 and its CEO has changed as follows:
1992 Jaeyoung Song
1993 Jaeyoung Song
1994 Jaeyong Song
1995 Song Jaeyoung
1996 Taeho Kim
1997 Taeho Kim
1998 Sunhwa Han
1999 Sunha Han
2000 Sunhwa Han
Then CEO changes twice over the years and I hope to give the same CEO the same ID within the firm. Could you help me on how to match slightly different information and also give different values for different people within the same ID?
Thank you for your help in advance!
Related Posts with question on matching
factor variables and marginsHi, I estimate the following regression: Code: reg Y ib2001.YEAR i.AGE, where YEAR=2000, 200…
Graphing interactions using mixedDear Statalist users, I'm trying to graph some age and cohort interactions from some results gener…
mlogit transitionCheers, Sample data here: Code: clear set obs 16 egen id = seq(), from(1) to(4) block(4) egen gro…
Instruments in FE modelI have a following question: I want to estimate the impact of increased use of computers by employee…
Question on using collapseHi everyone, I'm having some doubts on the usage of the -collapse- command and I'm hoping you could…
Subscribe to:
Post Comments (Atom)
0 Response to question on matching
Post a Comment