11_PD_uniform: Uniform Distributions

Description Usage Arguments Value References See Also Examples

Description

Bivariate uniform distributions, both discrete and continuous (on closed intervals).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#discrete
dubvpmf (
    a.X, b.X, #first variable
    a.Y, b.Y) #second variable
dubvcdf (
    a.X, b.X,
    a.Y, b.Y)

#continuous
cubvpdf (
    a.X, b.X,
    a.Y, b.Y)
cubvcdf (
    a.X, b.X,
    a.Y, b.Y)

Arguments

a.X, b.X

Integers (in the discrete case) or numeric values (in the continuous case), giving the min/max possible values of X.

a.Y, b.Y

Integers (in the discrete case) or numeric values (in the continuous case), giving the min/max possible values of Y.

Value

Self-referencing S4-based function objects.

Refer to Function Objects.

References

Refer to the vignette for an overview, references, theoretical background and better examples.

See Also

Binomial, Poisson and Categorical
For other probability distributions of discrete random variables.

Normal, Bimodal, Dirichlet and Nonparametric
For other probability distributions of continuous random variables.

Main Plotting Functions

Density Matrices

Examples

1
2
3
4
5
6
7
8
f <- dubvpmf (
    1, 4, #first variable
    1, 4) #second varaible

1 / (4 * 4)

plot (f)
f (1, 1)

bivariate documentation built on April 11, 2021, 9:06 a.m.