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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: RE: Joint Wald test after NLSUR


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: Joint Wald test after NLSUR
Date   Thu, 29 Jul 2010 00:46:03 +0200

<>



Strangely, -h nlsur- keeps quiet about the ingenious -coeflegend- option
which would have made Regio`s search for the right syntax considerably
easier.


***********
sysuse auto, clear
nlsur (turn = {a1}*length  + {a2}*( {c} + weight)) /* 
*/ (price = {b1}*length  + {b2}*( {c} + weight))

nlsur, coefl

te (_b[a2:_cons]=0) (_b[b2:_cons]=0)
***********


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
Sent: Donnerstag, 29. Juli 2010 00:41
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: Joint Wald test after NLSUR


<>

***********
sysuse auto, clear
nlsur (turn  = {a1}*length  + {a2}*( {c} + weight  )  )  (price =
{b1}*length  + {b2}*( {c} + weight  )  )
te (_b[a2:_cons]=0) (_b[b2:_cons]=0)
***********


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Regio Martins
Sent: Donnerstag, 29. Juli 2010 00:16
To: statalist@hsphsun2.harvard.edu
Subject: st: Joint Wald test after NLSUR

Dear Statalisters,

After the following NLSUR estimation:

nlsur (y1 = {a1}*x1 + {a2}*( {c} + x2 )  )  (y2 = {b1}*x1 + {b2}*( {c} + x2
)  )

how do I test the joint hypothesis that {a2} and {b2} are zero using the
"test" command? I cannot find the right syntax to refer to these two
parameters...

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


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