[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Recast string to numeric?
check out the ignore option to ignore the --
----- Original Message -----
From: "Terra Curtis" <firstname.lastname@example.org>
Sent: Monday, October 17, 2005 6:01 PM
Subject: st: Recast string to numeric?
I have used a program called Stat Transfer to transfer a dataset I had
in Excel into a Stata .dta file. The missing values in Excel were
as "--" so Stata recognizes those variables as strings. I would like
to recognize them as values; any datapoint not equal "--" is a number.
tried -recast- but I don't think this is what I want. How can I change
variable to be a number instead of a string?
* For searches and help try: