Description Usage Arguments Value Author(s) See Also Examples
Computes the parameter estimates in a linear least squares ridge regression.
1 |
x |
n*d data matrix; the matrix of the values of the explanatory variables |
y |
n vector; the values of the response variable |
eleg |
TRUE or FALSE; an internal parameter related to the method of calculation |
lambda |
nonnegative real number; the degree of penalization in ridge regression; if lambda=0, then the usual linear least squares estimates are calculated |
list of beta0 and beta1; beta0 is a real number and beta1 is a d vector; beta0 is the estimate of the intercept and beta1 is the vector containing the estimates of the coefficients
Jussi Klemela
1 2 3 4 5 6 7 8 9 10 11 12 |
Loading required package: denpro
$beta0
[1] 0.0545416
$beta1
[1] 0.003131696 -0.004115269
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.