Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Constrained regression


From   H�chle, Daniel (Pfaeffikon) <[email protected]>
To   <[email protected]>
Subject   st: Constrained regression
Date   Mon, 11 Aug 2008 16:16:43 +0200

Dear all,

I would like to estimate regression model

y_t = a1*x1_t + a2*x2_t + ... ak*xk_t + e_t

with the following constraints:

a1>=0
a2>=0
...
ak>=0
a1 + a2 + ... + ak = 1

I tried to use -cnsreg- and -nl- but somehow did not manage estimate the model. 

Any help would be highly appreciated.

Kind regards,
Daniel



Any information in this communication is confidential and may be privileged or otherwise protected from disclosure without our consent. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. You are requested to please telephone or email the sender and delete this message and any attachment from your system.
	
Due to the electronic nature of e-mail, there is a risk that the information contained in this message has been modified. Consequently we can accept no responsibility or liability as to the completeness or accuracy of the information.
    
A-03-03-E


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index