Following libraries are imported for the task
- Numpy
- Matplotlib
In this task, 1000 samples are generated using numpy.random.poission() for 3 times and their histograms are plotted.
Mean value for poisson distribution is 100. The probabily is higher when x values approaches the mean. The skewness of the graph are neither positive or negative.
In this task, 1000 samples are generated using numpy.random.normal() for 3 times and their histograms are plotted.
Mean value for normal distribution is 100. The skewness of the graph are neither positive or negative.
In this task, average of random 100 samples is taken from the 1000 samples without replacing, repeatedly for 100 times. The average 100 averages are then plotted as histograms for both poisson and normal distribution.
The mean and standard deviation for this graph is 100 and 1 (default scale). Here in the different distributions of both poission and normal we can see that the mean and the average are similar.