dot-getDensity: Function to estimate density needed to evaluate standard...

Description Usage Arguments

Description

Function to estimate density needed to evaluate standard errors.

Usage

1
2
3
.getDensity(x, c0, bounded_kernel = FALSE, x_name = "train_pred",
  y_name = "train_y", nested_cv = FALSE, prediction_list = NULL,
  folds = NULL, maxDens = 1000, ...)

Arguments

x

An entry in prediction_list.

c0

The point at which the density estimate is evaluated.

bounded_kernel

Should a bounded kernel be used? Default is FALSE.

x_name

Name of variable to compute density of.

y_name

Name of variable to stratify density computation on.

nested_cv

Use nested CV to estimate density?

prediction_list

Properly formatted list of predictions.

folds

Cross-validation fold assignments.

maxDens

The maximum allowed value for the density.

...

Other options (not currently used)


benkeser/predtmle documentation built on May 20, 2019, 5:41 p.m.