varmapack_testcase: Create a VARMA testcase model

View source: R/functions.R

varmapack_testcaseR Documentation

Create a VARMA testcase model

Description

Create a built-in named testcase or an unnamed random, deterministic, or spectral-radius-controlled VARMA testcase.

Usage

varmapack_testcase(
  which = "random",
  p = NULL,
  q = NULL,
  r = NULL,
  rho = 0,
  rng = NULL
)

Arguments

which

A built-in testcase name, a one-based built-in testcase index, or one of "random", "deterministic", and "rho".

p, q, r

Required AR order, MA order, and series dimension for unnamed testcases.

rho

Target spectral radius when which = "rho".

rng

Optional randompack::randompack_rng() used for a random testcase.

Value

A VarmapackModel object.

Examples

model <- varmapack_testcase("smallARMA1")
model <- varmapack_testcase("rho", p = 3, q = 1, r = 2, rho = 0.8)


varmapack documentation built on Nov. 19, 2026, 5:09 p.m.