Illustrating the Central Limit Theorem Using Python and Numpy

Publié le: 31 janvier 2018
sur la chaîne: Jeffrey James
5,039
68

https://gist.github.com/jrjames83/e37...

Using numpy we generate a population distribution with non-normal characteristics (gamma family). Then by way of the random module, we take a series of samples from that distribution, computing their average each time, then plot the distribution of the averages.

The result is that the distribution of the averages is normally distributed. We then observe the mean of the normally distributed averages, is the same as the mean of the Gamma population distribution.

The upshot is that you can leverage known traits of the normal distribution now to make observations about the parent distribution.


Sur cette page du site, vous pouvez voir la vidéo en ligne Illustrating the Central Limit Theorem Using Python and Numpy durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Jeffrey James 31 janvier 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,039 fois et il a aimé 68 téléspectateurs. Bon visionnage!