Using Mata to work more effectively with Stata: A tutorial
AbstractStata's matrix language, Mata, highlighted in Bill Gould's Mata Matters columns in the Stata Journal, is very useful and powerful in its interactive mode. Stata users who write do-files or ado-files should gain an understanding of the Stata-Mata interface: how Mata may be called upon to do one or more tasks and return its results to Stata. Mata's broad and extensible menu of functions offers assistance with many programming tasks, including many that are not matrix-oriented. In this tutorial, I will present examples of how do-file and ado-file writers might effectively use Mata in their work.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by Stata Users Group in its series Fall North American Stata Users' Group Meetings 2008 with number 7.
Date of creation: 16 Nov 2008
Date of revision:
Other versions of this item:
- Kit Baum, 2008. "Using Mata to work more effectively with Stata: A tutorial," United Kingdom Stata Users' Group Meetings 2008 11, Stata Users Group.
- Christopher F Baum, 2009. "Using Mata to work more effectively with Stata: A tutorial," German Stata Users' Group Meetings 2009 06, Stata Users Group.
- NEP-ALL-2008-11-25 (All new papers)
You can help add them by filling out this form.
reading list or among the top items on IDEAS.Access and download statisticsgeneral information about how to correct material in RePEc.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum).
If references are entirely missing, you can add them using this form.