We have been closer studying how to generate vote counts for three candidate for each precinct since commonly there are at least two dominant candidates in the US presidential elections and others candidates which can be compacted into one. Therefore, in order to produce a more realistic election, we implement the behavioral model form the paper “Condorcet Efficiency and the Behavioral Model of the Vote ” (Adams 1997) which works by calculating the distance (Figure 1) from each voter to every candidate based on “m” number of policies.
In the previous equation, Pi(K) denotes the distance from voter i’s polices to candidate K’s polices. “xij” denotes the degree to which voter i leans to favor or oppose policy j and “bij” is the weight that voter i associates to policy j.