Hi!

For the construction of a certain variable, I have to do following calculation:
Code:
generate capitalexpenditure = (c21_28-L.c21_28+c630)/c20_58
It is a dataset which includes various financial items over the years 2009-2018 for the firms in my sample, and I made it long. I am now wondering if I should use the xtset command or the tsset command to calculate this variable.

thank you very much,
Timea De Wispelaere