dbldatagen.distributions.normal_distribution module

This file defines the Normal / Gaussian statistical distributions related classes

class Normal(mean, stddev)[source]

Bases: DataDistribution

generateNormalizedDistributionSample()[source]

Generate sample of data for distribution

Returns:

random samples from distribution scaled to values between 0 and 1

static normal_func(mean_series: Series, std_dev_series: Series, random_seed: Series) Series[source]

Pandas / Numpy based function to generate normal / gaussian samples

Parameters:
  • mean_series – pandas series of mean values

  • std_dev_series – pandas series of standard deviation values

  • random_seed – pandas series of random seed values

Returns:

Samples scaled from 0 .. 1

classmethod standardNormal()[source]

return instance of standard normal distribution