Hello everyone,
I am currently working on my seminar paper for my masters program. For the purpose of this paper I have to work empirically for the first time and therefore collecting my first experiences with Stata. As part of my work I have to calculate the volatility of Cash Effective Tax Rates (VolCETR). I want to calculate the VolCETR via the following formula:
(CETR(t) - CETR(t-1)) / CETR(t-1)
I have around 5000 values of CETR for multiple firms and over multiple years.
Now my problem is that I am not sure how to create a commond that indicates to Stata to use a value of CETR from the previous period, i.e. t-1.
Or is the calculation of volatilities not possible in that manner and I need a different approach?
Hopefully, my problem became clear and one of you is kind enough to help me.
Kind regards,
Lucas
I am currently working on my seminar paper for my masters program. For the purpose of this paper I have to work empirically for the first time and therefore collecting my first experiences with Stata. As part of my work I have to calculate the volatility of Cash Effective Tax Rates (VolCETR). I want to calculate the VolCETR via the following formula:
(CETR(t) - CETR(t-1)) / CETR(t-1)
I have around 5000 values of CETR for multiple firms and over multiple years.
Now my problem is that I am not sure how to create a commond that indicates to Stata to use a value of CETR from the previous period, i.e. t-1.
Or is the calculation of volatilities not possible in that manner and I need a different approach?
Hopefully, my problem became clear and one of you is kind enough to help me.
Kind regards,
Lucas
Comment