Hi,
I'm working on a project and was able to destring some of my variables but not one specific variable. I should first mention that I first replaced "n.a."s in this particular variable with blanks and then tried to convert the rest of the observations, which actually contain numbers, into numerics from strings. I did also try to recode this blanks into '0's but have been unable to because of the destringing issue. When I attempt to destring, it keeps mentioning "dealvalue contains nonnumeric characters; no replace" and dealvalue contains nonnumeric characters; no generate" when I do "destring dealvalue, replace" and "destring dealvalue, generate(dealval)," respectively (devalue is the name of my varlist.
Thanks
I'm working on a project and was able to destring some of my variables but not one specific variable. I should first mention that I first replaced "n.a."s in this particular variable with blanks and then tried to convert the rest of the observations, which actually contain numbers, into numerics from strings. I did also try to recode this blanks into '0's but have been unable to because of the destringing issue. When I attempt to destring, it keeps mentioning "dealvalue contains nonnumeric characters; no replace" and dealvalue contains nonnumeric characters; no generate" when I do "destring dealvalue, replace" and "destring dealvalue, generate(dealval)," respectively (devalue is the name of my varlist.
Thanks
Comment