Statalist


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

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


From   "Marietta Jones" <[email protected]>
To   [email protected]
Subject   Re: st: Automatically generate table with t-stat for differences in means
Date   Thu, 11 Sep 2008 13:21:41 +0100

Dear Rodrigo, Martin, Panagiotis and Ben,

Thank you all for your very helpful suggestions.

Best wishes,
Marietta


On Thu, Sep 11, 2008 at 9:33 AM, Ben Jann <[email protected]> wrote:
> 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
> <[email protected]> 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/
>
*
*   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