Not long ago a friend of mine has been obsessed over lottery. He found a dataset of past lottery winning combinations and somehow thinks he can find the sense behind these combinations.

While I don’t share his wild and bold imagination, I believe it is great to exhibit just how unpractical it is people betting for lottery. Therefore, I obtained the **4D result checker** dataset from Sports Toto Malaysia Sdn Bhd. It contains 25 years of data from 1992 approximately 2017. It records every combination that was picked in each draw, such as the first prize, second prize, third prize, 10 special prizes and 10 consolation prizes.

Through the TreeMap chart, we see a combination 4267 does appear more times than a lot of the combination pool, with a total appearance of 26 times. Strange. Toggling the regularity filter control underneath the TreeMap to exhibit combination with lower frequency, we will see that most combinations just have a low to average frequency. Is 4267 a real favored number? Are we actually onto something?

Now exploring the Bar Chart, let’s toggle the Year filter control to reveal highest frequency in recent five years. It demonstrates that from 2012, the combination 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 learn by far the most frequent combinations in year 2017. Exactly what do we see? Or rather, exactly what do we not see? Because now, 4267 is not really in the bar chart anymore!

You don’t trust me? Let’s toggle the best X Frequency filter control in the right. Moving the slider off to the right provides us more bars inside the chart. Let’s move it off to the right, and see if 4267 is hiding inside the back. Can you see it? Because I certainly don’t.

Maybe this is because of the fact that it is now only August 2017 and 4267 might still come during the next many months. Well, if you feel so, let’s proceed to the Highlight Table. This table shows the distribution of each and every combination inside an organized tabular format. Darker color indicates higher frequency. Remember that, this table may be filtered utilizing the same filter control since the TreeMap chart. Can you see any pattern? No? Perhaps you should toggle the frequency filter to get a bit to incorporate combinations with lfbbbs frequency. Does it look like they follow some sort of pattern? Does a small group of frequent combinations cluster together? Because in my opinion, the distribution looks quite even. There is not any tendency for several combinations to show up in a specific cluster or group.

As being a conclusion, I even calculated the probability to win in a Sports Toto 4D lottery. There exists a total of 10000 possible combination in each draw, and there are just 23 winning combinations. In the event you bet using any random number in every draw, the probability that you could win the prizes, is only .23%, that is less than one (1) percent!

So, how come you try? Disclaimer: This project is strictly educational. The final results obtained and examples utilized in this project really should not be accountable for your behavior. We do not let the behavior of gaming and therefore will never be responsible of your action.