Correlogram

scalation.mathstat.Correlogram
trait Correlogram(y: VectorD)

The Correlogram trait provides functions for computing the Auto-Correlation Function (ACF) and the Partial Auto-Correlation Function (PACF).

Value parameters

y

the time series data (response vector)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AR
class AR1MA
class ARMA
class ARIMA
class SARIMA
class SARIMAX
class NullModel
class QuadSpline
class RandomWalk
class TrendModel
Show all

Members list

Value members

Concrete methods

def acF: VectorD

Return the autocorrelation vector (ACF).

Return the autocorrelation vector (ACF).

Attributes

def durbinLevinson(g: VectorD, ml: Int): MatrixD

Apply the Durbin-Levinson Algorithm to iteratively compute the psi matrix. The last/p-th row of the matrix gives AR coefficients. Note, also known as Levinson-Durbin.

Apply the Durbin-Levinson Algorithm to iteratively compute the psi matrix. The last/p-th row of the matrix gives AR coefficients. Note, also known as Levinson-Durbin.

Value parameters

g

the auto-covariance vector (gamma)

ml

the maximum number of lags

Attributes

See also
def makeCorrelogram(y_: VectorD): Unit

Make a Correlogram, i.e., compute stats, psi and pacf.

Make a Correlogram, i.e., compute stats, psi and pacf.

Value parameters

y_

the current (e.g., training) times-series to use (defaults to full y)

Attributes

def pacF: VectorD

Return the partial autocorrelation vector (PACF).

Return the partial autocorrelation vector (PACF).

Attributes

def plotFunc(fVec: VectorD, name: String, show: Boolean): Unit

Plot a function, e.g., Auto-Correlation Function (ACF), Partial Auto-Correlation Function (PACF) with confidence bound.

Plot a function, e.g., Auto-Correlation Function (ACF), Partial Auto-Correlation Function (PACF) with confidence bound.

Value parameters

fVec

the vector given function values

name

the name of the function

show

whether to show the fVec values

Attributes

def psiM: MatrixD

Return the psi matrix.

Return the psi matrix.

Attributes

Return basic statistics on time-series y or y_.

Return basic statistics on time-series y or y_.

Attributes