A little search of the archives gives one recent answer to your
question:
http://www.stata.com/statalist/archive/2007-07/msg00477.html
Nick
[email protected]
Michael Foster
I feel like I've done this before I can't remember how I did it (without
writing some looping code).
is tehre an easy to get the rownames of a matrix added as a variable
when using -svmat-?
(Perhaps I'm recalling doing it in R, but I know how to do it in R. I
really think I did it in Stata, too.)
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/