. destring ANOPRIDI, generate (date_dx)
ANOPRIDI: contains nonnumeric characters; no generate
. d ANOPRIDI
storage display value
variable name type format label variable label
-----------------------------------------------------------------------------------------------------------------
ANOPRIDI str4 %9s ANOPRIDI
. list ANOPRIDI in 1/10
+----------+
| ANOPRIDI |
|----------|
1. | 2000 |
2. | 2000 |
3. | 9999 |
4. | 2000 |
5. | 2000 |
|----------|
6. | 1995 |
7. | 2000 |
8. | 2000 |
9. | 2000 |
10. | 2000 |
+----------+
Related Posts with String into numerical but didn't work
Appending the same .dta-file many timesHello, I am using Stata/SE 15.1 for Mac. I would like to use the append-command to build up a datas…
Stata 16 does not export decimal points to ExcelI am facing this problem in Stata 16. When I export data to Excel using Stata 16, the decimal points…
AFT or Cox survival analysis for buy-build strategies in private equity duration analysesHi there, For my research project I am analysing the duration of private equity buy-and-build strat…
multi-level/mixed effects vs clustered robust standard errors - which is more appropriate if many of the clusters have 1 individual?Hi. I have a dataset of psychological measures from carers (n=254) of people with mental health pat…
How to invert the order of rows in a matrixDear Statalisters Apologies in advance for the simplicity of my question. I am sure the is already …
Subscribe to:
Post Comments (Atom)
0 Response to String into numerical but didn't work
Post a Comment