Many election jurisdictions in the United States need to randomly select precincts, or batches of ballots, to audit after an election. This article provides step-by-step instructions for how to do this properly using dice. It also explains some of the advantages of using dice over other methods.
This article is intended for election officials, as well as members of the public interested in improving election auditing procedures in their area.
There are a number of correct ways of using dice to randomly select precincts (as well as many incorrect ways, if one isn't careful). The method described in this article is the one described in a 2006 paper by Arel Cordero, David Wagner, and David Dill (also see [CWD] referenced at the bottom). We chose to highlight this method both for its simplicity and efficiency over other methods. Also, we simplified the description so that, for example, familiarity with math notation isn't needed. (We do use letters to stand for numbers, though.) Lastly, the method we describe here is not suitable for risk-limiting audits. For those a different procedure is needed.
Advantages
Rolling dice is a good method for doing a random selection because it is simple and straightforward, easy to observe, and is observably random. Confidence can be increased by letting members of the public do some of the dice rolls.
Other processes like drawing slips of paper from a hat or barrel don't have these same advantages. For example, if drawing slips of paper, it is hard to know if the slips of paper are evenly mixed, and there is no clear way for the public to confirm this. Also, if you are choosing from among hundreds or dozens of precincts, there is no easy way for the public to know for sure that no slips of paper have been left out. Finally, it is also hard for members of the public to be sure that sleight-of-hand techniques aren't being used when choosing the pieces of paper.
Instructions
Even though the steps below can be used without change to select not just precincts but also batches of ballots, for simplicity we usually only say "precincts."
Preparation
We start by describing the steps you can do in advance.
Step 1: Purchase enough dice
You will be using ten-sided dice rather than standard six-sided dice. You can see a picture of what ten-sided dice look like on the right. You should be able to find them at a local games shop. Otherwise, they are widely available for purchase online.
Since it can take time to purchase dice (e.g. if you're ordering them online), you should acquire them far enough in advance and make sure you will have enough. The number of dice you need depends on the number of precincts you will have. If you don't know in advance how many precincts you will have (especially likely in the case of batches), you should come up with an estimate of the absolute maximum number you might wind up having. It's okay to overestimate here.
If you will have no more than 100 precincts or batches, you will need two dice. If you will have no more than 1,000, you will need three. For 10,000, you will need four. And so on. (This is the same as the number \(R\) we will be discussing below.)
When purchasing dice, it's a good idea if each die is a different color. This way they can be rolled together all at once and you can still tell them apart. For example, if you need three dice, you can purchase three ten-sided dice in the colors red, white, and blue. (Ten-sided dice are sold in a variety of different colors.)
Step 2: Choose the precinct lookup sheet format
To do the random selection, you will need a document we call the "precinct lookup sheet" (or "batch lookup sheet," in the case of batches). This is a document or spreadsheet that lets you look up the correct precinct after each time you roll the dice. Both participants and observers will refer to this document during the selection.
There are two styles of precinct lookup sheet: the two-column format and the four-column format. You will need to decide which style to use before completing the next steps. The two-column format is slightly easier to prepare and makes for a more compact lookup sheet. The four-column format is less compact, but it may make the selection process easier to conduct and follow.
It is best to read the rest of this document before deciding which format to use. If you're still not sure or if this is the first time you'll be using dice for the selection, the four-column format is a good choice. Later sections of this document describe the lookup sheet in more detail and how to make it. You can only make a lookup sheet after you have a complete list of precincts or batches.
Step 3: Prepare the selection worksheet
This section describes how to create what we call the "selection worksheet," which is different from the lookup sheet. Whereas the lookup sheet is for reading from, the selection worksheet is for filling out.
The selection worksheet is a document or spreadsheet to which the dice rolls and corresponding precincts are written down after each roll of the dice. The worksheet can be used to provide a written record of what happens during the selection. Also, if you're using the two-column format of the lookup sheet, the selection worksheet has a guide to help you determine the precinct corresponding to a dice roll. (This guide isn't needed for the four-column format.) Instructions for filling out the worksheet will come later in this document.
We first review the selection worksheet if you're using the four-column format of the precinct lookup sheet. The worksheet has two entries to fill out at the top, and four columns of information that will be filled out at the bottom. A picture is included below.
We next review the selection worksheet if you're using the two-column format of the precinct lookup sheet. This worksheet has three entries to fill out at the top, and five columns of information that will be filled out at the bottom. A picture is included below.
If you're using the two-column format, and if the selection worksheet will be filled out while using a computer spreadsheet instead of on paper, then the "Roll ÷ S" and "Index" columns can be set up in your spreadsheet program to be automatically filled in when the number in the "Roll" column is entered. This isn't strictly necessary, but it could make things easier.
Step 4: Determine the helper numbers
Before doing the selection, you need to determine two key "helper" numbers. You can do this step once you know the exact number of precincts or batches.
The two numbers you need to determine are— (1) the number of dice to roll each time, which we call \(R\), for "roll," and (2) a "scale factor" (also a whole number), which we call \(S\), for "scale." These numbers depend on the total number of precincts you have. You will need a calculator to determine these numbers.
To determine \(R\) (aka the number of dice to roll each time), take the total number of precincts you have, subtract 1, and then note the number of digits that number has. This number of digits is \(R\). For example—
- For 11 to 100 precincts, \(R\) is 2.
- For 101 to 1,000 precincts, \(R\) is 3.
- For 1,001 to 10,000 precincts, \(R\) is 4, and so on.
To determine \(S\) (aka the scale factor), take the number 1 with \(R\) zeros after it (e.g. 1,000 if \(R\) is 3). Then, use a calculator to divide that number by the total number of precincts you have. Finally, round the answer down (i.e. by removing the decimal part, if any). For example, if the total number of precincts is 170, then \(R\) would be 3. Divide 1,000 by 170 to get 5.8823.... Then round that down to get 5 for \(S\). As another example, if the total number of precincts is 200, then \(R\) would again be 3. Dividing 1,000 by 200 gives 5 exactly. Since 5 has no decimal part, rounding down keeps it at 5. So \(S\) would still be 5.
Step 5: Make precinct lookup sheet
Next, you need to make a document we call the "precinct lookup sheet" (or "batch lookup sheet," in the case of batches). This is a document or spreadsheet that lets you look up the right precinct each time you roll the dice. Note that this document won't just be for the election administrators to use. Election observers and the public generally should also get a copy.
In its simplest form, the lookup sheet is simply a numbered list of the names of all precincts. The numbers should start at 0, go up by one with each precinct, and not skip any numbers. We call each number the "index" of that precinct. The figure at the right shows an example of what this might look like. Because this lookup sheet is so simple, we call it the "simple" form.
There is another style of lookup sheet you can make we call the "spelled out" form. It is slightly more work to make, but it makes the actual selection process a little bit easier to do.
To make this style of lookup sheet, add two more columns to the grid called "Min Roll" and "Max Roll." To fill the "Min Roll" column for a certain row, multiply the index number for that precinct by the number \(S\) you determined above. To fill the "Max Roll" column, add \(S - 1\) to the "Min Roll" value. In other words, "Max Roll" is one less than "Min Roll" of the next row. The Min Roll and Max Roll numbers will let you and any election observers see immediately what precinct corresponds to a roll of the dice, without having to do any additional arithmetic. Finally, for convenience, you can add a row at the end that says "ROLL AGAIN" for any higher numbers.
The figure above shows an example of what the spelled out form might look like. After reading the rest of this document, you can decide for yourself whether you'd like to use the simple form or the spelled out form.
Step 6: Complete the pre-selection checklist
Here is a checklist of some additional things that should be completed before doing the actual random selection:
- Make sure you are done counting all of the ballots and votes.
- Make the final vote totals for all of the precincts and batches available to the public, for example by posting them online. This way everyone can know what vote totals you are checking.
- Announce to the public when you will be conducting the random selection.
Actual Selection
Step 7: Conduct the selection
When doing the random selection, it is best to have a document ready that explains the procedures you will be following. The document should cover things like:
- The order in which the digits of the number will be read off the dice, using the colors. For example, if there are three dice with colors red, white, and blue, it might be: "first red, then white, then blue."
- What happens if a die falls on the floor? Do you roll that die again, or do you use whatever number is shown on the floor?
You should also have ready to distribute a copy of the precinct lookup sheet you will be using.
TODO: finish the rest.
References
- [CWD] Arel Cordero, David Wagner, and David Dill, "The Role of Dice in Election Audits - Extended Abstract," June 16, 2006, 8 pages, preprint.