
Determine the Brier score for a fitted model
aggregation.brier.Rd
Evaluate the Brier score, i.e. prediction error, for a fitted model on new data. To be used as argument aggregation.fun
in peperr
call.
Usage
aggregation.brier(full.data=NULL, response, x, model, cplx=NULL,
type=c("apparent", "noinf"), fullsample.attr = NULL, ...)
Arguments
- full.data
passed from
peperr
, but not used for calculation of the Brier score.- response
vector of binary response.
- x
n*p
matrix of covariates.- model
model fitted as returned by a
fit.fun
, as used in a call topeperr
.- cplx
passed from
peperr
, but not necessary for calculation of the Brier score.- type
character.
- fullsample.attr
passed from
peperr
, but not necessary for calculation of the Brier score.- ...
additional arguments, passed to
predict
function.