binomialbeta {lestat} | R Documentation |
Create an Object Representing a bivariate Binomial Beta Distribution
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
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
dist <- binomialbeta(10, 5.5, 12.3)
plot(dist)
[Package lestat version 1.9 Index]