You can save a matrix to variables using
-svmat-. Then your goal is two steps away.
This is indicated by the help for -matrix-
or a -search- for -save matrix-.
-svmat2- from STB-56 had a couple of extra
tweaks.
If you wanted to do this a lot, you might
be better off writing your own program
using -file-. However, there are precision
issues to be aware of.
Nick
[email protected]
TEWODAJ MOGUES
> I have a very short question: How do I save a matrix I
> created in stata
> to an ASCII (text) file, or if that is not possible, save it
> as a stata
> dataset (.dta) (since I know how to save a dataset to a text file)?
*
* 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/