binomialbeta: Create an Object Representing a bivariate Binomial Beta...

Description Usage Arguments Value Author(s) See Also Examples

Description

Create an object representing a bivariate distribution, where the first variable is marginally Beta distributed, and the second variable is binomially distributed with probability given by the first variable.

Usage

1
binomialbeta(n, alpha, beta)

Arguments

n

the number of trials in the binomial distribution (a positive integer).

alpha

the alpha parameter of the Binomial distribution.

beta

the beta parameter of the Binomial distribution.

Value

An object of class "binomialbeta" and class "probabilitydistribution".

Author(s)

Petter Mostad <mostad@chalmers.se>

See Also

betadistribution, binomialdistribution, betabinomial

Examples

1
2
dist <- binomialbeta(10, 5.5, 12.3)
plot(dist)

lestat documentation built on May 2, 2019, 2:09 p.m.