Library

Library

Types

ModelObj

Functions

CVfn(parm::Matrix, X::Matrix, modelfn::Function, cvmetric::Function)

Cross-validation

source
LCCA(X::Matrix, Y::Matrix, τ::Int)

Linear Canonical Correlation Analysis between $X$ and $Y$ at lead time $τ$

source
Rsq(R::Matrix, X0::Matrix)

Explanation of variance R²

source
Rsq1(model::ModelObj, Xtest::Matrix, τ::Int)

Predictive R²

source
Rsq2(model::ModelObj, Xtest::Matrix, τ::Int)

Explanation of variance R²

source
Rsq3(model::ModelObj, Xtest::Matrix, τ::Int)
source
iota(model::ModelObj, iotafn::Function, jv::Vector, X0::Matrix, pos::Vector)

Iota

source
modelf(par::Vector, X::Matrix, modelfn::Function)

Find the components of $X$ using modelfn and parameters par. par[1] = $α$, par[2] = $τ$

source
omega(X::Matrix)

Spectral entropy

source
pca(par::Vector, X::Matrix, lagmax::Int)

Principal Components Analysis

source
prca(par::Vector, X::Matrix, lagmax::Int)

Predictable Components Analysis.

source
biplot(model::ModelObj, jv::Vector{Int}, Y::Matrix, label::Vector{Symbol})

Biplot

source
parzen(tau::OrdinalRange{Int64}, M::Int64)

Parzen filter

source
Helmert(n)

Calculate $n×n$ Helmert matrix

source
alpha(X::Matrix, α::Float64)

Apply alpha-transform without Helmert product

source
alphaTransform(X::Matrix, α::Float64)

Apply alpha-transform with Helmert product to $X$

source
clr(X::Matrix)

Centered logratio transform

source
ilr(X::Matrix)

Isometric logratio transform

source