Statalist The Stata Listserver


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

st: Re: est table for frontier


From   "Rodrigo A. Alfaro" <[email protected]>
To   <[email protected]>
Subject   st: Re: est table for frontier
Date   Mon, 19 Jun 2006 14:18:31 -0400

Thomas,

(1) You should write -est store- after each run. Ex:

 sysuse auto, clear
(1978 Automobile Data)

 qui reg  price mpg

 est store T1

 qui reg  price mpg foreign

 est store T2

 est table T*, star stat(N r2 F ll)

----------------------------------------------
    Variable |      T1              T2        
-------------+--------------------------------
         mpg | -238.89435***   -294.19553***  
     foreign |                  1767.2922*    
       _cons |  11253.061***    11905.415***  
-------------+--------------------------------
           N |         74              74     
          r2 |  .21958286       .28384746     
           F |  20.258353       14.070445     
          ll | -686.53958      -683.35997     
----------------------------------------------
      legend: * p<0.05; ** p<0.01; *** p<0.001

(2) Stats are: aic (Akaike), bic (Schwarz) and all
the e() results of your command (N, chi2, etc). 
Example:

 sysuse auto, clear
(1978 Automobile Data)

 qui logit  foreign price mpg

 eret list

scalars:
                 e(N) =  74
              e(ll_0) =  -45.0332095569914
                e(ll) =  -36.46218949553531
              e(df_m) =  2
              e(chi2) =  17.14204012291216
              e(r2_p) =  .1903266532803775

macros:
            e(depvar) : "foreign"
               e(cmd) : "logit"
          e(crittype) : "log likelihood"
           e(predict) : "logit_p"
          e(chi2type) : "LR"

matrices:
                 e(b) :  1 x 3
                 e(V) :  3 x 3

functions:
            e(sample)   

Rodrigo.


----- Original Message ----- 
From: "Thomas" <[email protected]>
To: <[email protected]>
Sent: Monday, June 19, 2006 2:06 PM
Subject: st: est table for frontier


I am running several frontier models and would like to summarize the 
results in a table
["est table _all, star stats(ll)"]:

1)my table produces only the coefficients of the first model (though it 
produces other stats for all models).
Why could that be?

2)how can I get a list of all the abbreviations that can be used in the 
stats option (like ll)?

Many thanks,

Thomas

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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