Dear all,
I have a panel data (based on firmID and year). For a cerain variable (VAR1) I would like to create quartiles for every years and subsequently create a new variable equal to 1 if the firm was in the first quartile, equal to 2 if the firm was in the second quartile and so on. Is there a feasible way to do this?
I really hope you can help me with this task. I thank you in advance
Related Posts with Panel Data: Dividing a Variable into Quartiles and Creation of Indicator Variable Based on the Quartile
In SEM, calculating SE of standardized total effects and indirect effectsI'm fitting a SEM model, and everything is fine except the paper's reviewers want standardized total…
Calculating Additional Goodness of Fit indices for a GSEM containing PoissonI'm in the process of trying to obtain additional goodness of fit indices besides the AIC and BIC fo…
How does Stata select bootstrap samples?If I understand it correctly, when using the -vce(bootstrap)- command for a regression, Stata will r…
Restrictive first order stochastic dominance, Davidson and Duclos (2009)Dear all, I am currently working on a project where I am comparing the distribution of clinical tria…
Inconsistent results with -areg-, -xtreg- and factor variables.Hi Statalist. I am estimating a model with fixed effects and factor variables. I can estimate it us…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data: Dividing a Variable into Quartiles and Creation of Indicator Variable Based on the Quartile
Post a Comment