Hi,
I want to generate an average of roeend for the last 4 quarters for the firms that have the same rssd9001 and same statefips and sz_large==1. How can I do so?
the data looks like this
I want to generate an average of roeend for the last 4 quarters for the firms that have the same rssd9001 and same statefips and sz_large==1. How can I do so?
Code:
numdate quarterly qdate = year quarter, pattern(YQ) xtset rssd9001 qdate
Comment