calc_brier: calc_brier

Description Usage Arguments Value

View source: R/calc_brier.R

Description

Simple brier score calculation

Usage

1
calc_brier(predict, outcome, avg = TRUE)

Arguments

predict

P(Y = 1) for each value

outcome

result (in \{0, 1\})

avg

Whether to use the mean.

Value

Length one double: the total brier sum, or the avg (default)


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.