Statalist


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

Re: st: lincom after nlsur


From   Carl Nelson <chnelson@illinois.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: lincom after nlsur
Date   Thu, 27 Nov 2008 13:42:23 -0600 (CST)

The answer to my question is that I needed to use the "proper" names of the model coefficients. The coefficients are reported in estimates as /a1 /a2, etc.
The lincom syntax is

lincom 1- _b[/a1] - _b[/a2] - _b[/a3] - _b[/a4]

---- Original message ----
>Date: Thu, 27 Nov 2008 10:34:01 -0600 (CST)
>From: Carl Nelson <chnelson@illinois.edu>  
>Subject: st: lincom after nlsur  
>To: statalist@hsphsun2.harvard.edu
>
>When I estimate a nonlinear equation system with a function evaluation program using the syntax
>
>nlsur aids5 @ w1 w2 w3 w4 np1 np2 np3 np4 np5 nw, /*
>*/ parameters(a1 a2 a3 a4 b1 b2 b3 b4 g11 g12 g13 g14 /*
>*/ g22 g23 g24 g33 g34 g44) nequations(4) 
>
>The estimates report gives me parameters a1 - g44.
>But when I try to construct linear combinations of parameters with 
>
>lincom 1 - a1 - a2 - a3 - a4
>
>,for example, a1 can not be found. In the online documentation I can not find reference to how to retrieve nonlinear parameters for expressions in lincom after nonlinear estimation.
>
>Can someone tell me the correct syntax for lincom after nonlinear estimation? Thanks.
>
>Carl Nelson
>University of Illinois - Urbana Champaign
>
>*
>*   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