Hey guys,
this is the first time that I am using Stata. I do have a panel data set, which includes various balance sheet data for different firms over several years each.
Now I want to create a variable that gives the firm-age for every single fiscal year and every single company. Firm-age therefor is defined as current fiscal year minus first fiscal year, that is observed for that particular firm. For better understanding I tried to upload a excel file, in which I computed the age variable manually. In this example S&P Identifier identifies the firms, hence the example includes two firms (1000 and 1001).
Unfortunately I do not have any idea how to do this in Stata. What commands do I need for that?
Can anyone help me please.
Thanks a lot.
Regards,
Diedrich Friedrich
this is the first time that I am using Stata. I do have a panel data set, which includes various balance sheet data for different firms over several years each.
Now I want to create a variable that gives the firm-age for every single fiscal year and every single company. Firm-age therefor is defined as current fiscal year minus first fiscal year, that is observed for that particular firm. For better understanding I tried to upload a excel file, in which I computed the age variable manually. In this example S&P Identifier identifies the firms, hence the example includes two firms (1000 and 1001).
Unfortunately I do not have any idea how to do this in Stata. What commands do I need for that?
Can anyone help me please.
Thanks a lot.
Regards,
Diedrich Friedrich
Comment