Sigma_mar2: Compute the covariance matrix corresponding to a mixture of...

View source: R/estim_mar2.R

Sigma_mar2R Documentation

Compute the covariance matrix corresponding to a mixture of two autoregressive (MAR) processes of order 1

Description

Sigma_mar2 takes the parameters returned by estim_mar2_link (coefficient at lag 1 and variance) to calculate the matrix coefficients whose formulation is given in equations 2 and 3 in Supplementary Material of Qasmi and Ribes (2021).

Usage

Sigma_mar2(theta, y)

Arguments

theta

a vector containing the MAR parameters returned by estim_mar2_link

y

a vector containing the observation time series associated with theta

Value

a symmetric matrix corresponding to the MAR model.


saidqasmi/KCC documentation built on July 8, 2022, 6:02 a.m.