Learn R Programming

statcomp (version 0.1.0)

q_complexity: A function to compute q-log complexity

Description

q-log complexity

Usage

q_complexity(opd, q)

Arguments

opd

A numeric vector that details an ordinal pattern distribution.

q

q-log parameter

Value

The q-log complexity value.

Details

This function calculates the q-log complexity 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)
q_complexity(opd = opd, q = 1)
# }

Run the code above in your browser using DataLab