Distance measure between ordinal pattern distributions: Hellinger distance
Compute the Hellinger Distance
hellinger_distance(p, q)
p
: An ordinal pattern distributionq
: A second ordinal pattern distribution to compare against p.A vector of length 1.
This function returns a distance measure.
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)
none
Sebastian Sippel
Useful links