Hi everyone,
I want to reverse a mean scale score, which is a non-integer variable from 1 to 5. I tried using revv, as it says it handles non-integer variables. I tried so by specifying the valid() option, but I did not know how to specify the option to reverse the non-integer variable... For example, I typed revv varlist, valid(1/5) which only reverse coded the integer numbers 1, 2, 3, 4 and 5 but not the non-integer values in-between (e.g. 1.2, 1.3 etc).
Can anyone help me out with this and knows how to specify the valid() option so that my non-integer variable gets reversed completely?
Thank you so much!!
Related Posts with reversing non-integer variables using revv
Creating a concentration index for time delay between eventsHi Statalist, I am working with a dataset regarding students and their exam scores. I have data on …
Set a specific folder to save regression outputs and graphsHello! I need to set a specific folder (directory), different from the current working directory, t…
System GMM omitted variablesDear Sirs, I have received the following comment from a reviewer: "what are the main omitted variab…
Unrecognized command (spbalance)Dear Stata senior users, I am preparing my spatial panel data without shapefile (as instructed at ht…
Interaction terms in panel dataDear all, I am currently working on my master thesis : i am analyzing the link between board gender…
Subscribe to:
Post Comments (Atom)
0 Response to reversing non-integer variables using revv
Post a Comment