.convert_params_nbinom {epiparameter} | R Documentation |
Convert parameters of the negative binomial distribution to summary statistics
Description
Convert the probability (prob
) and dispersion parameters of
the negative binomial distribution to a number of summary statistics which
can be calculated analytically given the negative binomial parameters.
One exception is the median which is calculated using qnbinom()
as no
analytical form is available.
The parameters are prob
and dispersion
(which is also commonly
represented as r).
Usage
.convert_params_nbinom(...)
Arguments
... |
< |
Value
A list of eight elements including: mean, median, mode,
variance (var
), standard deviation (sd
), coefficient of variation (cv
),
skewness, and ex_kurtosis.
[Package epiparameter version 0.4.1 Index]