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
Modelling longitudinal dataHello members, pleaseRegression for follow-up studies i have a data on follow up study, data was col…
couting unique observation id sales profit year size_group a 36 9 1991 1 a 48 17 1992 1 a 25 7 1993 2 b 65 18 19…
Modelling dose with multiple balancing score. Imbens (2000)Good day statlisters , please I am interested in applying propensity using modelling dose of treatme…
Issue with xtologit (non concave routine)Hallo everybody I ask for your help to manage an issue as described in the object of this post. I am…
Create consecutive days with unequal number of obs per dayDear Stata folks, I have a dataset with patient_ids, days and a measurement(outcome). Patients may …
Subscribe to:
Post Comments (Atom)
0 Response to Change a numerical variable with string input into label value
Post a Comment