distr (version 2.6)

UnivariateDistribution-class: Class "UnivariateDistribution"

Description

The UnivariateDistribution-class is the mother-class of the classes AbscontDistribution and DiscreteDistribution.

Arguments

Objects from the Class

Objects can be created by calls of the form new("UnivariateDistribution").

Slots

img
Object of class "Reals": the space of the image of this distribution which has dimension 1 and the name "Real Space"
param
Object of class "Parameter": the parameter of this distribution
r
Object of class "function": generates random numbers
d
Object of class "function": density function
p
Object of class "function": cumulative distribution function
q
Object of class "function": quantile function
.withArith
logical: used internally to issue warnings as to interpretation of arithmetics
.withSim
logical: used internally to issue warnings as to accuracy
.logExact
logical: used internally to flag the case where there are explicit formulae for the log version of density, cdf, and quantile function
.lowerExact
logical: used internally to flag the case where there are explicit formulae for the lower tail version of cdf and quantile function
Symmetry
object of class "DistributionSymmetry"; used internally to avoid unnecessary calculations.

Extends

Class "Distribution", directly.

Methods

initialize
signature(.Object = "UnivariateDistribution"): initialize method
dim
signature(x = "UnivariateDistribution"): returns the dimension of the support of the distribution
-
signature(e1 = "UnivariateDistribution"): application of `-' to this univariate distribution
*
signature(e1 = "UnivariateDistribution", e2 = "numeric"): multiplication of this univariate distribution by an object of class `numeric'
/
signature(e1 = "UnivariateDistribution", e2 = "numeric"): division of this univariate distribution by an object of class `numeric'
+
signature(e1 = "UnivariateDistribution", e2 = "numeric"): addition of this univariate distribution to an object of class `numeric'
-
signature(e1 = "UnivariateDistribution", e2 = "numeric"): subtraction of an object of class `numeric' from this univariate distribution
*
signature(e1 = "numeric", e2 = "UnivariateDistribution"): multiplication of this univariate distribution by an object of class `numeric'
+
signature(e1 = "numeric", e2 = "UnivariateDistribution"): addition of this univariate distribution to an object of class `numeric'
-
signature(e1 = "numeric", e2 = "UnivariateDistribution"): subtraction of this univariate distribution from an object of class `numeric'
+
signature(e1 = "UnivariateDistribution", e2 = "UnivariateDistribution"): Convolution of two univariate distributions. The slots p, d and q are approximated by grids.
-
signature(e1 = "UnivariateDistribution", e2 = "UnivariateDistribution"): Convolution of two univariate distributions. The slots p, d and q are approximated by grids.
simplifyr
signature(object = "UnivariateDistribution"): simplifies the r-method of a distribution, see there for further information
print
signature(object = "UnivariateDistribution"): returns the class of the object and its parameters
show
signature(object = "UnivariateDistribution"): as print

See Also

Parameter-class Distribution-class AbscontDistribution-class DiscreteDistribution-class Reals-class RtoDPQ simplifyr-methods