.. Created by Adam Cunnningham on Sat Dec 10 2016. **Week 12: April 24 - 28** ========================== Non-Uniform Random Numbers -------------------------- The most interesting and useful probability distributions are not "uniform", although we do know an exact formula for them. We would therefore like a way to generate samples from any probability distribution. This week we develop a way to do this through an appropriate transformation of a uniform random number. Week 12 Notebook ---------------- - `View online <./Week12Notebook.html>`_ - :download:`Download <../Lessons/Week12/Week12Notebook.ipynb>` NumPy ----- - **numpy.random.randint** - **numpy.random.normal** - **numpy.random.randn** - **numpy.random.choice** - **argmin**, **argmax** Matplotlib ---------- - **axvline** - **axhline** Quiz 10: NumPy Array Operations ------------------------------- - Vectorized code - Axis-dependent operations: **sum**, **mean**, **amin**, **amax** :download:`Sample Quiz 10 <../Quizzes/Quiz10Sample.pdf>` Report 6 -------- :doc:`random_numbers`