Statalist The Stata Listserver


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

st: Display of -nlcom- output


From   "Kelvin Foo" <[email protected]>
To   statalist <[email protected]>
Subject   st: Display of -nlcom- output
Date   Fri, 19 Jan 2007 15:53:55 +0000

Dear Statalisters,

I am using -nlcom- to compute the interaction effect after a nonlinear
regression. The expression is rather long, and the result is as
follows:

. nlcom <long expression here>

      _nl_1:  (exp(_b[d2att]+_b[dinc]+_b[dINCd2ATT]+_b[_cons]+_b[age_head]*40.88264230498946+_b[age_child
]*11.30990864371047+_b[docc_man2003]*.5305692199578356+_b[docc_unemp2003]*.05621925509487 ... <and a lot more!>
------------------------------------------------------------------------------
 relsvc2003 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      _nl_1 |   1.396503   .6278876     2.22   0.026     .1658657     2.62714
------------------------------------------------------------------------------

As I am planning to write a program to save hundreds of such results
in a log file, I think it would be neater if I could keep only the
tabled output (coef, std.err., z values, etc) and suppress the first
part (_nl_1: (exp(_b[d2att]+_b[dinc]+_b[dINCd2ATT]+_b[_cons]+_b[age_head]*40.88264230498946+...)

How can this be achieved?

Thanks.

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