dot-make_targeting_data: Helper function for making data set in proper format for...

Description Usage Arguments

Description

Helper function for making data set in proper format for CVTMLE

Usage

1
2
3
4
5
6
7
8
9
.make_targeting_data(
  x,
  prediction_list,
  quantile_list,
  density_list,
  folds,
  nested_cv = FALSE,
  gn
)

Arguments

x

A numeric identifier of which entry in prediction_list to operate on.

prediction_list

Properly formatted list of predictions.

quantile_list

List of estimated quantile for each fold.

density_list

List of density estimates for each fold.

folds

Cross-validation fold assignments.

nested_cv

A boolean indicating whether nested CV was used in estimation.

gn

An estimate of the marginal probability that Y = 1.


nlpred documentation built on Feb. 24, 2020, 1:11 a.m.