Description Usage Arguments Value References Examples
The function randomly generates values from the flexible beta-binomial distribution.
1 |
n |
the number of observations. If |
size |
the total number of trials. |
mu |
the mean parameter. It must lie in (0, 1). |
theta |
the overdispersion parameter. It must lie in (0, 1). |
phi |
the precision parameter. It is an alternative way to specify the |
p |
the mixing weight. It must lie in (0, 1). |
w |
the normalized distance among clusters. It must lie in (0, 1). |
A vector of length n
.
Ascari, R., Migliorati, S. (2021). A new regression model for overdispersed binomial data accounting for outliers and an excess of zeros. Statistics in Medicine, 40(17), 3895–3914. doi:10.1002/sim.9005
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.