Statalist


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

st: RE: Automatically generate table with t-stat for differences in means


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Automatically generate table with t-stat for differences in means
Date   Thu, 11 Sep 2008 10:09:02 +0200

Well, if you have a small amount of rows to display, i.e. just a couple of
comparisons with -ttest-, Rodrigos advice using -display- is good. If you
have a more substantial number, use -postfile- to dump your results to an
external file and -tabdisp- to display them subsequently.

HTH
Martin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Marietta Jones
Sent: Thursday, September 11, 2008 12:59 AM
To: [email protected]
Subject: st: Automatically generate table with t-stat for differences in
means

Hi Statalist users,

I have a fairly simple question. I want to create a table output that
will have the following columns:

Column1: Mean for group 1
Column 2: Mean for group 2
Column 3: T-statistic for differences in means
Column 4: P-value of t-stat

I know how to obtain the estimates for each column, but I would like
to automate the layout of the table instead of manually inserting each
estimate in the table. I have looked at tabout, but it doesn't seem to
produce tables with t-stats for differences in means.

Does anyone have any suggestions on which command I could use to
automatically generate the table with the above specifications?

Thanks,
Marietta
*
*   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/


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index