{"id":16321,"date":"2016-05-29T23:49:36","date_gmt":"2016-05-29T23:49:36","guid":{"rendered":"https:\/\/ygorganization.com\/?p=16321"},"modified":"2016-06-01T12:23:41","modified_gmt":"2016-06-01T12:23:41","slug":"maths1","status":"publish","type":"post","link":"https:\/\/ygorganization.com\/staging\/?p=16321","title":{"rendered":"Demystifying Probability"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Probability is undeniably important to deck-building as well as playing. This article aims to provide the tools needed to start making key calculations.<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400\">You may be relieved to read that this article will not go into the maths itself. Instead, all of the calculations today will be done by the new <\/span><a href=\"http:\/\/www.yugioh.party\" target=\"_blank\"><span style=\"font-weight: 400\">Yugioh Deck Probability Calculator<\/span><\/a><span style=\"font-weight: 400\">, created by Rustywolf and I!<\/span><\/p>\n<p><span style=\"font-weight: 400\">Let\u2019s see an example of its use. Suppose we want to find the probability of opening at least 1 Edea or Eidos (and we run 3 of each), as well as at least 1 Monarch out of 10. We can say we have a 39 card deck due to Upstart Goblin, and if we\u2019re starting first, we have a hand of 5 cards.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Let\u2019s put all of this into the calculator. (Handy tip: you can use the up and down arrow keys on your keyboard to change the numbers in the boxes as well).<\/span><\/p>\n<p><a href=\"http:\/\/prnt.sc\/b701hf\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b701hf<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">44% means that we can expect to draw this combination roughly 44 times out of 100 games. <\/span><\/p>\n<p><span style=\"font-weight: 400\">If we want to work out exactly how many games a probability corresponds to, we can just ask Google. If we type in \u201c44% of 25\u201d it calculates it to be 11 games out of 25 (which is roughly the number of games in a 10 round tournament). <\/span><\/p>\n<p><span style=\"font-weight: 400\">Now, probability is not exact. It only tells us what to expect over a large number of games. We might go through 10 games and never draw the above combo, or we might get the above combo 10 games in a row. But this should happen very rarely, and if we were to play a large enough number of games, we\u2019d see that the number of times we draw the combo will line up closely to what the odds indicate.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Let\u2019s see another example. Suppose we\u2019re wondering whether it\u2019s worth running Allure in a 40 card deck with 5 DARK monsters. It\u2019d be good to know how often it\u2019s going to be dead.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Let\u2019s put it into the calculator. Allure is dead when we draw 1 Allure but 0 Darks:<\/span><\/p>\n<p><a href=\"http:\/\/prnt.sc\/b704f9\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b704f9<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">7%. How does that compare to the number of times it\u2019ll be live?<\/span><\/p>\n<p><a href=\"http:\/\/prnt.sc\/b704w6\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b704w6<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">This confirms what we might have suspected: with only 5 Darks, Allure will be dead more often that it will be live (in the opening hand). This suggests that we should either cut Allure or try running more Darks. We can also use the calculator to modify the number of Darks we have in the deck and explore how the odds change.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Now let\u2019s take a look at a more complicated situation. Suppose we want to know the probability of opening both an Upper scale and a Lower scale in our (or our opponent\u2019s!) 40-card Performapal deck. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Let\u2019s say we have:<\/span><\/p>\n<p><span style=\"font-weight: 400\">10 Lower scales<br \/>\n<\/span><span style=\"font-weight: 400\">7 Upper scales<br \/>\n<\/span><span style=\"font-weight: 400\">3 Performapal Skullcrobat Joker<\/span><\/p>\n<p><span style=\"font-weight: 400\">Performapal Skullcrobat Joker counts as either scale, since he can search either on a Normal Summon. (We will also assume for this example he could be placed as a scale himself if needed, so if we get two of them, we can set one of them and search a Lower scale with the other).<\/span><\/p>\n<p><span style=\"font-weight: 400\">Joker complicates things. We cannot simply add 3 to both the number of Lower and Upper scales to account for him. Instead, we have to think a little about the possible ways there are to get both a lower and upper scale.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Case 1: We draw no Jokers, at least 1 Upper scale, and at least 1 Lower scale.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Case 2: We draw exactly 1 Joker, and at least 1 Upper or Lower scale<\/span><\/p>\n<p><span style=\"font-weight: 400\">Case 3: We draw 2 or more Jokers.<\/span><\/p>\n<p><span style=\"font-weight: 400\">We can now calculate each of these probabilities individually, and then add them together to get our final answer.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Note that the cases above don\u2019t overlap, because they all have different numbers of Jokers in them. If they did overlap, we couldn\u2019t add the probabilities to get a sensible answer.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Case 1: <\/span><a href=\"http:\/\/prnt.sc\/b9ynad\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b9ynad<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Case 2: <\/span><a href=\"http:\/\/prnt.sc\/b9ytt7\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b9ytt7<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Case 3: <\/span><a href=\"http:\/\/prnt.sc\/b9yr8t\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b9yr8t<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Adding them up, we get our answer of 66.22% (which, incidentally is close to 2 out of 3, an important threshold when playing a match)<\/span><\/p>\n<p><span style=\"font-weight: 400\">The moral of this situation is that probability can be quite delicate. We need to think carefully about the hands we want and split them into cases we can use the calculator for. And call me crazy, but it\u2019s actually quite fun. It\u2019s maths, but it\u2019s got a very Yugioh feel to it, because you\u2019re thinking carefully about what kind of hands you want to draw and what the best way to categorise them is.<\/span><\/p>\n<p><span style=\"font-weight: 400\">There are a few techniques that can be used to troubleshoot . Here are some questions I like to ask myself when calculating things, which lets me catch problems with the maths or its use before I move on with my calculations.<\/span><\/p>\n<p><b>Do my cases overlap?<br \/>\n<\/b><span style=\"font-weight: 400\">The above scenario was an example of a case where we had to be careful with this.<\/span><\/p>\n<p><b>Have I missed out any possibilities?<br \/>\n<\/b><span style=\"font-weight: 400\">As another example, one might calculate the odds of drawing exactly 1 Wind-Up Magician and exactly 1 Wind-Up Shark (back in the Wind-Up format), and get a figure of 11.6%. However, a hand of at least 1 Magician and at least 1 Shark can combo just as well. <\/span><\/p>\n<p><a href=\"http:\/\/prnt.sc\/b706bf\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b706bf<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">The odds of drawing at least 1 Magician and at least 1 Shark is 13.90%. <\/span><\/p>\n<p><b>Have I counted too many possibilities?<br \/>\n<\/b><span style=\"font-weight: 400\">In the above example, it turns out we need Wind-Up Magician in the Deck for the Wind-Up Combo to work. So we actually need to limit the number of Magicians we want to draw down to 2 instead of 3. <\/span><\/p>\n<p><a href=\"http:\/\/prnt.sc\/b70660\" target=\"_blank\"><span style=\"font-weight: 400\">http:\/\/prnt.sc\/b70660<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">The chance of drawing what we want ends up dropping slightly to 13.86%.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In this example that doesn\u2019t make a big difference (0.04% corresponds to 4 games in every 10,000) but in other articles we will see more calculations in which we need to be wary of overcounting.<\/span><\/p>\n<p><b>Might my opponent factor into things?<br \/>\n<\/b><span style=\"font-weight: 400\">You might want to factor in vulnerability to the opponent\u2019s traps and hand traps.<\/span><\/p>\n<p><span style=\"font-weight: 400\">For example, one can calculate the odds of an opponent drawing into at least 1 of their 3 sided Ghost Reaper and Winter Cherries or 3 Maxx \u201cC\u201d:<\/span><\/p>\n<p><a href=\"http:\/\/prnt.sc\/b9zi52\" target=\"_blank\">http:\/\/prnt.sc\/b9zi52<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Yikes, that\u2019s more than half the time. If you\u2019re a BA player, this is something important to be aware of.<\/span><\/p>\n<p><b>What about my other turns?<br \/>\n<\/b><span style=\"font-weight: 400\">In general a game isn\u2019t just decided by whether you draw a single combo in the opening hand or not, and most games will span several turns, in which time you will draw lots of cards and thin your deck out. This means that if you\u2019re looking for the chance of drawing into a combo at some point in the game, then the odds could be considerably higher than they are for just opening the combo. <\/span><\/p>\n<p><span style=\"font-weight: 400\">But the maths becomes rough and complicated very quickly, as the possibilities explode due to the sheer number of different moves that you and your opponent can make. The more we don\u2019t take into account, the less accurate and reliable our calculations become.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Quiz time!<br \/>\n<\/b><span style=\"font-weight: 400\">Use the <\/span><a href=\"http:\/\/yugioh.party\/\"><span style=\"font-weight: 400\">calculator<\/span><\/a><span style=\"font-weight: 400\"> (or don\u2019t!) to answer the following questions.<\/span><\/p>\n<p><span style=\"font-weight: 400\">(1) Say you have a 40 card deck and a 6 card hand, and you run 3 copies of MST. What is the probability of opening at least 1 copy in the first turn? Roughly how often is this?<\/span><\/p>\n<p><span style=\"font-weight: 400\">(2) How do the above answers change for the starting player now that he only opens with 5 cards? (You may also replace \u201cMST\u201d with \u201cTwin Twister\u201d if you like.) <\/span><\/p>\n<p><span style=\"font-weight: 400\">(3) In how many games of an <\/span><b>8 <\/b><span style=\"font-weight: 400\">round tournament would you expect to open MST (or Twin Twister) if you always go second (so your opening hand is 6 cards)? <\/span><\/p>\n<p><span style=\"font-weight: 400\">(4) In a 40 card deck and a 6 card opening hand, what is the chance of drawing at least 1 card out of 8 cards? Is this a good figure? (This is known as Jordan\u2019s 8\/40 Rule).<\/span><\/p>\n<p><span style=\"font-weight: 400\">(5) How does the above answer change for a 5 card opening hand? Is Jordan\u2019s 8\/40 Rule still useful?<\/span><\/p>\n<p><span style=\"font-weight: 400\">Answers:<\/span><\/p>\n<p><span style=\"font-weight: 400\"><details class=\"wp-block-inline-spoilers-block\"><summary>Spoiler<\/summary>\n<p><span style=\"font-weight: 400\">(1) 39.43% is our answer. roughly 4 games out of 10.<\/span><\/p>\n<p><span style=\"font-weight: 400\">(2) \u00a0We drop the opening hand size by 1 and get our next answer: 33.76%. This is roughly 1 game out of 3.<\/span><\/p>\n<p><span style=\"font-weight: 400\">(3) An 8 round tournament is 20-24 games in total, so using our answer to part 1, we expect to open MST\/Twin Twister 39.43% out of 20 to 24. Google returns this as 7.886 to 9.4632. We can round these up to whole numbers, namely 8 and 9, so we expect to open them in roughly 8 or 9 games out of the whole tournament.<\/span><\/p>\n<p><span style=\"font-weight: 400\">(4) We get a probability of 76.39%. This is about 3 games out of 4. It\u2019s not a guaranteed chance, but this is higher than our 66% threshold, so we expect it to happen roughly twice a match.<\/span><\/p>\n<p><span style=\"font-weight: 400\">(5) We get a probability of 69.40%. This is still higher than our 66% threshold at least, so I\u2019d say Jordan\u2019s 8\/40 Rule has some merit, but it\u2019s even less of a guaranteed chance than before.<\/span><\/p><\/details><\/span><\/p>\n<p><span style=\"font-weight: 400\">More maths articles are coming, so keep an eye out!<\/span><\/p>\n<p><span style=\"font-weight: 400\">Feedback and suggestions are always appreciated. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Until next time!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Probability is undeniably important to deck-building as well as playing. This article aims to provide the tools needed to start making key calculations.<\/p>\n","protected":false},"author":42,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5,25],"tags":[1332,1329,1330],"class_list":{"0":"post-16321","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-articles","7":"category-deckbuild","8":"tag-mathematician-at-1-rip","9":"tag-maths","10":"tag-probability"},"acf":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=\/wp\/v2\/posts\/16321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16321"}],"version-history":[{"count":0,"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=\/wp\/v2\/posts\/16321\/revisions"}],"wp:attachment":[{"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ygorganization.com\/staging\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}