I have a string variable that I want to change to numeric but I can't. Can you help me please
storage display value
variable name type format label variable label
----------------------------------------------------------------------------------------------------------------
d1 str18 %18s type de culture
destring d1, replace
d1 contains nonnumeric characters; no replace
Related Posts with converting string variables to numeric
Combining datasetsDear statalist members, For my assignment I use 4 datasets. In this 4 datasets I have a variable: F…
Reshape helpDear all, I'm dealing with some data from a conjoint experiment. Currently, it is in wide format (e…
probit regressionHey Guys, I am trying to fit a probit regression. Where I use adtitional control variables such as …
save data in different file on the basis of variable valuesi have about 100 files similar to below example: I want to save this data in different files on the …
Help: OS, HR and CI 95%Good morning guys, I need some clarification about overall survival, hazard ratio and C.I.95%. I wou…
Subscribe to:
Post Comments (Atom)
0 Response to converting string variables to numeric
Post a Comment