Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

DataCamp

Monte Carlo Simulations in Python

via DataCamp

Overview

DataCamp Flash Sale:
50% Off - Build Data and AI Skills!
Grab it
Learn to design and run your own Monte Carlo simulations using Python!

Simulate Outcomes with SciPy and NumPy


This practical course introduces Monte Carlo simulations and their use cases. Monte Carlo simulations are used to estimate a range of outcomes for uncertain events, and Python libraries such as SciPy and NumPy make creating your own simulations fast and easy!



Apply New Skills in a Principled Simulation


As you learn each step of creating a simulation, you’ll apply these skills by performing a principled Monte Carlo simulation on a dataset of diabetes patient outcomes and use the results of your simulation to understand how different variables impact diabetes progression.



Learn How to Assess and Improve Your Simulations


You’ll review probability distributions and understand how to choose the proper distribution for use in your simulation, and you’ll discover the importance of input correlation and model sensitivity analysis. Finally, you’ll learn to communicate your simulation findings using the popular Seaborn visualization library.

Syllabus

  • Introduction to Monte Carlo Simulations
    • What are Monte Carlo simulations and when are they useful? After covering these foundational questions, you’ll learn how to perform simple simulations such as estimating the value of pi. You’ll also learn about resampling, a special type of Monte Carlo Simulation.
  • Foundations for Monte Carlo
    • Now that you can run your own simple simulations, you’re ready to explore real-world application of Monte Carlo simulations across various industries. Then, you’ll dive into the heart of what makes a good simulation work: sampling from the correct probability distribution. You’ll learn about probability distributions for discrete, continuous, and multivariate random variables.
  • Principled Monte Carlo Simulation
    • Once you’re comfortable with your choice of probability distribution, you’re ready to follow a principled Monte Carlo simulation workflow using a dataset of diabetes patient characteristics and outcomes. You will explore the data, perform a simulation, and generate summary statistics to communicate your simulation results.
  • Model Checking and Results Interpretation
    • Discover how to evaluate your Monte Carlo models and communicate the results with easy-to-read visualizations in Seaborn. Finally, use sensitivity analysis to understand how changes to model inputs will impact your results, and practice this concept by simulating how business profits are impacted by changes to sales and inflation!

Taught by

Izzy Weber

Reviews

4.6 rating at DataCamp based on 12 ratings

Start your review of Monte Carlo Simulations in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.