Dear all,
I am working with firm level data where I want to generate a variable at the firm level which is average of sales of the firm for state-industry combination level. But while generating this new variable I want the average in such a way that it calculates the average for all firm excluding that ith firm.
Please suggest
Related Posts with generating variable based on average at state-industry combination leaving one particular firm in each cell
Error in Time Series Plot when laggedHello All! I am working with sectoral employment data pulled from the FRED using "import fred". Aft…
Repeated random sampling without replacement from a panel dataI have annual stock returns for a number of firms for about 20 years. The total firm-year obs are ab…
Testing revenue convergence hypothesisHi, I would like to replicate the convergece test Dobson, Goddard and Ramlogan use in the article R…
perfect prediction issue in mi impute chained with 3-way interaction termI am imputing the interaction terms in a three way interaction using mi impute chained; I use the Ro…
create a table with two "variable-groups" as x- and y-axis and the corresponding returns for each combinationHello I am trying to recreate table1, panel A from Fama & French (2015), which looks as follows…
Subscribe to:
Post Comments (Atom)
0 Response to generating variable based on average at state-industry combination leaving one particular firm in each cell
Post a Comment