pydit.statistics.simulation.Simulation

class pydit.statistics.simulation.Simulation(mean=None, std_dev=None, lower_bound=None, upper_bound=None, probability=None, seed=None)[source]

Bases: object

convenience class to generate parametrised distributions

Methods

generate

generate simulation, by default uses normal distribution

plot

plot the histogram of the samples

plot_log_scale

plot the histogram of the samples in log scale

statistics

returns a dictionary with all the statistics

generate(size=1, random_series=None)[source]

generate simulation, by default uses normal distribution

plot(bins=100)[source]

plot the histogram of the samples

plot_log_scale()[source]

plot the histogram of the samples in log scale

statistics()[source]

returns a dictionary with all the statistics