📈 Frequency Analyzer

Digit frequency analysis (0-9) — pick a prize type + time window

Analyze the frequency of digits 0-9 in Thai Government Lottery results — view a digit × position heatmap, aggregate counts across all positions, or full-number repeats. Covers First Prize, Last 2 Digits, Last 3 Digits, First 3 Digits with selectable windows (30/60/180/365 draws or all).

This page shows how often each digit appears over the selected time window. You can switch between three view modes and pick a prize type (First Prize, Last 2, etc.) plus a window (30/60/180/365 draws or all).

How to read the heatmap

The heatmap has columns = positions 1-6 (First Prize has six digits, left to right) and rows = digits 0-9. Darker cells mean that digit appeared more often in that position; lighter cells mean less. Use it to spot standouts like "digit 7 is dominant in position 3".

The three view modes
  • By Position — the digit × position heatmap for the chosen prize. Best for finding which digit dominates each slot.
  • Aggregate — rolls every position together so you see which digit (0-9) is most frequent overall, ignoring position.
  • Full Number — counts whole numbers (e.g. "123456") that repeat. Useful for short prizes (Last 2, Last 3); for First Prize (6 digits) repeats are practically zero.

The scope (prize type + window) affects every mode — change the window and the numbers shift, because you are looking at a different slice of history.

📍 This page is step 2 of 📊 Just Explore Stats — 30+ Years View full guide