is.stationary: Stationarity Check of AR Time Series

View source: R/code.r

is.stationaryR Documentation

Stationarity Check of AR Time Series

Description

Check if AR coefficients correspond to stationarity.

Usage

is.stationary(phi.vect)

Arguments

phi.vect

A vector of at least one AR coefficient.

Details

Stationarity check is performed via the simulation of an AR time series using the built-in R function arima.sim.

Value

logical

Note

This function is intended for internal use by bentcable.ar.

Author(s)

Grace Chiu

Examples

  is.stationary(1) # F
  is.stationary(c(-.5,.2)) # T

bentcableAR documentation built on June 28, 2022, 5:05 p.m.