KullbackDivergence: Calculates the kullback divergence of the given probability...

Description Usage Arguments Value Author(s) References Examples

View source: R/Divergences_and_Distances.R

Description

Calculates the kullback divergence of the given probability distribution and the uniform distribution

Usage

1

Arguments

prob

A numeric vector containing a probability distribution of ordinal patterns

Value

The Kullback divergence between the probability distribution of time series and uniform distribution

Author(s)

Eduarda Chagas

References

Van Erven, Tim, and Peter Harremos. "Rényi divergence and Kullback-Leibler divergence." IEEE Transactions on Information Theory 60.7 (2014): 3797-3820.

Examples

1
2
3
4
5
6
set.seed(123, kind = "Mersenne-Twister")
x <- runif(110000)
d <- 3
del <- 1
p <- BandtPompe(series = x, dimension = d, delay = del)
KullbackDivergence(prob = p)

EduardaChagas/NATS_package documentation built on June 20, 2021, 4:39 a.m.