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
How to count the number of the multiple observations into the same group onceHi all, I just a beginner using STATA and I need an help to solve a problem that probably seems simp…
Interaction with running variableIn my panel data set analysis, I interact the treatment variable with the running variable to see wh…
Problem with fixed effect in cross sectional dataHello everyone, I am doing research about racial discrimination in mortgage interest. Many resear…
Placebo TestHello, i am trying to run a placebo test with the synth command downloaded from the homepage of Jen…
How to run a good analysis of estimators for panel data model?Good morning the community. I am investigating the relationship between intangible asset (dependent…
Subscribe to:
Post Comments (Atom)
0 Response to reversing non-integer variables using revv
Post a Comment