+ Reply to Thread
Results 1 to 2 of 2

Monte Carlo Simulation

  1. #1
    Registered User
    Join Date
    06-16-2020
    Location
    PA
    MS-Off Ver
    2016
    Posts
    1

    Monte Carlo Simulation

    I created a Monte Carlo simulation for a sports league.

    The singular simulation works perfectly fine on its own. The sim that the Monte Carlo sim is going to be based on.

    In the singular sim

    Team 1 wins 12
    Team 2 wins 14
    Team 3 wins 10
    Team 4 wins 8
    Team 5 wins 10
    Team 6 wins 6

    When I run the thousands of sims is where the issue comes up. Each individual one is fine. The issue I am having is, how do I get each sim to involve each team?

    For example
    In sim #1
    Team 1 wins 13
    Team 2 wins 7
    Team 3 wins 13
    Team 4 wins 8
    Team 5 wins 11
    Team 6 wins 10

    Each individual win total is fine but when added up would not create a possible season. Numbers should always equal 60. So how do I get each line of the sim to account for what the other teams did?

    I hope I explained that well enough. Please feel free to ask if it didnt make sense.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Monte Carlo Simulation

    Not sure I fully understand what you are trying to do, but it reminded me of this discussion a few weeks ago: https://www.excelforum.com/excel-for...-data-set.html In this case, the OP gave a set of normalized percentages (so all of the percentages added up to 100%) and a target sum, then wanted integers that added up to that sum and closely matched the given percentages. User Joeu2004 proposed a solution that seemed to work. In your case, have your simulation generate a fraction of the 60 wins for each team rather than the actual number of wins, then use this solution to compute how many wins out of 60 that each team gets.

    Ultimately, the question probably boils down to what kind of algorithm do you want to use to do this. If you have no idea what kind of algorithm to use, review the one from the previous discussion. If you had a different algorithm in mind, help us understand the algorithm, then we can help you program that algorithm into Excel.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Monte Carlo Simulation
    By Chanut in forum Excel General
    Replies: 4
    Last Post: 03-18-2019, 03:23 AM
  2. [SOLVED] Monte Carlo Simulation
    By nav505 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2013, 11:49 AM
  3. Monte Carlo Simulation
    By sajeel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2011, 04:28 PM
  4. Monte Carlo Simulation
    By iamnamja in forum Excel General
    Replies: 4
    Last Post: 08-24-2011, 02:39 PM
  5. Monte Carlo Simulation
    By wmfinance in forum Excel General
    Replies: 3
    Last Post: 07-13-2010, 01:33 PM
  6. Monte Carlo Simulation
    By Phedwards in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2007, 07:30 PM
  7. monte carlo simulation
    By unique in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2005, 10:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1