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
Why are the arguments passed to my program through the syntax command not displaying per the STATA manual example?Please ignore this post …
Plot confidence interval for linear mixed modelHi, I'm running a linear mixed model, and am now trying to plot a fitted line with a 95% CI for thi…
Correspondence between the statistical significant effect of coefficients in a table and marginal effects in a graphDear members of the list, For a sample of highly educated young adults in 24 countries that partici…
Running xtpcse on unbalanced panel dataHi I am really new in statistics and stata; so firstly I do apologies if my question does not make …
Lags in time series with only trading daysHello together, for my thesis I have a dataset which contains stock prices over a period of 28 year…
Subscribe to:
Post Comments (Atom)
0 Response to using a loop to remove special characters and destring a variable
Post a Comment