Not long ago a friend of mine has been obsessed over lottery. He found a dataset of past lottery winning combinations and somehow believes he could get the logic behind these combinations.

As I don’t share his wild and bold imagination, I believe it is great to demonstrate precisely how unpractical it is people betting for lottery. Therefore, I obtained the **singapore** dataset from Sports Toto Malaysia Sdn Bhd. It contains twenty-five years of information from 1992 approximately 2017. It records every combination which had been picked in each draw, including the first prize, second prize, third prize, 10 special prizes and 10 consolation prizes.

Through the TreeMap chart, we have seen the mixture 4267 does appear more times than a lot of the combination pool, using a total appearance of 26 times. Strange. Toggling the regularity filter control below the TreeMap to exhibit conjunction with lower frequency, we will have that many combinations only have a small to average frequency. Is 4267 a real favored number? Are we actually onto something?

Now looking at the Bar Chart, let’s toggle the entire year filter control to reveal highest frequency in recent five-years. It implies that from 2012, the mixture 4267 appeared 8 times. And notably, it appeared 6 times in year 2014 alone. Rigged, you say? Perhaps. Now, we toggle the filter control again to discover probably the most frequent combinations in year 2017. Exactly what do we see? Or rather, what exactly do we not see? Because now, 4267 will not be inside the bar chart anymore!

You don’t believe me? Let’s toggle the Top X Frequency filter control on the right. Moving the slider to the correct gives us more bars inside the chart. Let’s move it off to the right, and see if 4267 is hiding within the back. Can you look at it? Because I certainly don’t.

Maybe this is because of the truth that it is now only August 2017 and 4267 might still come during the next many months. Well, if you feel so, let’s move on to the Highlight Table. This table shows the distribution of every combination in an organized tabular format. Darker color indicates higher frequency. Remember that, this table can be filtered utilizing the same filter control as the TreeMap chart. Would you see any pattern? No? Perhaps you have to toggle the frequency filter to get a bit to incorporate combinations with lfbbbs frequency. Can it appear to be they follow some sort of pattern? Does a group of frequent combinations cluster together? Because for me, the distribution looks quite even. There is absolutely no tendency for several combinations to appear in a specific cluster or group.

As a conclusion, I even calculated the probability to win in a Sports Toto 4D lottery. You will find a total of 10000 possible combination in each draw, and then there are only 23 winning combinations. If you bet using any random number in every draw, the probability that one could win any of the prizes, is just .23%, which can be under one (1) percent!

So, how come you try? Disclaimer: This project is strictly educational. The outcomes obtained and examples utilized in this project should not be accountable for your own behavior. We all do not let the behavior of gaming and for that reason is definitely not responsible of your action.