BidenFraction
Computes the fraction of uncounted votes Joe Biden needs to have a majority in a state
ResourceFunction["BidenFraction"][a,f] takes an Association a in which the keys are "Trump" and "Biden" and the values are the number of votes they have and f, which is the fraction of ultimate votes already believed to have been case. | |
ResourceFunction["BidenFraction"][a,f,m] performs similarly but requires Biden to win by a fraction m of the ultimate votes cast. |
Details and Options
Examples
Basic Examples
Compute the fraction of remaining votes in Georgia that Biden would need to win given the data on the CNN website at :
In[1]:= |
Out[1]= |
Compute the fraction of remaining votes in Pennsylvania that Biden would need to win the state by a 1% margin (using data on the CNN website at ) and silence the error:
In[2]:= |
Out[2]= |
Applications
The estimates for the number of votes cast could be incorrect. Plot the fraction of remaining votes Biden needs to win in Pennsylvania by 0% and by 1% given varying estimates as the fraction of votes already cast:
In[3]:= |
Out[3]= |