ar_coef: Computes estimator of the AR(p) coefficients by the procedure...

View source: R/estimate_lrv.R

ar_coefR Documentation

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)

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.

Value

. Vector of length p of estimated AR coefficients.


MSinference documentation built on Sept. 11, 2024, 5:38 p.m.