Statalist


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

st: RE: NLSUR and TEST linear hypotheses for the parameter


From   "Nelson, Carl" <chnelson@illinois.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: NLSUR and TEST linear hypotheses for the parameter
Date   Fri, 24 Jul 2009 11:45:22 -0500

Sascha.

Look at the nlsur postestimation help file. It explains that lincom can be used to test linear hypotheses after nlsur.

Carl 
________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Oleksandr Perekhozhuk [Perekhozhuk@iamo.de]
Sent: Friday, July 24, 2009 10:00 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: NLSUR  and TEST  linear hypotheses for the parameter

Hello,

I have to estimate a system of nonlinear equations. I use NLSUR and it works
well.
Now, I want to test linear hypotheses for the parameter am+ac+al=1.
I know using regress it is possible to test. But it is dont work in NLSUR.
Thank you for the helping.
Best regards
Sascha



* nlsur - Estimation of nonlinear systems of equations

nlsur
(y={a0}+{am}*m+{ac}*c+{al}*l+{at}*year+0.5*[{amm}*m*m+{acc}*c*c+{all}*l*l+{a
tt}*year*year]+{amc}*m*c+{aml}*m*l+{amt}*m*year+{acl}*c*l+{act}*c*year+{alt}
*l*year) (pfexp =
prexp*[yexp/mexp]*[{am}+{amm}*m+{amc}*c+{aml}*l+{amt}*year]/[1+[{TetaT}
/0.55]]), nls

test am+ac+al=1



*  regress - Estimation of regress equations

regress y m c l

test m+c+l=1





---

Dr. Oleksandr Perekhozhuk

Leibniz Institute of Agricultural Development in Central and Eastern Europe
(IAMO)

Department of Agricultural Markets, Marketing and World Agricultural Trade

Theodor-Lieser-Strasse 2, D-06120 Halle (Saale), Germany

Phone: (+49) 345-2928-236

Fax:   (+49) 345-2928-299

E-mail: perekhozhuk@iamo.de

        perekhozhuk@gmail.com

 <http://www.iamo.de/> http://www.iamo.de/




*
*   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   |   What's new   |   Site index