Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: st: names in -svmat- or -xsvmat-
From
Christopher Baum <[email protected]>
To
"[email protected]" <[email protected]>
Subject
re: st: names in -svmat- or -xsvmat-
Date
Tue, 21 Feb 2012 10:13:45 -0500
<>
I don't know about Roger's xsvmat (SSC), but if the names() option works the same way:
clear
mata: st_matrix("al", runiform(10,5))
mat colnames al = y x1 x2 x3 x4
mat li al
svmat al, names(col)
su
Kit
Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/