eff.cont-class function

Class eff.cont

Class eff.cont

This is the base S3 class for all continuous effectiveness distributions, which is itself a subclass of eff. Function effCont_new is the constructor of the class.

effCont_new(mean, var, df, x = NULL)

Arguments

  • mean: the expected value of the distibution.
  • var: the variance of the distribution.
  • df: the effective degrees of freedom of the distribution.
  • x: the sample of effectiveness scores used to fit the distribution. Defaults to NULL.

Returns

an object of class eff.cont, with the following components:

meanthe expected value.
varthe variance.
dfthe degrees of freedom (effective number of parameters) for model selection .
datathe sample data used to fit the distribution, or NULL if none.
modela list with the family-specific data.

Details

A new distribution family is expected to build new objects through this constructor, and they must implement methods deff, peff, qeff and reff.

See Also

effCont for a list of currently implemented distribution families, effContFit to fit distributions, and effCont-helper for helper functions.

For discrete distributions, see eff.disc.

  • Maintainer: Julián Urbano
  • License: MIT + file LICENSE
  • Last published: 2018-06-15