# How to estimate probability of a bill passing the U.S House of Representatives

For a bill to pass the U.S. House of Representatives, a simple majority of members have to vote yes. If every member votes this will be 218 of 435. If some members vote "present", their votes are not tallied, and a majority of the remaining votes need to be yes.

Say I have a probability assigned to the likelihood of every individual member voting for, abstaining, and voting against a bal (e.g. $P(\text{member A will vote yes})=.50$, $P(\text{member A will vote no})=.50$ and so on). How do I then calculate the probability (through direct calculation or through simulation) of the bill passing?

• How would I simulate it? For every round I select 435 votes, with my given probability for a member applied to each selection? Commented Mar 22, 2017 at 2:05
– Sycorax
Commented Mar 22, 2017 at 2:05
• For sake of simplicity, let's assume independence. Commented Mar 22, 2017 at 2:06
• Got it. Do you mind posting your comment as an answer so I can upvote it? Commented Mar 22, 2017 at 2:08
• In terms of an analytic solution: note that the situation where every member votes is a Poisson binomial distribution, which is already lacking in closed forms. Adding the chance of abstaining further complicates matters, and is much more easily handled with simulation. You might be able to directly compute the answer with convolution, though. Commented Mar 23, 2017 at 0:51

If we assume independence of Reps' votes, then the problem is easy: each Rep is represented as a Bernoulli trail with a specific probability of voting "yes." You can estimate a probability of passage by repeating many such Bernoulli trials.

Voting "yes" is modeled here, because you've asked about a bill's passage, as opposed to the complete vote tally.

The complement of a "yes" vote is voting "not yes," which encompasses No and Present votes: by the model you've outlined, $P(yes)+P(no)+P(present)=1$. Notably, if you go this route, you've ignored the possibility that a rep is absent (this can happen for any number of reasons: death, travel, or taking a different post like Rep. Price when he became HHS secretary -- his House seat will be empty until the special election, so there are effectively 434 seats as of this writing).

If you want to simulate each option, you'll need to use a multinomial probability distribution instead but the mechanics are precisely the same.

This R code should get you started.

set.seed(13)

B <- 2000 # number of simulations to run
p <- rbeta(435, 2, 2) # probability a rep votes yes
expr <- expression(rbinom(435, size=1, prob=p)) # expression object containing number of trials

results <- replicate(B, eval(expr)) # simulation results

sum(num_votes > 435/2)/B # estimated prob that it passes

png('passage.png')
abline(v=435/2)
dev.off()


This model uses a beta distribution over vote probabilities, which means that the probability of voting yes is actually a beta-binomial distribution, by the property of conjugacy. This observation could streamline the code, but I left it this way for clarity. Changing p to match the real data is just a drop-in fix this way.

If votes are assumed to be dependent in some way, things are more complicated. You'll need a model that accounts how each member's vote is influenced by their peers. This is more realistic because Reps' votes aren't independent:

• They tend to vote in blocs (Freedom Caucus, Tuesday Group, Black Caucus, etc.).

• They face pressure from leadership, the national party, their state's leadership, and the president to vote a particular way.

• And a bill typically won't be put to a vote unless House leadership can guarantee passage (see also the Hastert Rule), so getting a whip count right is important to avoiding embarrassment -- a model of random voting throws that into disarray.

• To the extent that Reps vote their constituency, and different constituencies share values, the feelings "back home" can make a big difference, and undermine the independence assumption. Rural Ohio and rural Pennsylvania probably have more in common than rural Ohio and Northern Virginia, so Reps' votes from rural Ohio are a reasonable proxy for Reps' votes in Pennsylvania but not Northern Virginia.

• Even whip counts can influence the margin of a vote: sometimes leadership would prefer for a measure to fail by 10 or more votes instead of it failing by 1, since the dealmaking to get those other 9 votes has costs and tradeoffs which will all be for naught if the measure fails anyway. (Whether a doomed bill makes it to the floor at all depends on the aims of the leadership: the GOP staged numerous symbolic ACA repeal votes, knowing full well that the Senate and/or President would kill the measure, while in other contexts, doomed measures are remanded to committees for revisions.)

