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
Inverse Probability Weighing for Multiple TreatmentsHi all, I am trying to compute inverse probability weight for multiple treatments. But I am struggl…
What is the c.operator in reg and set emptycells ?Today when I run this regression Code: did2s l_homicide [aweight=popwt], first_stage(i.sid i.year)…
Re: Converting a string variable to a date variableHello, My date variable (moyr) could not be used when I declared my dataset to be monthly panel dat…
How to generate a single time variable for survey respondents in different time zones?Greetings, I'm running Stata 15 on a Mac OS. I recently conducted a survey across a period of a cou…
Specific Help in Merging my Two DatasetsHello Generous people on this Forum, I am trying to merge these two databases found herehttps://dri…
Subscribe to:
Post Comments (Atom)
0 Response to Replace numeric characters with letters within a string
Post a Comment