Hi everyone,
How can I remove the first character(s) of values if they are zero? For example, I would like to convert 0003 to 3 and 019 to 19. Obviously, my variable of interest is a string var.
Thanks,
Nader
Related Posts with removing the first character of a string variable if it is zero
How to model persistence using survival analysis techniquesDear members, I am trying to model persistence in exporting on a sample of new firms using survival…
How to keep ONLY individuals who respond every year in a household panel dataHello everyone, I am new to Stata and as a part of my bachelor thesis, I have to do a fixed effect …
Splitting YearDear, I am quite new to STATA and I need t seprate the year from tthe months and days, i.e. right no…
how to do fixed effects regressionHey my regression does not work, how do I do a fund and time fixed effectes regression? What do I ha…
Interpretation of ARCH/GARCH coefficientsHello! I need some help on interpreting the ARCH and GARCH terms of this regression output. The var…
Subscribe to:
Post Comments (Atom)
0 Response to removing the first character of a string variable if it is zero
Post a Comment