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

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

From |
Muhammad Anees <anees@aneconomist.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: output ttest using esttab |

Date |
Thu, 11 Aug 2011 14:12:06 +0500 |

I would further the suggestion of Nick, where the esttab could export results from regression tables. It could be tested if the estimates after ttest is storrable. If not possible to save estimates using either version of store estimates, I think it would not prove positive in case. On Thu, Aug 11, 2011 at 1:56 PM, Nick Cox <njcoxstata@gmail.com> wrote: > 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/ > -- Regards Anees * * 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/

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

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

- Prev by Date:
**Re: st: Compare regression outputs of different models** - Next by Date:
**st: RE: st: xtoverid and reporting robust variance-covariance matrix after xthtaylor** - Previous by thread:
**Re: st: output ttest using esttab** - Next by thread:
**st: RE: output ttest using esttab** - Index(es):