update_ewmc: Efficient EMA updates

View source: R/gbm-fitting.R

update_ewmcR Documentation

Efficient EMA updates

Description

Efficient EMA updates

Usage

update_ewmc(x_new, Sigma_last, mu_new, alpha, n)

Arguments

x_new

the new log-return value

Sigma_last

the last ema-cov

mu_new

the new mean

alpha

the smoothing factor

n

the total size

Value

matrix


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