Lasso program
Posted: Tue Sep 29, 2020 2:54 pm
Hello to all,
While writing a program that runs a bunch of LASSO equations and found difficulty in establishing a few variables;
This is my equation: equation eq_nxv{!i}.enet(penalty=lasso, alpha=1, lambda=0.401, conv=1e-5, maxit=500) n{!i} v1 ... v92 c
(If anyone could help) I'd like to know if it is possible to, instead of choosing an integer number (for alpha, lambda, conv and maxit), let eviews choose the best fit for the equation via this program.
Thank you!
While writing a program that runs a bunch of LASSO equations and found difficulty in establishing a few variables;
This is my equation: equation eq_nxv{!i}.enet(penalty=lasso, alpha=1, lambda=0.401, conv=1e-5, maxit=500) n{!i} v1 ... v92 c
(If anyone could help) I'd like to know if it is possible to, instead of choosing an integer number (for alpha, lambda, conv and maxit), let eviews choose the best fit for the equation via this program.
Thank you!