Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: nearstat version

From   Christopher Baum <>
To   "" <>
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
void foobar( )
mata mlib create...
mata mlib add...


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 Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index