varBeta function

Compute variance of a beta distribution from data

Compute variance of a beta distribution from data

This is an internal function. Given a vector with values between 0 and 1 and assumed to come from a beta distribution, this function return the variance of the distribution. A trim parameter allow to have a robust value

varBeta(x, trim.opt)

Arguments

  • x: vector with components between 0 and 1
  • trim.opt: value between 0 and 0.5 used as trim parameter

Returns

This function returns one value equalt to the variance of the best beta distribution of entry x

Author(s)

Doulaye Dembele doulaye@igbmc.fr

References

Dembele D, manuscript under preparation

Examples

# data(fdata);
  • Maintainer: Doulaye Dembele
  • License: GPL (>= 2)
  • Last published: 2019-05-31

Useful links