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!!
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!!
Comment