SymKL.Plugin: SymKL.Plugin

Description Usage Arguments Author(s) References Examples

View source: R/EntropEst.r

Description

Returns the augmented plugin estimator of Symetrized Kullback-Leibler Divergence. See Zhang and Grabchak (2014b) for details.

Usage

1

Arguments

x

Vector of counts from first distribution. Must be integer valued. Each entry represents the number of observations of a distinct letter.

y

Vector of counts from second distribution. Must be integer valued. Each entry represents the number of observations of a distinct letter.

Author(s)

Lijuan Cao and Michael Grabchak

References

Z. Zhang and M. Grabchak (2014b). Nonparametric Estimation of Kullback-Leibler Divergence. Neural Computation, DOI 10.1162/NECO_a_00646.

Examples

1
2
3
 x = c(1,3,7,4,8) # first vector of counts
 y = c(2,5,1,3,6) # second vector of counts
 SymKL.Plugin(x,y)  # Estimated standard deviation

Example output

[1] 0.3052921

EntropyEstimation documentation built on May 1, 2019, 6:33 p.m.