I have a variable consisting of characters and numbers in a string format. How can I separate the character part of a variable and the numbers part? The positioning of a number part is not in the same sequence for all observations so that I couldn't use a substring option. Is there any general way to identify the number part and separate it?
Related Posts with Separating a character and a number part of a variable
Negative persistence parameterHi, I am estimating a simple OLS persistence model where I regress f.x on x. x is a variable that t…
stataWhich stata command do we run to get the very first time a certain patient showed up for a clinic vi…
use observation as a varlistHi everyone, I am currently struggling with something that I think is easy but i really couldn't fig…
How to add a column of minimum wage information to each country?Dear all: I have 73 countries microdata (n range from1 to 73), where I intend to add a column of mi…
Export Value Labels to Excel/CSVHow do i export value labels for each variables that i have to excel or csv -----------------------…
Subscribe to:
Post Comments (Atom)
0 Response to Separating a character and a number part of a variable
Post a Comment