Dear all,
We are trying to generate a new dummy variable (biggest_comp_d) indicating whether a company belongs to the group of 100 biggest companies within one firmyear (fyear), based on total assets (at). So basically this variable is based on company cusip code (cusip), firm year (fyear), top 100 assets total (at) and generate a dummy (biggest_comp_d) which gives a company value 1 when it belongs to that group of biggest 100 in a certain year.
Please let us know when something is unclear,
Thanks in advance!
Jonathan
Related Posts with Identify 100 biggest companies within a firmyear
Simulation of repeated measures data in a stepped-wedge contextHello, I have written the following code for a three-level repeated measures model in a stepped-wed…
Two wave panel data analysisHello all, It is my understanding that I can only do lagged models or change score models when usin…
Color schemes and color palettes - setting default colors for graphsI have a list of colors from my workplace that we should use for all the graphs I create. Ideally I …
Generating a dummy variable with value from other variable to a new row (cell)Hi, my job here is to generate a new variable (dummy for months unemployed) for December. In my anal…
Errors when regressing System GMMHello all Statalists, I'm new to Stata and I'm learning to use it to do my thesis. Gradually, I find…
Subscribe to:
Post Comments (Atom)
0 Response to Identify 100 biggest companies within a firmyear
Post a Comment