Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: extracting matrix row to macro


From   Reed Walker <reed.walker@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: extracting matrix row to macro
Date   Sun, 28 Jun 2009 10:40:08 -0400

I am tabulating a variable and getting a series of frequencies and unique values.

I am interested in using the unique values later in the program.

tabulate x if y>40, matcell(m) matrow(m1)

Thus, I want to put the contents of matrix m1 (a vector) into a local macro. There must be an easy way to do this, but I have thus far come up short.


*
*   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/



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