Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to identify different versions of the a program within other program


From   tiago.pereira@incor.usp.br
To   statalist@hsphsun2.harvard.edu
Subject   st: How to identify different versions of the a program within other program
Date   Fri, 21 Mar 2008 12:56:55 -0300 (BRT)

Thank you, Nick.

Yes, my first guess was exactly that. Nevertheless, I forgot of mentioning
that version 2 also has also a global called S_2, which, unfortunately,
provides different results.



What would you do in this case?

Thanks

Tiago

----------------------------------------------
I don't think so. But you needn't check that way.

Your branch might as well be

if "$S_2" != "" local myresult $S_2
else local myresult = e(tau2)

Nick
n.j.cox@durham.ac.uk





*
*   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