brier_score_cv: brier_score_cv

Description Usage Arguments Value

View source: R/brier_score_cv.R

Description

For a match, calculates brier score using cross validation

Usage

1
2
3
4
5
6
7
brier_score_cv(
  x_mat,
  match_list,
  design = "cross_all",
  num_folds = 5,
  match_predict_function = match_predict_xgb()
)

Arguments

x_mat

Typical input matrix

match_list

Match result

design

See predict_prepare

num_folds

Number of CV folds to use

match_predict_function

Function to predict treated units.

Value

Brier score (averaged over all units)


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