Hey there, I have a variable called "ad_tone" that has three values, negative, positive, and attack. When I tab this variable with no label, it shows 1, 2, and 3. However, in my dataset for each observation, the record for this variable is still "negative", "positive" and "attack". My question is how to change the input into the numerical value (to change the "attack" to "3").Thanks very much!
Array
Related Posts with Change a numerical variable with string input into label value
How to compare nested clogit with robust or clustered standard errorsStata/MP 14.2. No access to internet. My data is longitudinal, with 128 individuals and around 700 …
Coefplot - alignment x label and plotted valuesDear all, I have run the same regression 11 times, with similar model specifications; the only diffe…
Nominal Dependent Variable and Nominal Independent Variable - Multiple Reader StudyHi Everyone, I am analyzing a study that asks participants to use a COVID diagnosis rating scale on…
how to create variable showing the percent of rows with a variable with a certain valueIn my data there is a variable called class. There is lower, middle and upper class. I would like to…
Probit regression in StataHi, I don't know if anyone can help with this: I need to run a probit regression for binary variab…
Subscribe to:
Post Comments (Atom)
0 Response to Change a numerical variable with string input into label value
Post a Comment