brier_score_split: brier_score_split

Description Usage Arguments Value

View source: R/brier_score_split.R

Description

For a match, calculates brier score on a test split of the data.

Usage

1
2
3
4
5
6
7
brier_score_split(
  x_mat,
  match_list,
  design = "cross_all",
  train_fraction = 0.7,
  match_predict_function = match_predict_xgb()
)

Arguments

x_mat

Typical input matrix

match_list

Match result

design

See predict_prepare

train_fraction

Split of data to use for training

match_predict_function

Function to predict treated units.

Value

Brier score


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