Hi together,
I have a question regarding the following table:
I want to generate a dummy variable named "co-option" which takes the value 1 if a CFO joined the company after the current CEO and takes the value 0 if a CFO joined the company before or in the same year as the current CEO. CFOs are marked as "CFO" in the column "CEO_CFO" whereas CEOs are indicated by a "CEO" in the column "CEO_CFO". The date at which the respective CEO or CFO entered the company is the year with the first entry in the table for this person.
An example:
The first entry for Ira A. Eichner and Timothy J. Romenesko in the table is the year 1994, which means that they both joined AAR Corp in the same year, hence the value would be a 0 in the column "co-option" for Timothy J. Romenesko.
In 2000, Michael J. Sharp joined AAR Corp as CFO, yet David P. Storch had already been in office as CEO before him since 1996. Hence, the value would be a 1 in the column "co-option" for Michael J. Sharp.
For the respective CEO there should be no entry in the column "co-option", only CFOs should be marked with either 0 or 1.
I hope I was able to explain my problem appropriately.
Thank you in advance for your comments.
Best
Matthias
I have a question regarding the following table:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str50 EXEC_FULLNAME str3 CEO_CFO double YEAR str50 CONAME "Ira A. Eichner" "CEO" 1994 "AAR CORP" "Timothy J. Romenesko" "CFO" 1994 "AAR CORP" "Ira A. Eichner" "CEO" 1995 "AAR CORP" "David P. Storch" "CEO" 1996 "AAR CORP" "David P. Storch" "CEO" 1997 "AAR CORP" "David P. Storch" "CEO" 1998 "AAR CORP" "David P. Storch" "CEO" 1999 "AAR CORP" "Michael J. Sharp" "CFO" 1999 "AAR CORP" "David P. Storch" "CEO" 2000 "AAR CORP" "Timothy J. Romenesko" "CFO" 2000 "AAR CORP" "Michael J. Sharp" "CFO" 2000 "AAR CORP" "David P. Storch" "CEO" 2001 "AAR CORP" "Timothy J. Romenesko" "CFO" 2001 "AAR CORP" "David P. Storch" "CEO" 2002 "AAR CORP" "Timothy J. Romenesko" "CFO" 2002 "AAR CORP" "Michael J. Sharp" "CFO" 2002 "AAR CORP" "David P. Storch" "CEO" 2003 "AAR CORP" "Timothy J. Romenesko" "CFO" 2003 "AAR CORP" "David P. Storch" "CEO" 2004 "AAR CORP" "Timothy J. Romenesko" "CFO" 2004 "AAR CORP" end
An example:
The first entry for Ira A. Eichner and Timothy J. Romenesko in the table is the year 1994, which means that they both joined AAR Corp in the same year, hence the value would be a 0 in the column "co-option" for Timothy J. Romenesko.
In 2000, Michael J. Sharp joined AAR Corp as CFO, yet David P. Storch had already been in office as CEO before him since 1996. Hence, the value would be a 1 in the column "co-option" for Michael J. Sharp.
For the respective CEO there should be no entry in the column "co-option", only CFOs should be marked with either 0 or 1.
I hope I was able to explain my problem appropriately.
Thank you in advance for your comments.
Best
Matthias
Comment