.get_density {nlpred} | R Documentation |
Function to estimate density needed to evaluate standard errors.
Description
Function to estimate density needed to evaluate standard errors.
Usage
.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 |
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) |
[Package nlpred version 1.0.1 Index]