Hi all,
I am working with a panel data set (Orbis by Bureau van Dijk) containing information on millions of firms (mostly data from financial statements such as profits, fixed assets, turnover etc.).
Furthermore, the data contains information about the ultimate owner of each company, which allows me to group firms by their group ultimate owner (GUO). Each GOU owns potentially many different companies in different countries.
I am looking to generate a variable involving summations of variables within the GUO. Specifically, I want to generate the following variable, where B_{k,t} denotes estimated profit of firm k at time t.
Array
The tax variable is the corporate tax rate facing firm i at time t.
I have really been trying on my own, even generating the different parts individually. But the part regarding keeping tax rate i at time t constant while iterating over the tax rates in other countries at time t is causing me trouble. I am refering to the difference between the tax rates in the nominator.
Thank you in advance. This might not be an easy task - at least I don't think so.
Kind regards,
Jonas
Related Posts with Generating advanced variable in Stata (panel data)
Stata compatabilityApologies for what is probably a very basic question - am new user! I have started doing quite a lot…
Interpreting the intercept in the random-effects modelConsider the model yit = a + bXit + ci + eit Using a fixed effect model, the constant term a canno…
Testing coefficient equality across different regressions (bootstrap)Dear All, Suppose that I estimate the following two regressions (please ssc install ivreghdfe. In ad…
Can I take log and lag on my independent variables in a regression?Hello, Please can someone answer me if it is possible to take log and lag (both at the same time) on…
Multilevel modelling within Time Series Analysis of Cross-Sectional dataHi, I'm trying to model person within household within a Time Series of Cross-sectional Panel data.…
Subscribe to:
Post Comments (Atom)
0 Response to Generating advanced variable in Stata (panel data)
Post a Comment