Learn R Programming

statcomp (version 0.1.0)

permutation_entropy_qlog: A function to compute q-log permutation entropy

Description

q-log permutation entropy

Usage

permutation_entropy_qlog(opd, q)

Arguments

opd

A numeric vector that details an ordinal pattern distribution.

q

q-log parameter

Value

The q-log permutation entropy value.

Details

This function calculates the q-log permutation entropy as described in Ribeiro et al. 2017.

References

Ribeiro et al. 2017, https://arxiv.org/abs/1705.04779.

Examples

Run this code
# NOT RUN {
x = arima.sim(model=list(ar = 0.3), n = 10^4)
opd = ordinal_pattern_distribution(x = x, ndemb = 6)
permutation_entropy_qlog(opd = opd, q = 1)
# }

Run the code above in your browser using DataLab