eff.cont-class {simIReff}R Documentation

Class eff.cont

Description

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.

Usage

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.

Details

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

Value

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

mean the expected value.
var the variance.
df the degrees of freedom (effective number of parameters) for model selection.
data the sample data used to fit the distribution, or NULL if none.
model a list with the family-specific data.

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.


[Package simIReff version 1.0 Index]