In Weighted Averaging models averages are taken twice and thus WA
estimates shrink towards the training set mean and need to be
deshrunk.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"))
For 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:
The deshrinking coefficients used.
The deshrunk WA estimates.
numeric; original environmental values.
numeric; initial weighted average estimates.
character; the type of deshrinking. One of
"inverse"
, "classical"
, "expand"
,
"none"
.
numeric; estimates to be deshrunk.
numeric; deshrinking coefficients to use. Currently needs to be a vector of length 2. These should be supplied in the order \(\beta_0,\beta_1\).
Gavin L. Simpson & Jari Oksanen
deshrinkPred
, does not currently check that
the correct coefficients have been supplied in the correct order.
Birks, H.J.B. (1995) Quantitative environmental reconstructions. In Statistical modelling of Quaternary science data (eds.~D.Maddy & J.S. Brew). Quaternary Research Association technical guide 5. Quaternary Research Association, Cambridge.
wa