Hi all
I am a new user of STATA. Today, I have the problem of converting string data into numerical data because data viewers show that destring longtermdebt, generate(longtermdebt_n) longtermdebt: contains nonnumeric characters; no generate. ( longtermdbet is my variable name). Also, I type browse if real( longtermdebt)==. Then, in data editor browse, most of data is shown as NA. I am so confused about that because most of my data are actually numerical, but is not converted to string data successfully.
Could someone help me?
Thanks
I am a new user of STATA. Today, I have the problem of converting string data into numerical data because data viewers show that destring longtermdebt, generate(longtermdebt_n) longtermdebt: contains nonnumeric characters; no generate. ( longtermdbet is my variable name). Also, I type browse if real( longtermdebt)==. Then, in data editor browse, most of data is shown as NA. I am so confused about that because most of my data are actually numerical, but is not converted to string data successfully.
Could someone help me?
Thanks
Comment