Hello,
I need to compute different effective tax rates in STATA.
Effective Tax Rates (ETRs) need to be calculated by computing a "taxes paid"/"pretax income" ratio (see image item4150 und item1401, respectively).
I need 1-year-ETRs, 5-year-ETRs as well as 10-year-ETRS
A 1-year-ETR is an ETR calculated for every single year of that firm (on the image firm names are item6001).
5-year ETRs should only include the years 1995-1999 of a specific firm (calculated by the sum of those 5 years of item4150/the sum of those 5 years of item1401)
and 10-year ETRs should include years 1995-2004 of the same firm (calculated by the sum of those 10 years of item4150/the sum of those 10 years of item1401).
I have already managed to sort firms by name and delete observations which dont have 10 consecutive firm years included using:
by item6001 (year_),sort: drop if _N<10
Thank you in advance!!
I need to compute different effective tax rates in STATA.
Effective Tax Rates (ETRs) need to be calculated by computing a "taxes paid"/"pretax income" ratio (see image item4150 und item1401, respectively).
I need 1-year-ETRs, 5-year-ETRs as well as 10-year-ETRS
A 1-year-ETR is an ETR calculated for every single year of that firm (on the image firm names are item6001).
5-year ETRs should only include the years 1995-1999 of a specific firm (calculated by the sum of those 5 years of item4150/the sum of those 5 years of item1401)
and 10-year ETRs should include years 1995-2004 of the same firm (calculated by the sum of those 10 years of item4150/the sum of those 10 years of item1401).
I have already managed to sort firms by name and delete observations which dont have 10 consecutive firm years included using:
by item6001 (year_),sort: drop if _N<10
Thank you in advance!!
Comment