Learn R Programming

MSinference (version 0.2.1)

ar_coef: Computes estimator of the AR(p) coefficients by the procedure from Khismatullina and Vogt (2020).

Description

Computes estimator of the AR(p) coefficients by the procedure from Khismatullina and Vogt (2020).

Usage

ar_coef(data, l1, l2, correct, p)

Value

. Vector of length p of estimated AR coefficients.

Arguments

data

Time series.

l1, l2

Tuning parameters.

correct

Vector of the corrections, either zero or calculated by the function corrections.

p

AR order of the time series.