simuAR: Simulate Auto-Regressive process

Description Usage Arguments Value

View source: R/Methods.R

Description

This function can be used to simulate a Auto-Regressive process

Usage

1
simuAR(n, mu = 0, std = 1, phi, burnin = 200)

Arguments

n

sample size of process

mu

mean of process. This is the E[Y] and not the intercept of a model.

std

standard deviation of process (i.e. \sigma, not \(\sigma^2\))

phi

vector containing auto-regressive coefficients.

burnin

This parameter can be used to set the number of burnin observations. Process with mean different from 0 can be very different at begining of simulation and so dropping some of the initial observations avoids these types of issues.

Value

AR-MS series


roga11/MSTest_v1 documentation built on Dec. 22, 2021, 5:16 p.m.