Hi, I need to calculate the Sustainability Committee variable, which is a dummy variable indicating whether a firm had a specialized board committee on sustainability-related issues in a given year (coded as 1).
I have data on the number of directors serving on committees within a firm. For each director, I have start and end dates of their service on the committee. If at least one of these directors was present during a given year , then the firm is considered to have a sustainability committee for that year (coded as 1).other wise 0 My approach:
I have data on the number of directors serving on committees within a firm. For each director, I have start and end dates of their service on the committee. If at least one of these directors was present during a given year , then the firm is considered to have a sustainability committee for that year (coded as 1).other wise 0 My approach:
- Create a panel dataset for each firm (ticker) covering the years 2004–2022.
- For each year in this period, check if any director served on a sustainability-related committee during that year (i.e., their start date ≤ year ≤ end date).
- If at least one director was present, code Sustainability Committee = 1 for that firm-year; otherwise, code it as 0.
- IM NOT SURE HOW CAN I CODE THIS IN STATA . CAN YOU HELP ME PLEASE
Comment