[R-SIG-Finance] Constrained Regression with Intercept in pcls
Philipp
jasonhome at freenet.de
Thu Dec 1 17:18:14 CET 2011
Dear all,
I already asked about to run a constrained regression like y=b0 +
b1X1+b2x2+b3x3, with constraints:
b1+b2+b3=1 and b1,b2,b3>=0. I thought it will run with style.QPfit with the
performance Analytic packages.
However the style.QPfit function does not estimate an intercept. As i really
can not extend this function for my problem, I noticed pcls. Pcls is maybe
an alternative for my problem. Can somebody help me to implement the
constraints in pcls. Maybe it can be done by designing a designed matrix X
with extra column for the inercept (b0) and to force C in a way. But how I
do not know.
Your help is greatly appreciated
Philipp
--
View this message in context: http://r.789695.n4.nabble.com/Constrained-Regression-with-Intercept-in-pcls-tp4129187p4129187.html
Sent from the Rmetrics mailing list archive at Nabble.com.
More information about the R-SIG-Finance
mailing list