# Re: st: AW: How to esttab some statistics below the respective coefficients when there are two estimates stores?

 From gjhxmu@sina.com To statalist Subject Re: st: AW: How to esttab some statistics below the respective coefficients when there are two estimates stores? Date Sat, 03 Oct 2009 01:07:39 +0800

```Dear Martin,
It works well and I will be careful. Thank you for your reminder.

Best regards,
Rose.

----- Original Message -----
From: Martin Weiss <martin.weiss1@gmx.de>
To: <statalist@hsphsun2.harvard.edu>
Subject: st: AW: How to esttab some statistics below the respective coefficients when there are two estimates stores?
Date: 2009-10-2 15:23:49

<>

You have to trick -esttab- into thinking that it is looking at the same
result for both models - which is possible, as seen below. But it does tend
to mess up your results as they now contain a "wrong" result, so you have to
be very, very careful and make sure you use this method only for this
purpose...

*************
sysuse auto, clear

reg price weight length turn
eststo est1, title(OLS)

logit foreign length turn trunk
eststo est2, title(logit) /*

esttab est1 est2, mtitle /*
*/ sca("F F/chi2" "r2_a r2_a/r2_p")
*************

HTH
Martin

-----Urspr黱gliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von gjhxmu@sina.com
Gesendet: Freitag, 2. Oktober 2009 08:33
An: statalist
Betreff: st: How to esttab some statistics below the respective coefficients
when there are two estimates stores?

Dear statalists,
I want to esttab two eststos. The equation statistics of one eststo are
F,r2_a, while those of the other eststo are chi2, r2_p. How can I esttab
these statistics below the respective coefficients?

For example

qui reg y x

eststo est1

qui logit dum z

eststo est2

// I hope the results to be displayed as follows,

(1) (2)
y dum

x ... ...

z ... ...

_cons ... ...

----------------------------
F/chi2 ... ...
r2_a/r2_p ... ...
----------------------------

I think the typing should be something like "esttab est1 est2, stats(?
?,labels(F/chi2,r2_a/r2_p)) ", but I do not know how to feed to the "?".

Thank you for any help.

Rose.

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