A function to compute q-log complexity
q-log complexity
q_complexity(opd, q)
opd
: A numeric vector that details an ordinal pattern distribution.q
: q-log parameterThe q-log complexity value.
This function calculates the q-log complexity as described in Ribeiro et al. 2017.
x = arima.sim(model=list(ar = 0.3), n = 10^4) opd = ordinal_pattern_distribution(x = x, ndemb = 6) q_complexity(opd = opd, q = 1)
Ribeiro et al. 2017, https://arxiv.org/abs/1705.04779.
Sebastian Sippel
Useful links