LASSO, Ridge & Elastic Net...
Posted: Tue Jul 14, 2020 3:56 am
Please can I ask two small questions regarding the use of LASSO, Ridge and Elastic Net options that you've added recently?
Firstly, is it possible to restrict the sum of the coefficients to equal some value (say, 1)? (If I try the approach usually used in OLS - e.g. setting y=c(1)+c(2)*x1+(1-c(2))*x2), then I find it crashes EVIEWS.
Secondly, is it possible to restrict the sign of each of the coefficients (say, to be >0)?
Thanks for your help.
Regards
Mike
Firstly, is it possible to restrict the sum of the coefficients to equal some value (say, 1)? (If I try the approach usually used in OLS - e.g. setting y=c(1)+c(2)*x1+(1-c(2))*x2), then I find it crashes EVIEWS.
Secondly, is it possible to restrict the sign of each of the coefficients (say, to be >0)?
Thanks for your help.
Regards
Mike