emp_acf: Computes autocovariances at lags 0 to p for the ell-th...

View source: R/estimate_lrv.R

emp_acfR Documentation

Computes autocovariances at lags 0 to p for the ell-th differences of data.

Description

Computes autocovariances at lags 0 to p for the ell-th differences of data.

Usage

emp_acf(data, ell, p)

Arguments

data

Time series for which we calculate autocovariances.

ell

Order of differences used.

p

Maximum lag for the autocovariances

Value

Vector of length (p + 1) that consists of empirical autocoavariances for the corresponding lag - 1.


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