how can i rank observations within a group? if i use the code: egen rank=group(var1), by(var2). i get an error message saying: egen ... group() may not be combined with by.
is there any other way to get this done?
Related Posts with ranking observations within a group
multitple imputation : ROC curve sensibility and specificityDear Statalist, I am working on a clinical trial data set. I have 169 observations, a golden standa…
entropyHi. I have a dataset which shows the share of low, high and middle educated in each neighborhood. no…
How to deal with a difference in difference fixed effects model with a discrete treatment variable?Hi, I am trying to conduct a fixed effects difference in difference model to estimate the effect of …
Discrete choice labour supply: lslogitI use the user-written Stata package lslogit (available at https://github.com/mloeffler/lslogit) to …
Panel Data Estimator ConfusionHi Statalist, I'm currently attempting to look at the impact of different variables on democracy. I…
Subscribe to:
Post Comments (Atom)
0 Response to ranking observations within a group
Post a Comment