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
Parallel Trends Assumption in Difference-in-Differences (DiD)Hello guys, recently I´m doing some research on the risk behavior of banks during the low interest …
make loop for different deciles with eclass programDear all, I use user written command oaxaca_rif by Rios-Avila (Rios-Avila, F. 2020. Recentered infl…
Non Normal Panel DataHi, I am relatively new to econometrics. I want to know does panel data have to be Normal? My data o…
Exporting results from -estat sum- to LaTeXHello All I'm trying to export summary statistics from -estat sum- command into LaTeX using user wr…
Lags of RTAsHi, I have the RTA dummy that indicates if a pair of countries have a Regional Trade Agreement. My …
Subscribe to:
Post Comments (Atom)
0 Response to using a loop to remove special characters and destring a variable
Post a Comment