Km {DCCA}R Documentation

Matrix K

Description

This is an auxiliary function which computes expression (18) in Prass and Pumi (2019). It creates an m+1m+1 by m+1m+1 matrix defined by K=JQJK = J'QJ where JJ is a m+1m+1 by m+1m+1 lower triangular matrix with all non-zero entries equal to one and QQ is a m+1m+1 by m+1m+1 given by Q=IPQ = I - P where PP is the projection matrix into the subspace generated by degree nu+1nu+1 polynomials and II is the m+1m+1 by m+1m+1 identity matrix.

Usage

Km(m = 3, nu = 0, J = NULL, Q = NULL)

Arguments

m

a positive integer greater or equal than nunu indicating the size of the window for the polinomial fit.

nu

a non-negative integer denoting the degree of the polinomial fit applied on the integrated series.

J, Q

optional: the matrices such that K=JQJK = J'QJ. If both matrices are provided, mm and nunu are ignored.

Value

an m+1m+1 by m+1m+1 matrix corresponding to expression (18) in Prass and Pumi (2019).

Author(s)

Taiane Schaedler Prass

References

Prass, T.S. and Pumi, G. (2019). On the behavior of the DFA and DCCA in trend-stationary processes <arXiv:1910.10589>.

See Also

Jn which creates the matrix JJ, Qm which creates QQ and Pm which creates PP.

Examples

K = Km(m = 3, nu = 0)
K
# same as
m = 3
J = Jn(n = m+1)
Q = Qm(m = m, nu = 0)
K = Km(J = J, Q = Q)
K


[Package DCCA version 0.1.1 Index]