Hello, I have this panel data.
Array
I want to rank the variable (REV_CH_mean5) within each industry-year ( Year IndustryCode). Then, firms (Stkcd) with values of the variable in the highest quintile are assigned a score of 5, those in the next quintile receive a score of 4, etc., and those in the lowest quintile are assigned a score of 1.
Related Posts with ranking and creating a dummy variable based on quantiles
Mata implementation of Mittag-Leffler functionI have just completed a port to Mata of Roberto Garrappa's MATLAB implementation of his algorithm fo…
Graphing Ovals/Ellipses?I know that one can plot circles in stata using a weighted scatterplot. Is it possible to plot ovals…
how to indicate specific variables when using reghdfe and estfe?Hi there,
I have a question regarding the use of reghdfe and esttab. Right now I have a bunch of co…
F-statistic from the joint test of the significance of a particular set of coefficientsHi,
I employ panel data by using the code:
xtset execid fyear
Now i want to reg the following mode…
Repeated anova with changing treatmentsHello,
I have some problems with the repeated anova.
Basically, I observed certain reactions of pa…
Subscribe to:
Post Comments (Atom)
0 Response to ranking and creating a dummy variable based on quantiles
Post a Comment