spec_comp: Generic function for computing the multivariate DFT: assigns...

Description Usage Arguments Value

Description

Generic function for computing the multivariate DFT: assigns a correct weight to frequency zero (1/sqrt(2)).

Usage

1
spec_comp(insamp, x, d)

Arguments

insamp

Length of in-sample portion of data (by default insamp=nrow(x))

x

(Multivariate) Data: first column is the target series, the remaining columns are the explanatory series.

d

For d=1 a pseudo-DFT is implemented (default is d=0)

Value

weight_func (Multivariate) Discrete Fourier Transform


wiaidp/MDFA documentation built on June 26, 2019, 1:07 p.m.