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
Why would using the log of a variable as a dependent variable solve statistical problems?. …
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…
Problem with fixed effect in cross sectional dataHello everyone, I am doing research about racial discrimination in mortgage interest. Many resear…
Interaction with running variableIn my panel data set analysis, I interact the treatment variable with the running variable to see wh…
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 Changing the contents in a variable
Post a Comment