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

st: re: trouble with Mata module from ssc

From   Kit Baum <>
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 Baum, Boston College Economics and DIW Berlin
An Introduction to Modern Econometrics Using Stata:

* For searches and help try:

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