Data Dunkers Banner

Probability Basics

Probability is how likely something is to happen. For example, if a player has a shot percentage of 30% that means the probability of them making a shot is 0.3.

We can simulate probability using random numbers.

Simulate Shots

%



Loading script...

Knockout (Bump) Simulation

Let's simulate a game of Knockout with NBA players from the 2024-2025 season who have a Field Goal Percentage between 51% and 52%.

packages = ["pandas", "plotly", "pyodide-http"]