Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Postestimation after NL Regression


From   John Antonakis <John.Antonakis@unil.ch>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Postestimation after NL Regression
Date   Fri, 08 Feb 2013 19:55:52 +0100

After nl, run the following:

nl, coeflegent

Then you can see how they are named, e.g.,

test _b[b1:_cons] = 0

test ( _b[b1:_cons] = 0) ( _b[b1:_cons] =0)

Let's see if someone knows of an easier way.

HTH,
J.

__________________________________________

John Antonakis
Professor of Organizational Behavior
Director, Ph.D. Program in Management

Faculty of Business and Economics
University of Lausanne
Internef #618
CH-1015 Lausanne-Dorigny
Switzerland
Tel ++41 (0)21 692-3438
Fax ++41 (0)21 692-3305
http://www.hec.unil.ch/people/jantonakis

Associate Editor
The Leadership Quarterly
__________________________________________

On 08.02.2013 19:33, Scott Holupka wrote:
I'm sure I'm making some sort of basic mistake, but I can't figure out how
to run a postestimation test after computing a nonlinear regression.

For instance, if my nl model is:

nl (outcome = exp({b0} + {b1}*var1 + {b2}*var2 + {b3}*var3 + {b4}*var4))

How do I test that b1 and b2 are greater than 0?

The help nl postestimation indicates that I can use the test command, but I
can't figure out how to format it correctly.

Any help would be greatly appreciated.

Scott




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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index