Computes estimator of the AR(p) coefficients by the procedure from Khismatullina and Vogt (2020).
ar_coef(data, l1, l2, correct, p). Vector of length p of estimated AR coefficients.
Time series.
Tuning parameters.
Vector of the corrections, either zero or calculated by
the function corrections.
AR order of the time series.