Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Christopher Baum <kit.baum@bc.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: re: nearstat version |
Date | Fri, 3 Feb 2012 06:30:34 -0500 |
<> Actually, looking at nearstat.mata, if you -do- that routine it will create the library under your current version of Mata >= 10.1, and once you have that library, nearstat will use that copy. So you only need to -do- this code once. I agree with Nick that it is somewhat mystifying to have a sequence ---------------- version 10.1 mata void foobar( ) { } mata mlib create... mata mlib add... end ----------------- and then end up with a Mata library that is not usable under version 10.1. But as Nick suggested, the recommended inclusion of a -version- statement before invoking Mata presumably just prevents the code from ever running in version 9.x, and does not imply that the library will be compatible with version 10.1. KIt Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/