Skip to main content
HomePython

Monte Carlo Simulations in Python

4.5+
12 reviews
Intermediate

Learn to design and run your own Monte Carlo simulations using Python!

Start Course for Free
4 hours15 videos52 exercises5,851 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

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.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Introduction to Monte Carlo Simulations

    Free

    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.

    Play Chapter Now
    What is a Monte Carlo simulation?
    50 xp
    Deterministic simulation
    100 xp
    Stochastic nature of Monte Carlo simulation
    100 xp
    The Law of Large Numbers
    100 xp
    Resampling as a special type of Monte Carlo simulation
    50 xp
    Sampling with replacement
    100 xp
    Visualization of resampling results
    100 xp
    Permutation practice
    100 xp
    Leveraging Monte Carlo simulations
    50 xp
    Understanding Monte Carlo simulations
    100 xp
    Paired dice simulation
    100 xp
  2. 3

    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.

    Play Chapter Now
  3. 4

    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!

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Diabetes Factors and Outcomes

collaborators

Collaborator's avatar
Zhaojie Zhang
Collaborator's avatar
Maham Khan
Collaborator's avatar
James Chapman

prerequisites

Sampling in Python
Izzy Weber HeadshotIzzy Weber

Data Coach at iO-Sphere

Izzy is a Data Coach at iO-Sphere. She discovered a love for data during her seven years as an accounting professor at the University of Washington. She holds a masters degree in Taxation and is a Certified Public Accountant. Her passion is making learning technical topics fun.
See More

Don’t just take our word for it

*4.5
from 12 reviews
67%
25%
8%
0%
0%
Sort by
  • Scott T.
    3 months

    The instruction was very clear and concise.

  • Jason B.
    7 months

    Great Introduction with specific examples

  • Francis B.
    8 months

    Excellent course! Very well put together!

  • David N.
    about 1 year

    I liked the knowledge gained from the course

  • Artur P.
    about 1 year

    .

"The instruction was very clear and concise."

Scott T.

"Great Introduction with specific examples"

Jason B.

"Excellent course! Very well put together!"

Francis B.

Join over 15 million learners and start Monte Carlo Simulations in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.