. 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
LCA(Latent Class Analysis) still "not concave" and No Results in "gsem"Dear Friends, I tried to use LCA in stata15 for my paper. I want to classify the observed people int…
How to draw a correlation forest map with the admetan command?Dear Statalist, I have recently done a meta-analysis of the correlation coefficient, but I encounter…
Lopping and storing beta coeffecients after regress over filesHi everyone, good afternoon. I am not able to make my loop save the results after regress over file…
r(430) cannot compute an improvement -- discontinuous region encounteredDear Stata Users, I have a sample of 14,310 observations, consisting of trade data between 54 diffe…
foreach- reorganising multiple variablesHi, I am new to STATA and I am struggling to reorganise a large dataset using loops. Each id repre…
Subscribe to:
Post Comments (Atom)
0 Response to String into numerical but didn't work
Post a Comment