Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Assign values to cells in a blank matrix or table


From   Aamer Abu-Qarn <[email protected]>
To   [email protected]
Subject   st: Assign values to cells in a blank matrix or table
Date   Sun, 18 Dec 2005 05:54:21 -0800 (PST)

Hello,
What I want is to extract some info from regressions output (coef.,
std, t,
r2) and assign them to cells of a matrix/table that i declare. So at
the end
i'll get a formatted matrix/table that includes info from many
regression
that i run. Assuming I declare a matrix/table  A(10,4) in which the
first
coulmn would include the regression number, the second _b[X1], the
third
_se[X1], and the fourth R2. each of the rows would refer to a different

regression. I know that in Eviews it's possible to declare a matrix or
table
of a specific dimension and then start assigning the values of each
cell
from regression output or from any other source (any values/strings).
I looked in the manual of stata and i couldn't find a command to just
declare a matrix/table of a given dimension without filling it at the
same
time.
to sum it up all i need is a flexible way to organize my results.
I'm aware of the command outreg but i need a more flexible way of
organizing
the results.
Thanks a lot in advance,

Aamer


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index