Description Usage Arguments Details Value Examples
The log likelihood of a negative binomial density with data, x, size, prob and mu parameters.
1 |
x |
vector of (non-negative integer) quantiles. |
size |
target for number of successful trials, or dispersion parameter (the shape parameter of the gamma mixing distribution). Must be strictly positive, need not be integer. |
prob |
probability of success in each trial. |
mu |
alternative parametrization via mean: see ‘Details’. |
log |
logical; if TRUE, probabilities p are given as log(p). |
The log likelihood is the log of a function of parameters given the data.
A numeric scalar for the log likelihood of the negative binomial density given the data where size, prob, and mu can be held constant or if vector were given vector will be returned.
1 2 |
[1] -4.999611
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.