tdBrier {tdROC} | R Documentation |
Calculate the Brier Score
Description
This function reads in a vector of estimated weight and same length biomarker to calculate Brier Score by formula (Wu and Li, 2018). This function is used internally by other functions in this package.
Usage
tdBrier(W, X)
Arguments
W |
a numerical vector of weight estimated by nonparametric weight adjustments (Li et al., 2015). Same length with |
X |
a numerical vector of risk score values. Same length with |
Value
Brier Score as a numerical scalar.
Note
This function estimates brier score by using the formula from Wu and Li, 2018.
[Package tdROC version 2.0 Index]