Package: VAR.spec 1.0

Evangelos Ioannidis

VAR.spec: Allows Specifying a Bivariate VAR (Vector Autoregression) with Desired Spectral Characteristics

The spectral characteristics of a bivariate series (Marginal Spectra, Coherency- and Phase-Spectrum) determine whether there is a strong presence of short-, medium-, or long-term fluctuations (components of certain frequencies in the spectral representation of the series) in each one of them. These are induced by strong peaks of the marginal spectra of each series at the corresponding frequencies. The spectral characteristics also determine how strongly these short-, medium-, or long-term fluctuations of the two series are correlated between the two series. Information on this is provided by the Coherency spectrum at the corresponding frequencies. Finally, certain fluctuations of the two series may be lagged to each other. Information on this is provided by the Phase spectrum at the corresponding frequencies. The idea in this package is to define a VAR (Vector autoregression) model with desired spectral characteristics by specifying a number of polynomials, required to define the VAR. See Ioannidis(2007) <doi:10.1016/j.jspi.2005.12.013>. These are specified via their roots, instead of via their coefficients. This is an idea borrowed from the Time Series Library of R. Dahlhaus, where it is used for defining ARMA models for univariate time series. This way, one may e.g. specify a VAR inducing a strong presence of long-term fluctuations in series 1 and in series 2, which are weakly correlated, but lagged by a number of time units to each other, while short-term fluctuations in series 1 and in series 2, are strongly present only in one of the two series, while they are strongly correlated to each other between the two series. Simulation from such models allows studying the behavior of data-analysis tools, such as estimation of the spectra, under different circumstances, as e.g. peaks in the spectra, generating bias, induced by leakage.

Authors:Evangelos Ioannidis [cre, aut, cph], Panagiotis Papastamoulis [aut, cph]

VAR.spec_1.0.tar.gz
VAR.spec_1.0.tar.gz(r-4.5-noble)VAR.spec_1.0.tar.gz(r-4.4-noble)
VAR.spec_1.0.tgz(r-4.4-emscripten)VAR.spec_1.0.tgz(r-4.3-emscripten)
VAR.spec.pdf |VAR.spec.html
VAR.spec/json (API)

# Install 'VAR.spec' in R:
install.packages('VAR.spec', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6 exports 0.00 score 0 dependencies 776 downloads

Last updated 3 months agofrom:98d4d09ce2. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 10 2024
R-4.5-linuxOKSep 10 2024

Exports:calc.VAR.spec.from.coefscalculate.VARInit.varplot_VAR.Phase.detailsplot_VAR.spectrasimulate.VAR

Dependencies: