Home  >>  Archives  >>  Volume 7 Number 1  >>  pr0028

The Stata Journal
Volume 7 Number 1: pp. 106-116



Subscribe to the Stata Journal
cover

Mata Matters: Subscripting

William Gould
StataCorp
College Station, TX
[email protected]
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.
Terms of use     View this article (PDF)

View all articles by this author: William Gould

View all articles with these keywords: Mata, subscripts, list subscripts, range subscripts, sampling with replacement, permutation matrices and vectors

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS