Bookmark and Share

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]

st: re: sample by() vs. bysort: sample; and some unexpected ssc install


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: re: sample by() vs. bysort: sample; and some unexpected ssc install
Date   Sat, 20 Feb 2010 01:42:15 -0500

<>
Gabi said

mm_sample() from -moremata- is required; type ssc install moremata
r(499);
end of do-file
r(499);

Yet I do have moremata. I checked:

. ssc install moremata
checking moremata consistency and verifying not already installed...
all files already exist and are up to date.
.

Has anybody seen this kind of phantom ssc installs before? How did you
fix yours?


After you install a SSC package containing a Mata object library, you must reindex the list of Mata libraries before the library from the newly-installed package becomes available. Do this by:

(1) quit Stata and start it again, which will create the proper index, or

(2) issue command

mata: mata mlib index

which will do it during the current Stata session.

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/


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