MATRIXTOOLS: Stata module to build, present and style Stata matrices
Niels Henrik Bruun
Statistical Software Components from Boston College Department of Economics
Abstract:
matprint presents Stata matrices in the log. It has a simple but powerful way of setting decimals cellwise. matprint can export Stata matrices in styles smcl, csv, latex, html and markdown. This way output from can be integrated into documents generated by log2markup (SSC). matrix2stata converts a matrix into variables. The key difference to mkmat is that roweq and rownames become categorized variables, i.e., integer-valued with a value label. The purpose is to ease graphing matrix content. metadata is a mash-up of describe and codebook. It can be used on the current file in the data window, and using the using modifier on can specify a non-opened dataset or a path to get a description of the contents of all datasets there. strofnum transform a numeric variable to a string variable using the value label if it exists. strtonum replaces a string variable with a categorical numeric variable with a value label. sumat generates a summary matrix based in part on the command summarize. Statistics like unique values and missing values are added. The resulting matrix is saved for further use. sumat is using matprint for the output. lmatrixtools is the backbone of this package. It is written in Mata. For the curious the source code is also in the package.
Language: Stata
Requires: Stata version 12
Keywords: matrix; export; print; summary statistics (search for similar items in EconPapers)
Date: 2016-07-21, Revised 2024-03-02
Note: This module should be installed from within Stata by typing "ssc install matrixtools". 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/matrixtools.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_gmarktop.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/confmat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/confmat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/c/confusion_matrix.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/crossmat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/crossmat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dummynizer.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dummynizer.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/f/filaby.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/f/filaby.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/marktop.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mat2xl.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mat2xl.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/matprint.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/matprint.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/matrix2stata.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/matrix2stata.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/m/metadata.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/metadata.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/onewai.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/onewai.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/r/regmat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/r/regmat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stregmat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stregmat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/strofnum.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/strofnum.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/strtonum.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/strtonum.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/subselect.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/subselect.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sumat.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/sumat.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/w/which_edit.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/w/which_edit.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lmatrixtools.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/ltoxl_v13.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/ltoxl_v14.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/ltodocx_v13.mata program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/ltoxl_v13.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/l/ltoxl_v14.mlib Mata object library (application/x-stata)
http://fmwww.bc.edu/repec/bocode/l/lmatrixtools.mlib Mata object library (application/x-stata)
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:s458201
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 ().