simulate_corr_ar1: Simulate Correlated AR(1)

View source: R/simulation.R

simulate_corr_ar1R Documentation

Simulate Correlated AR(1)

Description

This function simulates multiple correlated AR(1) processes.

Usage

simulate_corr_ar1(N, phi_ar1, sigma_ar1)

Arguments

N

An integer indicating the length of the time series.

phi_ar1

A vector indicating the phi terms of the AR(1) processes.

sigma_ar1

A matrix denoting the covariance of the AR(1) innovations.

Value

A matrix of the simulated correlated AR(1) processes.

Author(s)

Davide Antonio Cucci


Yuming-Zhang/synimu documentation built on Jan. 29, 2023, 11:59 a.m.