Introducere în distribuția normală

Gândire statistică în Python (Partea 1)

Justin Bois

Teaching Professor at the California Institute of Technology

Distribuția normală

  • Descrie o variabilă continuă cu un PDF simetric cu un singur vârf.
Gândire statistică în Python (Partea 1)

Distribuția normală

ch4-2.004.png

Gândire statistică în Python (Partea 1)

Distribuția normală

ch4-2.005.png

Gândire statistică în Python (Partea 1)

Distribuția normală

ch4-2.006.png

Gândire statistică în Python (Partea 1)

Distribuția normală

ch4-2.007.png

Gândire statistică în Python (Partea 1)

Distribuția normală

ch4-2.008.png

Gândire statistică în Python (Partea 1)

ch4-2.009.png

Gândire statistică în Python (Partea 1)

ch4-2.010.png

Gândire statistică în Python (Partea 1)

Compararea datelor cu o PDF normală

ch4-2.012.png

Gândire statistică în Python (Partea 1)

Verificarea normalității datelor Michelson

import numpy as np
rng = np.random.default_rng()
mean = np.mean(michelson_speed_of_light)
std = np.std(michelson_speed_of_light)
samples = rng.normal(mean, std, size=10000)
x, y = ecdf(michelson_speed_of_light)
x_theor, y_theor = ecdf(samples)
Gândire statistică în Python (Partea 1)

Verificarea normalității datelor Michelson

import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
_ = plt.plot(x_theor, y_theor)
_ = plt.plot(x, y, marker='.', linestyle='none')
_ = plt.xlabel('speed of light (km/s)')
_ = plt.ylabel('CDF')
plt.show()
Gândire statistică în Python (Partea 1)

Verificarea normalității datelor Michelson

ch4-2.029.png

Gândire statistică în Python (Partea 1)

Să exersăm!

Gândire statistică în Python (Partea 1)

Preparing Video For Download...