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)
Asdoc error in tabulation with Freq=1Hi all, I am having problems with asdoc when exist frequency=1, I know that its a naive question bu…
Time-varying Covariate with Competing RisksHello, I have to study the relationship between a drug exposure and outcomes, adjusting for other c…
Error r(43) convergence not achieved. CFA, SEM, estat gofHi, I have a dataset with 12 ordinal variables of 4 categories. I use SEM command to perform CFA and…
An error "plugin not loaded or not available: use the adoonly option" accur after "ml maximize"I am trying to learn how to use mdraws by Cappellari and Jenkins.When replicating the example test_t…
understanding a treatment effect with group fixed effectsI am trying to understand why the effect of a treatment variable in a regression changes when a) inc…
Subscribe to:
Post Comments (Atom)
0 Response to Generating advanced variable in Stata (panel data)
Post a Comment