I have imported a dataset from excel, but Stata has set certain variables with numeric observations as strings (str7).
-destring, replace- won't convert these strings to numerics, it gives the following message: contains nonnumeric characters; no replace. Even though this variable has numbers as the observation.
Does anyone have a solution to this problem or a way to import an excel file without creating strings? thanks
-destring, replace- won't convert these strings to numerics, it gives the following message: contains nonnumeric characters; no replace. Even though this variable has numbers as the observation.
Does anyone have a solution to this problem or a way to import an excel file without creating strings? thanks
Comment