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
Prediction graphDear community! I have a task to produce a graph of three realistic scenarios for health spending (i…
groups within groupsDear all, I hope my post finds you well I have a question concerning panel data. I am currently w…
How to merge two panel data sets?Dear Statalist members, I want to merge two panel data sets. One contains information regarding 200…
GSEM mediation: Limitations in assessing model fitGreetings, I'm running Stata 15.1 on OSX and working with cross-sectional survey data. I'm trying t…
Setting up dataset for rds_networkHi, I need to create the respondent-driven sampling variables identifying recruits from two variabl…
Subscribe to:
Post Comments (Atom)
0 Response to Changing the contents in a variable
Post a Comment