my data are a five point likert scale with 21 questions. The answers were recorded as string variables and some have special characters. My charlist result is as follows
. return list
macros:
r(chars) : "/KNSabegijklmnpsu"
r(sepchars) : "/ K N S a b e g i j k l m n p s u "
r(ascii) : "47 75 78 83 97 98 101 103 105 106 107 108 109 110 .."
How do I use the code "foreach in a loop to remove the special characters in all the rows and columns and to destring the variables?
Related Posts with using a loop to remove special characters and destring a variable
graph like this?Dear All, I was asked how to draw a graph like this. Array Unfortunately, no data is available at …
Adding symbol prefix to formatted table cellHi all, I would like to prefix specific formatted table cells with symbols e.g."<" 0.001 Becaus…
Import 'dd.mm.yy' format date to StataHi, I would like to import the following dates "Date" to Stata date format. Anyone has delt with th…
Import Matlab dataset to StataHi, Is there any way Stata can import MATLAB Data (.mat)? I cannot seem to be able to upload the da…
Display Median for Paired t testHello folks I have a data set with several observations at different times for companies. However, …
Subscribe to:
Post Comments (Atom)
0 Response to using a loop to remove special characters and destring a variable
Post a Comment