get_all_mar_means: Get all means for multivariate autoregressive series

View source: R/multivariate_autoregressive_hmm_functions.R

get_all_mar_meansR Documentation

Get all means for multivariate autoregressive series

Description

Get all means for multivariate autoregressive series

Usage

get_all_mar_means(x, mod, m, q, k)

Arguments

x

Observations coming from a multivariate autoregressive series, in a matrix with k rows. Each row corresponds to a variable.

mod

List of HMM parameters

m

Number of states

q

Order of the autoregressive model

k

Number of variables

Value

List of autoregressive means corresponding to each state. Means are in a n x k matrix, where n is the number of observations.


longjess/hornsharkHMM documentation built on June 15, 2022, 11:32 p.m.