MIE350H1 Study Guide - Final Guide: Monte Carlo Method, Central Limit Theorem, Ipython

45 views2 pages

Document Summary

Tutorial 2: clt and monte carlo simulation: an insurance company serves ve large customers. The insurance claim placed by each cus- tomer in a year is exponentially distributed with mean 200. You might nd the list of python functions at the end of this document helpful. (hint: in this question you may use the python function numpy. random. exponential(scale= , size=n) to generate n random exponential num- bers with mean . A battery is used until it depletes at which point it is replaced by a new one. You suspect if the die is fair or not. Note: the following code can be used to import the data from the excell le into python. The pd. read excel() function imports the data into python as a dataframe object and as matrix() property transforms the dataframe to a numeric array. You can download the attached tu- torial 2. ipynb jupyter (ipython) notebook which contains the code for reading the data.