Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Update to -estadd- on SSC


From   "Jann Ben" <[email protected]>
To   <[email protected]>
Subject   st: Update to -estadd- on SSC
Date   Fri, 2 Dec 2005 22:47:07 +0100

Thanks to Kit Baum, the -estadd- package has been 
updated on SSC.

-estadd- was incompatible with -lrtest- (thanks to 
Glenn Hoetker for pointing this out). The problem 
is fixed now. Here is an example for using -estadd-
with -lrtest-:

    . sysuse auto
    . reg price weight
    . est sto m1
    . reg price weight turn
    . est sto m2
    . reg price weight foreign
    . est sto m3

    . prog estadd_pimp, eclass
      1.   lrtest . m1
      2.   ereturn scalar pimp = r(p)
      3. end

    . estadd m2 m3, stats(pimp)

    . estout1 *, stats(pimp)
                          m1          m2          m3
    weight             2.044       3.915       3.321
    turn                        -385.390
    foreign                                 3637.001
    _cons             -6.707    9625.498   -4942.844
    pimp                           0.002       0.000

ben

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