[R] constrained regression

Heywood, Giles Giles.Heywood at CommerzbankIB.com
Tue May 28 16:12:04 CEST 2002

I want to do a linear regression where the coefficients 
obey two linear constraints, and also are all non-negative.
What is the best way to do this? Computational speed is a 
consideration as I must do it many times.

When this question was asked previously on the list, quadprog
was suggested - is this the best solution?

(I may have missed something obvious in the documentation, 
but I have looked).



This communication is confidential and is intended only for 
the person to whom it is addressed.  If you are not that person you
are not permitted to make use of the information and you are requested 
to notify <mailto:LONIB.Postmaster at commerzbankib.com> immediately that 
you have received it and then destroy the copy in your possession.
Commerzbank AG is regulated by the FSA for the conduct of investment
business in the UK.

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list