Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: output ttest using esttab |

Date |
Thu, 11 Aug 2011 09:56:17 +0100 |

I didn't mean that at all. I don't use -esttab-, so I tried answering only the question I thought I understood. It's clear from the syntax of -esttab- that a comma after the -esttab- is wrong. That's as far as I thought about your first post. I didn't understand your first question (1), so I left it for others to answer. In terms of your new question, as you evidently did a t-test using -ttest- before -esttab-, there is no -b- (slope or gradient coefficient) to be picked up. Nick On Thu, Aug 11, 2011 at 9:36 AM, lreine ycenna <lreine.ycenna@gmail.com> wrote: > Thanks. > Do you mean that there's no way of adding the mean values onto the > output table using esttab? > I tried the command you suggested 'esttab b t using ttesst.rtf, label append' > Stata tells me: r(111); > estimation result b not found. > > > On 11 August 2011 09:27, Nick Cox <njcoxstata@gmail.com> wrote: >> -esttab- is a user-written command from SSC. Please remember .... >> >> On (2), you have a surplus comma after -esttab-. >> >> Try >> >> . esttab b t using ttesst.rtf, label append >> >> Nick >> >> On Thu, Aug 11, 2011 at 9:16 AM, lreine ycenna <lreine.ycenna@gmail.com> wrote: >>> Hi! >>> I've read some previous posts on this topic, but they have not solved >>> my problem. I need to export ttest results using esttab to include the >>> mean values of two groups, mean difference and t-stats with signs of >>> signficance. The command I'm using is >>> 'esttab mu_1 mu_2 t b', however: >>> (1) mu_1 and mu_2 are not the mean values of the two sample groups. >>> (2) invalid 'label' (198);pops up when I tried to export the results >>> onto word using 'esttab, b t using ttesst.rtf, label append'. I know >>> that I've been doing it wrong.Can anyone point out where? or is there >>> any better way of doing this? * * 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: output ttest using esttab***From:*Muhammad Anees <anees@aneconomist.com>

**References**:**st: output ttest using esttab***From:*lreine ycenna <lreine.ycenna@gmail.com>

**Re: st: output ttest using esttab***From:*Nick Cox <njcoxstata@gmail.com>

**Re: st: output ttest using esttab***From:*lreine ycenna <lreine.ycenna@gmail.com>

- Prev by Date:
**Re: st: output ttest using esttab** - Next by Date:
**Re: st: Compare regression outputs of different models** - Previous by thread:
**Re: st: output ttest using esttab** - Next by thread:
**Re: st: output ttest using esttab** - Index(es):