Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: re: nearstat version
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: re: nearstat version
Date
Fri, 3 Feb 2012 11:32:18 +0000
This is more positive and better advice than I gave, although the
explanation of what -version- means still stands.
I didn't look at the -nearstat- documentation to see that the raw
.mata code was included, but Rudiger did mention looking at it. I was
wrongly inferring that there was a compiled library only.
Nick
On Fri, Feb 3, 2012 at 11:23 AM, Christopher Baum <[email protected]> wrote:
> <>
>> However, whenever I run nearstat, I get the following error message:
>> (nearstat_calcdist() in lnearstat, compiled by Stata 12.0, is too new
>> to be run by
>> this version of Stata and so was ignored)
>> <istmt>: 3499 nearstat_calcdist() not found
>> r(3499);
>>
>> Confusing right? Does anybody know why this happens?
>
> This is probably because the author created the Mata library, lnearstat.mlib, on Stata 12. This is a similar problem to a thread last week. If you delete the .mlib file, restart Stata, and then do
>
> do nearstat.mata (from your /ado/plus/n directory)
>
> nearstat should compile the appropriate Mata code on the fly and run. You would have to do this in each session.
>
> Ultimately the answer is for the author to create the Mata library using a copy of Stata 10.1 if he wants the routine to be available to Stata 10.1, 11, 12, 12.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/
*
* 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/