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:
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.
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.