Univariate_Canonical_Distribution: The Univariate_Canonical_Distribution class

Univariate_Canonical_DistributionR Documentation

The Univariate_Canonical_Distribution class

Description

A class that represents a univariate canonical distribution, such as a normal or beta distribution

Slots

name

A short, descriptive name for the distribution

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 parameters that would be passed to density.function, cdf.function, and quantile.function. For example, for a normal(0,1), parameters=list(mean=0, sd=1)

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

The cumulative probability and of the log cumulative probability between the lower and upper bounds

p.lower.bound

The value of the cdf evaluated at the lower bound

transformation

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

mean.value,variance

If known, the mean and variance of the distribution. May be NA

See Also

The family of functions that create specific distributions, such as Normal.Distribution


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