EconPapers    
Economics at your fingertips  
 

Mata Matters: Subscripting

William Gould

Stata Journal, 2007, vol. 7, issue 1, pages 106-116

Abstract: Mata is Stata's matrix language. In the Mata Matters column, we show how Mata can be used interactively to solve problems and as a programming language to add new features to Stata. Subscripting is the subject of this column. Stata has three subscripting modes, and two of them are about more than accessing an element of a vector or matrix. The advanced forms of subscripting can, by themselves, be the solution to some problems.

Keywords: Mata; subscripts; list subscripts; range subscripts; sampling with replacement; permutation matrices and vectors (search for similar items in EconPapers)
Date: 2007

Downloads: (external link)
http://www.stata.com/bookstore/sjj.html link to individual issue purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: http://EconPapers.repec.org/RePEc:tsj:stataj:v:7:y:2007:i:1:p:106-116

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is edited by H. Joseph Newton and Nicholas J. Cox

More articles in Stata Journal from StataCorp LP
Series data maintained by Christopher F. Baum ().

 
Page updated 2009-11-24
Handle: RePEc:tsj:stataj:v:7:y:2007:i:1:p:106-116