apaElasticGradientDescentRegression(Y, X, L1Penality, L2Penality)
Excel
=apaElasticGradientDescentRegression(Y, X, L1Penality, L2Penality)Result
Elastic gradient descent regression, which combines ridge regression and forward stagewise regression.
Syntax
Y: r x 1 vector of the dependent variable
X: r x c matrix of explanatory variables
L1Penality: k x 1 list of L1 penalties
L2Penality: k x 1 list of L2 penalties
