I am trying to reverse the order of some categorical variables in my dataset. There was previously a command "revrs" that would do this automatically. However, this command appears to be unrecognized by the current version of STATA, STATABE. Does anyone know of a new command or a similar action to take? The data is coded 1-5, however, some of my variables are coded least to greatest while others are greatest to least, all with the same values coded just opposite orders. I know I could manually recode each variable, but I am looking for a quicker more efficient way to do so.
Related Posts with Reverse Command
Test statistic Pesaran and SmithHello, I have been trying to check if there was already some code about the test statistic about po…
InterpretationDear community, I have a question regarding the interpretation of the size of a coefficient. e.g. I…
Graphing based on a condition of longitudinal dataDear Statalist User, I have a problem regarding how to graph two scatter plots and their fitted lin…
Interaction terms in mixed-effects regressionHi statalisters ... I need some help to interpret the coefficients of some mixed-effects models in m…
transforming then imputing or vice-versaHi all, I was wondering whether it is better to transform the data then impute the missing values or…
Subscribe to:
Post Comments (Atom)
0 Response to Reverse Command
Post a Comment