Thanks to Kit Baum a new package matrixtools is present at ssc.
At present there are two tools to build, present and style Stata matrices:
At present there are two tools to build, present and style Stata matrices:
- -matprint- presents Stata matrices in the log. It has a simple but powerfull 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-. Use ssc or findit to install -log2markup-.
- -sumat- generates a summary matrix based in part on the command -sumarize-. All statistics from -summarize- can be reported as well as eg confidence intervals, prediction interval, inter quartile intervals, unique values and missing values. The resulting matrix are saved for futher use. -sumat- is using -matprint- for the output.

Comment