Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Scott Holupka" <scott.holupka@jhu.edu> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | RE: Re: st: Postestimation after NL Regression |
Date | Fri, 8 Feb 2013 14:31:26 -0500 |
Thanks, between coeflegend and your example I was finally able to get it to work. Scott -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of John Antonakis Sent: Friday, February 08, 2013 1:57 PM To: statalist@hsphsun2.harvard.edu Subject: Fwd: Re: st: Postestimation after NL Regression Typo....meant to say: nl, coeflegend J. -------- Original Message -------- Subject: Re: st: Postestimation after NL Regression Date: Fri, 08 Feb 2013 19:55:52 +0100 From: John Antonakis <John.Antonakis@unil.ch> To: statalist@hsphsun2.harvard.edu 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/ * * 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/