dot-convert_summary_stats_geom: Convert summary statistics to parameters of the geometric...

.convert_summary_stats_geomR Documentation

Convert summary statistics to parameters of the geometric distribution

Description

Convert summary statistics of the geometric distribution the parameter (prob) of the geometric distribution.

Usage

.convert_summary_stats_geom(...)

Arguments

...

<dynamic-dots> Numeric named summary statistics used to convert to parameter(s). An example is the mean and sd summary statistics for the lognormal (lnorm) distribution.

Details

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().

Value

A list of one element, the probability parameter.


epiparameter documentation built on April 3, 2025, 5:50 p.m.