ridgereg_k | R Documentation |
Ridge regression with a selected k value
ridgereg_k(x, y, a, b)
x |
Explanatory variables (Dataframe, matrix) |
y |
Dependent variables (Dataframe, vector) |
a |
Lower bound of k |
b |
Upper bound of k |
A list of lists
library("mctest")
x <- Hald[,-1]
y <- Hald[,1]
ridgereg_k(x,y,a=0,b=1)
library(isdals)
data(bodyfat)
x <- bodyfat[,-1]
y <- bodyfat[,1]
ridgereg_k(x,y,a=0,b=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.