Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: re: trouble with Mata module from ssc


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: trouble with Mata module from ssc
Date   Sun, 21 Oct 2007 18:52:49 -0400

Thomas said
I have added the component moremata from ssc and verified the install
to stata. When I enter mata and try to use any of the functions
(mm_median or mm_quantile) on a matrix in mata I get mm_median() or
mm_quantile() not found. Is there a special step needed to be taken
in mata to use an installed component?

When you install a SSC package containing a Mata function library (.mlib), you must tell Mata that this library should be searched. Each time Stata starts up it will rebuild the list of available Mata libraries. You can tell Stata to perform this task without restarting Stata with

mata: mata mlib index

Kit

Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.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/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index