• Additionally, the actions of the Senate and President can mean that stunt votes like the 2014 ACA repeal attempts can be undertaken while the members know full well that it will never become law -- so the contents and effects of the bill hardly matter at all. This implies that the Senate's and President's predicted actions will directly bear on how these votes happen: Reps can vote in support of a measure they know to be flawed or incomplete to please the leadership and never face any policy blowback because it will never become law. On the other hand, if the Senate and President are likely to approve the measure, then its consequences and contents are important. This is essentially why ACHA passage is suddenly so fraught after being a cornerstone of the GOP platform for years.

Accounting these factors will make the problem more challenging; however, ignoring dependence, especially in this example, where there are many well-known causes of dependence, will result in a model that is extremely misleading.

• This assumes every Rep votes, correct? How do I account for the possibility of a Rep abstaining and their vote not being counted? Commented Mar 22, 2017 at 2:24
• I'm concerned that inference based upon atrociously false assumptions (eg. that the votes of members of Congress are statistically independent) can be highly misleading. Commented Mar 22, 2017 at 14:37
• @MatthewGunn Oh, to be sure, I am also concerned that assuming independence is misleading. But OP clarified in a comment that the question assumes independence for similarity. You can see that the post ends by listing many reasons to believe votes are dependent and that the randomization model is inappropriate.
– Sycorax
Commented Mar 22, 2017 at 14:42
• @Sycorax I appreciate your answer and agree with much of your content in the second section. My objection isn't as much to your answer as the assumptions of the OP's question. What if someone asked, "How long would it take a car to stop? And for simplicity, let's assume no friction." Maybe that's a well formed question? It also brings to mind the Yiddish phrase, "If my grandmother had balls, she'd be my grandfather." Some hypotheticals are so far from reality that they confuse rather than enlighten. Commented Mar 22, 2017 at 15:35
• @MatthewGunn On the other hand, these are questions that students in low-level physics classes answer all the time: how fast does an object fall, assuming no air resistance? It's a simplification. In this case, it's simplified so much that there's little resemblance to reality, but I can still imagine it appearing in a homework assignment for a low-level quantitative social science class. (And how do we assess the probability of supporting a specific measure in the first place, all bills being unique?)
– Sycorax
Commented Mar 22, 2017 at 15:38

This is a fantastically difficult problem. IMHO, this question is too broad.

### Some problems even formulating the question:

• What does passing a bill even mean?

• Bills change! If a bill is amended and then passes, does it count as the original bill passing? What if the bill is so heavily amended that is unrecognizable?
• It's hard to even define the outcome variable!
• If you observe outcome $\omega$ how do you define random variable $Y(\omega)$ telling you whether the bill passed?
• It is entirely wrong to think that Congress schedules a vote for time $t$ and then we observe the outcome like a coin flip.

• Let $X_t$ be the time that a vote on a bill is completed. This isn't a fixed time. It's a random variable itself, a stopping time! If the House Leadership wants a bill to pass and the bill is in danger of not passing, they will pull the bill or reschedule the vote.
• The problem is even worse than this because you don't know (from simply looking at votes) whether a vote is the final vote on a bill. There's always the possibility of a motion to reconsider.

### Further problems...

Members of Congress are immersed in a massively complicated, game theory type problem with asymmetric information. Think of something like poker but with more cards, more players, and massive collusion between parties.

A few ideas almost certainly emerge.

• A theme in game theory is that controlling the order of decisions can exert massive influence on the outcome. House Leadership can force certain outcomes by eliminating alternatives preferred by some members.

• Sycorax does a good job of discussing all kinds of voting blocks.

### If I were modeling this...

For me, my starting point would NOT be some absurd model where every Congressional vote is an independent coin flip. My starting point would be something motivated more by the median voter theorem.

• Can I reduce the issue to a single dimension?
• Who is the median voter in Congress along this dimension?

For example, several key aspects of the Affordable Care Act were structured so as to gain the support of Senator Ben Nelson of Nebraska as he was marginal voter that the Democrats needed to get to a filibuster proof majority of 60 votes.

If you were forecasting whether the ACA would pass, it eventually got to the point of forecasting what Ben Nelson would do. On the Supreme Court, forecasting the outcome often has been a question of what will Justice Kennedy do?

Identify swing voters, and make sure you model the extent to which they can swing together?

Disclaimer: I'm not a political science guy. Undoubtedly there are quantitative, statistical political scientists who study these types of questions.

• Ben Nelson is a great example -- the bills are dynamic, agents can have outsize influence, votes aren't random because the process itself is about achieving a certain consensus.
– Sycorax
Commented Mar 22, 2017 at 15:48