arP: Autoregressive transition matrix

View source: R/helperfuncs.R

arPR Documentation

Autoregressive transition matrix

Description

This function converts a transition matrix to the transition matrix consistent with a Markov-switching autoregressive model.

Usage

arP(P, k, ar)

Arguments

P

original transition matrix.

k

integer determining the number of regimes.

ar

number of autoregressive lags.

Value

transformed transition matrix.


MSTest documentation built on Oct. 31, 2024, 1:06 a.m.