I wanted to change the contents in a variable. The variable, termed "outcome" contains integer numbers ranging from 1-9. I want to replace all the number 1's with the name "Outcome1". What code would I use to do this?
Related Posts with Changing the contents in a variable
"Standalone" Arellano-Bond autocorrelation test and Test for heteroscedasticity when using gmmHello everyone, I am new to the list and I hope I am able to keep the rules of good conduct here. I …
How to interpret the marginal effects for dummy variables in logit regressionI ran a logit model, lhs is risk tolerance (=1 if respondent willing to take high risk; =0 otherwise…
Help with Data CleaningHi everyone, I require urgent assistance! I have 3 variables about means of transport whose values …
ConditionalsHello How I can replacement for the value of an observation where there is no data with a conditiona…
convert US 1990 census occupation codes to SEI Stata syntaxHello, I am converting US 1990 census occupation codes to SEI. I was wondering if anyone could share…
Subscribe to:
Post Comments (Atom)
0 Response to Changing the contents in a variable
Post a Comment