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

From |
"Ben Jann" <ben.jann@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Automatically generate table with t-stat for differences in means |

Date |
Thu, 11 Sep 2008 10:33:38 +0200 |

Have a look at http://repec.org/bocode/e/estout/advanced.html#advanced603 It illustrated how to produce such a table using estout. Click on "[do-file]" in the lower right corner of the example to get the code. Changing the cells() option to cells("mu_1 mu_2 d_t d_p") will give the desired columns. ben On Thu, Sep 11, 2008 at 12:59 AM, Marietta Jones <marjones75@googlemail.com> wrote: > 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/

**Follow-Ups**:**Re: st: Automatically generate table with t-stat for differences in means***From:*"Marietta Jones" <marjones75@googlemail.com>

**References**:**st: Automatically generate table with t-stat for differences in means***From:*"Marietta Jones" <marjones75@googlemail.com>

- Prev by Date:
**st: RE: RE: Automatically generate table with t-stat for differences inmeans** - Next by Date:
**Re: st: can I do gen v1=v2=0 ?** - Previous by thread:
**st: RE: Automatically generate table with t-stat for differences in means** - Next by thread:
**Re: st: Automatically generate table with t-stat for differences in means** - Index(es):

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