Hello Mr Mrs Help
I have a variable called bvid. It is in a form of either abxxxxxxxx or xxxxxxxxxx (x represents numbers).
I would like to delete the first two letters if the variable is in a form of abxxxxxxx, and I would like to keep those bvid which are already in the form of xxxxxx intact. The two letters are not necessarily "ab", it can be other letters.
Thanks
Related Posts with How to delete the first two letters from a string variable?
Extension files of OUT.file using X-12 ArimaHi, I am a novice user of Stata and in dire need of help. I am studying the monthly beer sales in bo…
Alternative analyses to xtologit/xtoprobit for score as dependent variable and dummy as independent variableHi everyone, I’m new to Stata (using version 15.1 on Windows 10) and regard my statistical knowledg…
Alternatives to xtologit/xtoprobit for score as dependent variable and dummy as independent variableHi everyone, I’m new to Stata (using version 15.1 on Windows 10) and regard my statistical knowledge…
Question about creating new values for each year, (summing issue)Hi, I am trying to create a new column where it shows the average value of another column for each …
OveridHello dear analysts I used to use overidentifying test by running the following HTML Code: ivregre…
Subscribe to:
Post Comments (Atom)
0 Response to How to delete the first two letters from a string variable?
Post a Comment