I have 9 variables (v1 - v9) with binary responses coded as yes = 1 no =2.
I want to replace all he values of no to 0 for all variables at once.
Can anyone help me with the codes.
Related Posts with Replacing values of multiple variables at once
Very general cluster analysis questionHi, I am interested in thinking about a cluster analysis (or some other analysis, open to suggestio…
interpreting advanced stata code: global, word countI know basic stata coding but am primarily using R at this point, where I know how to do a lot more …
Duplicates report vs CodebookHi all, I have a very large dataset of 970,000 observations, this dataset was given to be an organis…
Using both the forward and backward option of stripolate?Hello, I am working with quarterly program participation data for a panel of individuals. I have in…
Storing output from did_imputation to later run event_plot commandI would like to save the results of `did_imputation` to be used later when generating coefficient pl…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing values of multiple variables at once
Post a Comment