Code School for Kids

Monte Carlo Simulation with Python

This tutorial is an introduction to Monte Carlo simulation using python and several libraries, including pandas and numpy to generate random numbers.

This video covers how to collect data from many iterations of possible ending values for a stock portfolio and how to generate descriptive statistics and visualize simulated data. The data generated can be used to make probability statements regarding future portfolio values assuming future behavior will be similar to the past.

View HTML version of the file used in the video.

Download Jupyter Notebook

More Python Videos