dot-get_density: 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
 4
 5
 6
 7
 8
 9
10
11
12
.get_density(
  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)


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