Hola. I am trying to make a simple loop (perhaps using forvalue and while commands) that allows me to replace within a text string all the characters "1" by "ONE", "2" by "TWO", 3 by "THREE" and so on. How can I do it? Thanks
Related Posts with Replace numeric characters with letters within a string
Getting selected variables from cvlassoMy read of "help cvlasso" is that e(varXmodel) should contain only variables chosen by cvlasso. Howe…
Trouble Exporting a Table 1 Into a PDF Directly From Stata CommandsHi all, I am currently doing research, so I will use a sample example from this link to ask my quest…
Question (Omitted for multicollinearity)Dear all, I am running some regressions in which I want to investigate the role of foreign technolo…
Spatial Panel Data and Spatial Weight MatrixHi all, I use Stata 17 to create a spatial panel dataset of more than 3000 US counties and 5 time p…
Creating Annual/Yearly VariableHello Statalisters, I need to generate an annual variable from 2014 to 2020 in my data set. Current…
Subscribe to:
Post Comments (Atom)
0 Response to Replace numeric characters with letters within a string
Post a Comment