Statalist


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

st: multiple matrix formats


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   <[email protected]>
Subject   st: multiple matrix formats
Date   Thu, 12 Jul 2007 09:14:01 -0500

Hi - In Stata 9 ,I am trying to list a matrix with varying formats for
the columns. As an example, I can do 

. matrix list M,format(%8.4f)

M[3,4]
                        F       df        p  adjustp
AG*(BR+0 - BR-7)   1.6778   1.0000   0.2075   0.6226
AG*(BR+4 - BR-7)   0.0363   1.0000   0.8504   0.8504
AG*(BR+4 - BR+0)   1.2203   1.0000   0.2803   0.5605

But how do I get a different format for each column? None of the
following work:


. matrix list M,format(%8.2f F %8.0f df  %8.2f p)
option format() incorrectly specified
r(198);

. matrix list M,format(%8.2f  %8.0f   %8.2f )
option format() incorrectly specified
r(198);

. matrix list M,format(%8.2f F, %8.0f df,  %8.2f p)
option format() incorrectly specified
r(198);

The manual doesn't appear to address this sort of option. Is it
possible? Thanks.

Al Feiveson

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