Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: coefficicent constriant


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: coefficicent constriant
Date   Sat, 28 Dec 2013 20:28:24 -0600

Use -nl-

nl (y =  {b1}*x1 + {b2}*x2 + {b1}*{b2}*x3)

Scott


On Sat, Dec 28, 2013 at 8:02 PM, Wang, Fan <fwang@ku.edu> wrote:
> Hi All,
>
> I have a very simple model here (Y=b1*X1+b2*X2+b3*X3). I would like to know how I can run this model with a constraint that b3=b1*b2 in Stata. Can anyone help?
>
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index