ewmc: Exponentially moving covariance

View source: R/gbm-fitting.R

ewmcR Documentation

Exponentially moving covariance

Description

Exponentially weighted sample covariance Past data has exponentially decaying weights.

Usage

ewmc(X, lambda = 0.94, h = 1/252)

Arguments

X

data-set

lambda

weight parameter (near 0 corresponds to sample mean)

h

timescale

Value

matrix


shill1729/findistr documentation built on May 20, 2024, 9:43 a.m.