Docsity

Foundations of Probability in Python: Normal and Poisson Distributions, Study notes of Statistical Physics

Partial preview of the text

Download Foundations of Probability in Python: Normal and Poisson Distributions and more Study notes Statistical Physics in PDF only on Docsity!

Normal distributions

F O U N D AT I O N S O F P R O B A B I L I T Y I N P Y T H O N

Alexander A. Ramírez M.

CEO @ Synergy Vision

Modeling for measures

Probability density

Probability density examples

Symmetry

Mean

Mean (Cont.)

Standard deviation

Standard deviation (Cont.)

One standard deviation

Three standard deviations

Normal sampling

# Import norm, matplotlib.pyplot, and seaborn

from scipy.stats import norm

import matplotlib.pyplot as plt

import seaborn as sns

# Create the sample using norm.rvs()

sample = norm.rvs(loc=0, scale=1, size=10000, random_state=13)

# Plot the sample

sns.distplot(sample)

plt.show()

Let's do some

exercises with

normal distributions

Normal probabilities

F O U N D AT I O N S O F P R O B A B I L I T Y I N P Y T H O N

Alexander A. Ramírez M.

CEO @ Synergy Vision