The utils.probability_data module

class pylife.utils.probability_data.ProbabilityFit(probs, occurrences)[source]

Fit samples and their estimated occurrences to a lognorm distribution.

Parameters:

probsarray_like

The estimated cumulated probabilities of the sample values (i.e. estimated by func:pylife.utils.functions.rossow_cumfreqs)

occurencesarray_like

the values of the samples

property intercept

The intercept of the probability curve

property occurrences

The occurrences (sample values)

property percentiles

The calculated percentiles of the cumulated probabilities

property slope

The slope of the probability curve