Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Recode error


From   "Michael Malette" <mmalette@nickel.laurentian.ca>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Recode error
Date   Fri, 28 May 2004 13:45:58 -0400

The following recode worked fine until I updated the executable and ado
files to May 18, 2004. I now get the following errors for the code:

recode h_lg10 (0/1.734864=1) (1.73486401/1.872483=2)
(1.87248301/1.939884=3) (1.93988401/max=4), gen(HRecoded)
>=0 invalid name

if I change the recode to min instead of 0 I now get the error: 

recode h_lg10 (min/1.734864=1) (1.73486401/1.872483=2)
(1.87248301/1.939884=3) (1.93988401/max=4), gen(HRecoded)
Unknown function >=r()

Any help would be greatly appreciated.

Michael Malette


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index