Hi,
I have a string variable that some of its values consist of a combination of numbers and "X" (e.g., "01234X). The "X" character appears at the end. How can I replace the "X" with "9"(e.g., 01234X--> 012349).
Thanks
Nader
Related Posts with replacing "X" character within a string variable with "9"
Testing for serial correlation --> Panel DataHello I do a panel data analysis where I try to make fixed effect regression as well as a first diff…
System GMM Hansen Test ProblemI am running the following command for my research and I just cannot pass the Hansen Test for Overid…
graph hbar - labstyle-Option shifts label into axisI want to print a hbar-graph and manipulate the labelsize by referring to a labelstyle. Why? I do th…
The command "vce(cluster panel_id)"Hello I am reading a paper and have started to study the corresponding Stata codes. However, I don'…
multilevel mediation analysis with dichotomous dependent variableI am trying to estimate the mediation effect of a continuous mediator m on a dichotomous variable y.…
Subscribe to:
Post Comments (Atom)
0 Response to replacing "X" character within a string variable with "9"
Post a Comment