Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: somersd error message

From   "William Gould, StataCorp LP" <>
Subject   Re: st: somersd error message
Date   Wed, 31 Oct 2012 09:25:53 -0500

Roger Newson wrote, 

RN> This is very curious INDEED. Do you get exactly the same error
RN> message as before, or another one? Because -lsomersd.mlib-
RN> should DEFINITELY include the -tidottree()- function. If it
RN> doesn't, then it is not the correct -lsomersd.mlib-.

when Barry Quinn <> replied most recently about
-mata query- showing that lsomersd was included among lsomersd.mlib and
yet he is still getting the error message that tidottree() is not being

There are some Mata commands that might help debug the issue. 
They are 

           : mata mlib query 

           : mata which tidottree()

           : mata describe using lsomersd

I recommend running them, and in that order specified.

-mata mlib query- merely repeats the list of libriries that Mata
searches; the information provided should be the same as that provided
by -query-, but before we go looking for tidottree(), it's useful to 
verify that lsomesd really is in the libaries-to-be searched list.

If it is not, type -mata mlib index- and then issue the 
-mata mlib query- again. 

-mata which tiddottree()- will cause Mata to report where 
tidottree() is, if it is anywhere.  If lsomersd is in the search list, 
and if function tiddottree() exists in it, the result will be 

        : mata which tiddottree()
          tiddottree():  lsomersd

Alternatively, the result might be

        : mata which tiddottree()
        function tiddottree() not found

Assuming the function is not found, it would be intersting to know 
what is in the library lsomersd:

        : mata describe using lsomersd
          <list of contents appears>

-- Bill
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index