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

From |
Kit Baum <baum@bc.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: "outreg" for d-stats, comparison of means tests, etc. |

Date |
Fri, 25 Jul 2003 12:56:01 -0400 |

As a postscript to my earlier posting, and complementary to Nick's posting:

outtable can produce an output file from any Stata matrix. By looping over the rows and columns, you can create whatever (numeric) contents you like in that matrix. Many users may think that matrices are something best avoided since that disastrous course in linear algebra, but Stata matrices can be very usefully employed to organize results and display them. I just proofread the galleys of a forthcoming paper in which we used matrices to display the counts of various logical conditions over a large set of estimates: e.g. how many lambda-hats were signif pos, how many signif neg, etc, No vector spaces here!

So outtable could be used after statsby, but outtable could also be used with a matrix declared and filled by any other sequence of Stata commands. All you have to do is define counters that cycle over rows and columns to produce the matrix (==table) that you like.

It may be noted that outtable produces LaTeX output, not tab-delimited output; an enterprising user could no doubt modify a copy of outtable to produce the latter if they were inclined. I do not use MS Word for serious work, so tab delimited files are not a priority.

Thanks

Kit

*

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

- Prev by Date:
**st: RE: Outreg for descrptive stats** - Next by Date:
**st: Re: Re: Re: Re: marginal effects** - Previous by thread:
**st: "outreg" for descriptive stats** - Next by thread:
**Re: st: Decimal precision, again** - Index(es):

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