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
Correlation between two observations across multiple variablesHello fellow Stata users: I have a panel dataset of patenting footprints of various companies. Each…
Meta-analysis of diagnostic test accuracy studies using midasHello everyone, I have tried searching for this but I cannot seem to find an answer. I am doing a …
How to run multiple likelihood-ratio tests using loop function on StataHi everyone, I am new to Stata. I would really appreciate any help you would provide me. I ran 209…
Marginal Effects from Interaction Terms in OLSHi, This was previously posted on cross validated. I have the following model, as you can see I ha…
How to drop a missing seriesHello, I have a panel data set, extracted using Stata wbopendata package. I want to drop a country i…
Subscribe to:
Post Comments (Atom)
0 Response to Replacing values of multiple variables at once
Post a Comment