ldhmm.ts_abs_acf {ldhmm}R Documentation

Computing ACF of the absolute value of a time series

Description

This utility computes the ACF of the absolute value of a time series as a proxy of the auto-correlation of the volatility. It allows to drop the largest N outliers so that they would not skew the ACF calculation.

Usage

ldhmm.ts_abs_acf(x, drop = 0, lag.max = 100)

Arguments

x

numeric, the observations.

drop

a positive integer, specifying number of outliers to be dropped.

lag.max

a positive integer, specifying number of lags to be computed.

Value

a vector of ACF

Author(s)

Stephen H. Lihn


[Package ldhmm version 0.6.1 Index]