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

st: cond()


From   "VISINTAINER PAUL" <[email protected]>
To   <[email protected]>
Subject   st: cond()
Date   Thu, 1 Jan 2004 16:37:07 -0500

Thank you, Richard and Michael.  I am using Stata 8 and it's up to date.  The code you provided worked nicely, Richard, and I'll use it in my program. 
 
   i.e, gen cholcat = cond(chol,0,1) if chol <.

 I still haven't figured out why the -cond()- isn't working.  I have to read Gould's faq that Michael provide. 
 
Thanks again.
 
Paul
 
 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index