0/70 completed
Statistical Models Interactive

Monte Carlo Simulation

Use random sampling to understand complex systems. Simulate thousands of scenarios to estimate probabilities, risks, and expected outcomes.

๐Ÿ“Š Why Monte Carlo?

๐ŸŽฒ

Random Sampling

Generate many random scenarios

๐Ÿ“ˆ

Distribution

See full range of possible outcomes

๐Ÿ“Š

Risk Metrics

Calculate VaR, bust rate, percentiles

Simulation Parameters

# Simulations 1000
100 5000
Win Probability (%) 55
40 60
Bet Size ($) 100
50 200
# Bets per Season 50
20 100

๐Ÿ“Š Simulation Results

Mean Outcome $1469
Std Dev $690
5th / 95th %ile $400 / $2600
Bust Rate 1.2%
Profit Rate 69.1%

Sample Bankroll Paths

Each line is one possible future. Wide spread = high variance.

Final Outcome Distribution

Min: $-400
Median: $1400
Max: $4000

๐ŸŽฐ Monte Carlo in Betting

Bankroll Risk

Simulate ruin probability under different bet sizing

Parlay Pricing

Simulate correlated outcomes to price multi-leg bets

Season Sims

Project win totals and playoff odds

Player Props

Simulate game flow to project stats

R Code Equivalent

# Monte Carlo betting simulation
monte_carlo_betting <- function(n_sims, win_prob, bet_size, n_bets, bankroll = 1000) { 
  outcomes <- replicate(n_sims, { 
    wins <- rbinom(n_bets, 1, win_prob)
    profit <- sum(ifelse(wins == 1, bet_size, -bet_size))
    bankroll + profit
  })
  
  list(
    mean = mean(outcomes),
    sd = sd(outcomes),
    median = median(outcomes),
    p5 = quantile(outcomes, 0.05),
    p95 = quantile(outcomes, 0.95),
    bust_rate = mean(outcomes <= 0),
    profit_rate = mean(outcomes > bankroll)
  )
}

result <- monte_carlo_betting(1000, 0.55, 100, 50)
cat(sprintf("Mean: $%.0f, Bust: %.1f%%, Profit: %.1f%%\n", 
    result$mean, result$bust_rate * 100, result$profit_rate * 100))

โœ… Key Takeaways

  • โ€ข Monte Carlo: simulate many random scenarios
  • โ€ข Get full distribution, not just expected value
  • โ€ข Essential for risk metrics (VaR, bust rate)
  • โ€ข More simulations = more accurate estimates
  • โ€ข Can model correlations and path dependence
  • โ€ข Variance matters as much as mean

Pricing Models & Frameworks Tutorial

Built for mastery ยท Interactive learning