k2_boost: Boostraping of the second central moment

Description Usage Arguments Value

View source: R/rho_retail.R

Description

Boostraping of the second central moment

Usage

1
k2_boost(x = x, p = p, n_iter = 100, q = 0.9995, rnd = T)

Arguments

x

a numeric vector

p

fraction of numbers to select

n_iter

number of iterations

q

quantile to return from the distribution generated

rnd

logical, if TRUE the number are randomly selected

Value

In each iteration a subset from the vector x is selected for variance computation, in this way a distribution is obtained. Then, the value returned will be the quantile selected from the variance distribution


dangulod/ECTools documentation built on May 4, 2019, 3:19 p.m.