Learn R Programming

factorcpt (version 0.1.2)

func_input: Haar wavelet-based transform

Description

Takes the Haar wavelet coefficients of multiple time series as an input and applies the transforms proposed in Barigozzi, Cho & Fryzlewicz (2016), g_j and h_j, which turns n-dimensional time series to n(n+1)/2-dimensional panel data.

Usage

func_input(coef, sgn)

Arguments

coef
Haar wavelet coefficients returned by func_coef
sgn
n-by-n matrix containing the sign of correlations between any pair of Haar wavelet coefficients in coef

Value

n(n+1)/2-dimensional panel of wavelet-transforms of input time series