PLS_Toolbox Documentation: ridge< reversebytes ridgecv >

ridge

Purpose

Ridge regression by Hoerl-Kennard-Baldwin.

Synopsis

 

[b,theta] = ridge(x,y,thetamax,divs,tf)

Description

RIDGE creates a ridge regression model for a matrix of predictor variables (x-block) x, and a vector of predicted variable (y-block) y. The maximum value of the ridge parameter to consider is given by thetamax (thetamax > 0). divs specifies the number of values of the ridge parameter between 0 and thetamax to be used for calculating the regression vector shown in the plots created by the ridge routine.

The optional variable tf allows the user to position text on the plot when tf is set to 1. The text identifies the optimum of the ridge parameter theta and can be positioned with cursors or the mouse.

Outputs are b the regression column vector at optimum ridge parameter theta.

In most instances the optimum ridge parameter will be less than 0.1, often as low as 0.01. A good starting guess when working with the method is to specify thetamax = 0.1 with divs = 20.

See Also

analysis, pcr, pls, regcon, ridgecv, rinverse


< reversebytes ridgecv >