brier_score: brier_score

Description Usage Arguments Value

View source: R/brier_score.R

Description

Takes in training/test data and a prediction function to use, then generates brier score.

Usage

1
2
3
4
5
brier_score(
  train_test_list,
  match_predict_function = match_predict_xgb(),
  avg = TRUE
)

Arguments

train_test_list

Output from predict_prepare

match_predict_function

Function to predict treated unit, either match_predict_xgb or match_predict_linear

avg

Whether to average (or sum) the briers.

Value

Result from calc_brier, length-one double


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