Simulation basics

Statistical Simulation in Python

Tushar Shanker

Data Scientist

Simulations

Framework for modeling real-world events.

  • Characterized by repeated random sampling.
Statistical Simulation in Python

Simulations

Framework for modeling real-world events.

  • Characterized by repeated random sampling.
  • Gives us an approximate solution.
Statistical Simulation in Python

Simulations

Framework for modeling real-world events.

  • Characterized by repeated random sampling.
  • Gives us an approximate solution.
  • Can help solve complex problems.
Statistical Simulation in Python

Simulation steps

  1. Define possible outcomes for random variables.
  2. Assign probabilities.
  3. Define relationships between random variables.
Statistical Simulation in Python

Simulation steps

  1. Define possible outcomes for random variables.
  2. Assign probabilities.
  3. Define relationships between random variables.
  4. Get multiple outcomes by repeated random sampling.
  5. Analyze sample outcomes.
Statistical Simulation in Python

Simulating the dice game

Dice Game Simulation

Statistical Simulation in Python

Simulating the dice game

Dice Game Simulation

Statistical Simulation in Python

Simulating the dice game

Dice Game Simulation

Statistical Simulation in Python

Let's practice!

Statistical Simulation in Python

Preparing Video For Download...