June 2015
Beginner
348 pages
8h 44m
English
We will generate random values that mimic a normal distribution and analyze the generated data with statistical functions from the scipy.stats package.
scipy.stats package:generated = stats.norm.rvs(size=900)
print("Mean", "Std", stats.norm.fit(generated))The mean and standard deviation appear as follows:
Mean Std (0.0071293257063200707, 0.95537708218972528)
Read now
Unlock full access