Usage
ridgeParamEst(dat, X, weights = rep(1,times=nRows), refs,
tol=1.0e-010, only.ridge=FALSE, doPlot=FALSE,
col="blue",type="l", ...)
Arguments
weights
weights on the cases of the design matrix.
refs
a vector specifying validation group membership. Default is to
construct refs
using a method that is a function of the sample size N
:
if N<=20< code="">, leave-one-out is used refs=1:N
, if N<=40< code="">,
=40<>
=20<>
tol
the sensitivity in calculations near zero.
only.ridge
logical, whether only the ridge Parameters should be passed back or
additionally the Cross Validation penalised likelihood.
doPlot
logical, whether a plot of -2logL vs a candidate for the ridge parameter should be drawn.
col
color of Plot symbols.
type
type of Plot symbols.
...
further plot arguments.