OptimistFunctions: Statistical functions with halflife for financial analysis

Usage Arguments Value

Usage

1
2
3
4
5
optimist_mean(x, halflife = length(x), type = c("arithmetic", "geometric"))

optimist_var(x, halflife = length(x))

optimist_cov(x, halflife = nrow(as.matrix(x)), cor = FALSE)

Arguments

halflife

the value for time-weighting. See optimist_wt.

object

x

Value

mean, variance and convariance matrix of x with halflife h.


optimist/inhouse documentation built on May 24, 2019, 3:56 p.m.