Rdocumentation
powered by
Learn R Programming
vtreat (version 0.5.16)
hold1OutMeans: of all but the i-th y. Useful for normalizing PRESS style statistics.
Description
of all but the i-th y. Useful for normalizing PRESS style statistics.
Usage
hold1OutMeans(y, weights)
Arguments
y
values to average (should not have NAs).
weights
data weighing (should not have NAs, be non-negative and not all zero).
Value
a vector of length(y) where the i-th entry is the weighted mean
See Also
pressStatOfBestLinearFit