Skip to contents

Computes the kernel density estimation test statistic.

Usage

kdeMetric(auxData, predicted)

Arguments

auxData

The true values.

predicted

The predicted values.

Value

The KDE test statistic.

Examples

auxData <- c(1, 2, 3, 4)
predicted <- c(1.1, 2.1, 2.9, 4.2)
kdeMetric(auxData, predicted)
#> [1] -9.594744