.convert_params_geom | R Documentation |
Convert the probability (prob
) of the geometric distribution
to a number of summary statistics which can be calculated analytically given
the geometric parameter. One exception is the median which is calculated
using stats::qgeom()
as the analytical form is not always unique.
.convert_params_geom(...)
... |
< |
This conversion function assumes that distribution represents the
number of failures before the first success (supported for zero). This is
the same form as used by base R and distributional::dist_geometric()
.
A list of eight elements including: mean, median, mode,
variance (var
), standard deviation (sd
), coefficient of variation (cv
),
skewness, and excess kurtosis (ex_kurtosis
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.