Yap Keng Loong  wrote
> i am new to stata and having some trouble on recoding
> values to take account of missing values in the data
> set.
.. replace varname = x if varname == .
Note also that missing in Stata is plus infinity. Therefore
.. replace varname = x if varname >= y 
would set varname to x even for observations with missings on varname. 
regards
uli
 
*
*   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/