StatDist
StatDist#
- class relsad.StatDist.StatDist(stat_dist_type: relsad.StatDist.StatDist.StatDistType, parameters: collections.namedtuple)[source]#
Utility class for statistical distributions in relsad
…
- stat_dist_type#
Type of statistical distribution
- Type
- parameters#
Statistical distribution parameters
- Type
namedtuple
- draw(random_instance, size)[source]#
Returns array of drawn instances of the statistical distribution of given size
- plot(ax, x, color)[source]#
StatDist.draw(random_instance[, size])Returns array of drawn instances of the statistical distribution of given size
StatDist.get_pdf(x)Returns the probability distribution function of the statistical distribution
StatDist.histplot(ax[, n_points, n_bins])Plots the statistical distribution in a normalized histogram
StatDist.plot(ax, x[, color, label])Plots the statistical distribution in the provided axis