DiscreteMVDistribution-class

0th

Percentile

Discrete Multivariate Distributions

The class of discrete multivariate distributions.

Keywords
distribution
Objects from the Class

Objects can be created by calls of the form new("DiscreteMVDistribution", ...). More frequently they are created via the generating function DiscreteMVDistribution.

Extends

Class "MultivariateDistribution", directly. Class "Distribution", by class "MultivariateDistribution".

concept

  • multivariate distribution
  • discrete distribution
  • S4 distribution class

See Also

Distribution-class, MultivariateDistribution-class, DiscreteMVDistribution, E-methods

Aliases
  • DiscreteMVDistribution-class
  • support,DiscreteMVDistribution-method
Examples
(D1 <- new("MultivariateDistribution")) # Dirac measure in (0,0)
r(D1)(5)

(D2 <- DiscreteMVDistribution(supp = matrix(c(1:5, rep(3, 5)), ncol=2, byrow=TRUE)))
support(D2)
r(D2)(10)
d(D2)(support(D2))
p(D2)(lower = c(1,1), upper = c(3,3))
q(D2)
param(D2)
img(D2)

e1 <- E(D2) # expectation
Documentation reproduced from package distrEx, version 1.9, License: GPL (version 2 or later)

Community examples

Looks like there are no examples yet.