Random numbers are generated with the random package or with Numpy in Python. There are several options such as a uniformly distributed sample between 0 and 1 (numpy.random.rand), a normal distributed value with mean zero (numpy.random.randn), or a random integer value (numpy.random.randint(lower,upper)) in a lower to upper range. This exercise shows how to sample a normally distribution or Poisson distribution and create a histogram bar chart of the distribution.
Course Material: https://apmonitor.com/che263/index.ph...
Github Repository (see HW04.ipynb): https://github.com/APMonitor/learn_py...
Schedule: https://apmonitor.com/che263/index.ph...
Solution Videos: https://apmonitor.com/che263/index.ph...