In this blog I will show you how to model the P3 by way of looking at the frequecies of the right, side and back pairs using a set of 120 past draws. This is a real deep think methodology.
First download the program mailBox100.exe into a working directory from the following link:
Next create a text draw file called drawsP3.txt, which should contain the past 120 draws from the P3 lottery you are playing. The past draws file should have the latest draw on top and the oldest draw on bottom. No spaces, or other characters, and only one entry per line.
Play is always over a 20 day cycle, after which the draw file is updated. Before running the program, it's important to discuss what exactly mailBox100 does and the files it creates.
For each of five 20 day cycles, mailBox100 goes back 80 draws and looks at the pair frequencies of those eighty draws. Once the frequecies are created, it assigns a "frequency number" or "mail box number" to the 20 draws above the 80. For example: if 838 was drawn within a cycle of 20 draws and was assigned the mail box number 202, it would mean that based on the pair frequecies of the 80 draws below the 20 draws, the front pair 83 occured twice , the side pair 88 occurred zero times, and the back pair, 38 occurred twice. It might be well to read this paragraph again if you did not fully understand.
Here's a diagram:
Break down a set of 100 past draws
20 draws -> assign mailbox numbers to these draws based pair frequecies of bottom 80 draws
80 draws -> calculate pair frequecies
mailBox100 outputs 4 files:
Within the drawsP3.txt, there are five past cycles of play(100 days), which can be analyzed. Below is a sample outputof the first three lines of a sample file:
*********Compsite Frequency Model*********
Draw Mail Box Number Cnts Cycle# Day
804 2 1 2 16 5 1
649 0 0 1 82 5 2
168 1 0 1 37 5 3
The first entry is 804, which occured on the first day of cycle five(day 20 of the last 20 draws). Its mailbox number is 212, which means that within the 80 draws below this cycle, 80 occured twice, 84 occurred once and 04 occurred twice. The next entry, 16, tells how many other numbers were assigned the mailbox number of 212. From the data line, we can infer that if we had played all 16 such numbers during cycle 5, we would have been rewarded with a win on day one.
The second data line gives a different set of information about the draw 649. It came from mailbox 001, which contained 82 numbers, and the win came on day 2 of the 5th 20 day cycle.
The next file, cache80.txt, gives us information, which will be useful for play over the next 20 day cycle. For the very most recent 80 draws in drawsP3.txt, mailBox calculates the mailBox numbers for all of the numbers from 000-999. Here's a sample of cache80.txt
Mailbox 301, for example, contains all of the numbers from 000-999 such that, the front pairs occurred three times, the side pairs, occurred zero times, and the back pairs occurred once. There 3 such numbers.
It's important to become familiar with cache80.txt. It has serveral important features. First notice that the mailbox numbers form a continuum. That is, there are very few, if any, "holes" in the sequence numbers. Look at the numbers in bold, for example. It isn't until we start hitting frequencies of 3 and above that the sequencing becomes erratic. For example mailboxes 401 and 402 are missing, and this merely means there were no past draws that could be assigned to these numbers. If we were to see, for example, that the mailbox 102 were missing, it would be very significant, and we'll talk about these situations later on. Also notice that there is always a complete partitioning of the numbers between 000-999 using this methodology. If you add up the all the contents you will get 1000.
Note the file cache80.txt changes with every twenty day cycle!
The next file, allMaps.txt, shows you the mailBox number assigned to each number between 000-999, based on the last 80 draws.
Finally, maxFrequencies.tx is a file that shows you the max and min contents for all of the mailboxes, which were analyzed in the 100 day model.
By now you are probably asking: So how do I find out what numbers are exactly in each mailbox? We could use allMaps.txt, but that's a little too tedious. Running mailBox100 is the answer. So lets get started.
Click on the icon mailBox100.exe. You'll see a prompt asking: Enter a lower bound for the mailbox. What does this exactly mean? The program will not only get the contents from a single mailbox for you, but it will also get the contents from a range of mailbox numbers. For example if you wanted to see all the numbers in mailboxes 101, 102, and 103, for the lower bound you would enter 101. Once you enter the lower bound, you will be prompted for the upper bound. For this prompt you would enter 103. So for now, lets just enter 000 for the lower bound and 000 for the upper bound. If effect were are asking for the contents of mailbox 000.
Once you have entered the upper bound and lower bound numbers, you should see the total number of entries for the mailbox 000. Enter any key to exit. The entries are written to a file called, allSelections.txt
Once you exit the program all four files should appear in the directory, out of which you are working.
Get a good feel for running the program and look at the frequencyModel.txt file. We'll be discussing this next time. It is the main file we will be working with.