deshrink
performs this deshrinking using several
techniques, whilst deshrinkPred
will deshrink WA estimates for
new samples given a set of deshrinking coefficients.deshrink(env, wa.env,
type = c("inverse", "classical", "expanded", "none",
"monotonic"))deshrinkPred(x, coef,
type = c("inverse", "classical", "expanded", "none",
"monotonic"))
"inverse"
, "classical"
, "expand"
,
"none"
.deshrinkPred
a numeric vector of deshrunk estimates.
For an object of class "deshrink"
, inheriting from class
"list"
, with two components. The type of deshrinking performed
is stroed within attribute "type"
. The componets of the
returned object are:deshrinkPred
, does not currently check that
the correct coefficients have been supplied in the correct order.wa