Myślenie statystyczne w Pythonie (część 1)
Justin Bois
Teaching Professor at the California Institute of Technology



_ = plt.plot(total_votes/1000, dem_share,
marker='.', linestyle='none')
_ = plt.xlabel('total votes (thousands)')
_ = plt.ylabel('percent of vote for Obama')




$$covariance = \frac{1}{n}\sum_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})$$
$$\rho = \text{korelacja Pearsona} = \frac{\text{kowariancja}}{(\text{odch. std. x}) (\text{odch. std. y})}$$
$$= \frac{\text{zmienność wynikająca ze współzależności}}{\text{zmienność niezależna}}$$

Myślenie statystyczne w Pythonie (część 1)