Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: re: matrix commands: vecdiag


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: matrix commands: vecdiag
Date   Sun, 2 Sep 2007 21:27:49 -0400

Brent said

However, you could store your file
names as row names in the matrix.


Not quite; row- and col-names cannot contain period (full stop) as those are reserved for equation.coefficient syntax.

Why not just create some new Stata variables which contain the items to be tracked as observations 1,...? Then you can have both string variables and numeric variables with no restrictions.

Kit

Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.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/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index