hellinger_distance: Distance measure between ordinal pattern distributions:...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/distance_measures.R

Description

Compute the Hellinger Distance

Usage

1

Arguments

p

An ordinal pattern distribution

q

A second ordinal pattern distribution to compare against p.

Details

This function returns a distance measure.

Value

A vector of length 1.

Author(s)

Sebastian Sippel

References

none

Examples

1
2
3
p = ordinal_pattern_distribution(rnorm(10000), ndemb = 5)
q = ordinal_pattern_distribution(arima.sim(model=list(ar=0.9), n= 10000), ndemb = 5)
hellinger_distance(p=p, q = q)

statcomp documentation built on May 29, 2017, 5:51 p.m.