Economics at your fingertips  

MATNAMES: Stata module to return matrix row and column names

Austin Nichols

Statistical Software Components from Boston College Department of Economics

Abstract: matnames returns matrix row and column names as locals in r(). The macro extended functions that retrieve matrix row and column names do not quote the names, so that if names contain spaces, the number of tokens may not match the number of rows or columns (that is, you may not be able to rename the matrix rows or columns with its own names that you just retrieved). matnames uses the Mata functions st_matrixrowstripe and st_matrixcolstripe to circumvent this difficulty.

Language: Stata
Requires: Stata version 9.2
Keywords: matrix; names; row; column (search for similar items in EconPapers)
Date: 2009-04-27, Revised 2009-07-12
Note: This module should be installed from within Stata by typing "ssc install matnames". The module is made available under terms of the GPL v3 ( Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed

Downloads: (external link) program code (text/plain) help file (text/plain)

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:

Ordering information: This software item can be ordered from

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

Page updated 2021-07-31
Handle: RePEc:boc:bocode:s457037