get_dist_type: get_dist_type

Description Usage Arguments Details Value Examples

Description

Informs us if a distribution is discrete or continuous.

Usage

1
get_dist_type(dist_name, ...)

Arguments

dist_name

the shortened or complete name of the distribution.

Details

Current development: As of today, the list of distributions supported by the function is far from satisfactory. I just implemented a few names that I immediately needed + a few that I grabbed from wikipedia below.

Future enhancements: - Provide support for all well-known distributions. - Find a more elegant way to manage distribution aliases, shortened versions, etc.

References: - List of probability distributions, Wikipedia https://en.wikipedia.org/wiki/List_of_probability_distributions

Value

"discrete", "continuous", or an error if the distribution is unknown.

Examples

1
2
get_dist_type(dist_name="norm")
get_dist_type(dist_name="pois")

daviddoret/GRCRToolkit documentation built on May 23, 2019, 7:31 a.m.