apply_ar_on_ts: Apply autoregression of order 2 on timeseries This function...

Description Usage Arguments

View source: R/apply_ar_on_ts.R

Description

Apply autoregression of order 2 on timeseries This function applies autoregression of order 2 using a numeric vector (predicts next value in series given previous 2)

Usage

1
apply_ar_on_ts(s, a1, a2)

Arguments

s

A numeric vector representing the series.

a1

A coefficient of first previous value in the series.

a2

A coefficient of second previous value in the series.


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.