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
Command problem with counting sample firms smaller than the firm for each country in each year (panel data)Hi, guys, I would like to measure the percentage of sample firms smaller than the firm for each coun…
Error terms for Time Series Regression with a Panel VariableDear all, For my master thesis, I would like as a first step to run a Fama-French three factor regr…
Calculation of standard errors after predictive margins: how are they computed?Hello, I'm struggling how standard errors after -margins- are calculated, e.g. after -logit-. I am …
How to regress categorical variables without baseHello, Currently I am investigating the impact of industry categorization (categorical variable) on…
How to change display of scientific notation of summary statistics to nummeric?Stata 15.1 I am attempting to create a descriptive statistics table for my thesis. However, I found…
Subscribe to:
Post Comments (Atom)
0 Response to reversing non-integer variables using revv
Post a Comment