Mata Matters: Subscripting
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.
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
|