EconPapers    
Economics at your fingertips  
 

MATNAMES: Stata module to return matrix row and column names

Austin Nichols (austinnichols@gmail.com)

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 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/m/matnames.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/matnames.hlp 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: https://EconPapers.repec.org/RePEc:boc:bocode:s457037

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

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 (baum@bc.edu).

 
Page updated 2025-04-14
Handle: RePEc:boc:bocode:s457037