Canonical_Mixture_Distribution: The Canonical_Mixture_Distribution class

Canonical_Mixture_DistributionR Documentation

The Canonical_Mixture_Distribution class

Description

A class that represents a univariate mixture of different instances of a canonical distribution (the same distribution, but with different parameters)

Slots

name

A short, descriptive name for the distribution

n.components

The number of component distributions in this mixture

weights

The weights for the component distributions in the mixture (sum(weights)=1)

density.function.name,cdf.function.name,quantile.function.name

Names of the (elsewhere defined) functions that calculate density, cdf, and quantiles (eg 'dnorm', 'pnorm', and 'qnorm)

parameters

A list of vectors; each element of the list represents a parameter to the distribution, and the values of the vector represent the parameter values for each component of the mixture

p.in.bounds,log.p.in.bounds

A vector cumulative probabilities and of the log cumulative probabilities between the lower and upper bounds for each component of the mixture

p.lower.bound

A vector of values of the cdf evaluated at the lower bound for each components of the distribution

transformation

An object of class transformation, defining the transformation applied to the variable before applying the distribution (eg, )

means,variances

If known, the means and variances of each component of the distribution. May be NA

See Also

The family of functions that create specific mixture distributions, such as normal.mixture


tfojo1/distributions documentation built on July 27, 2024, 3:29 p.m.