This code calculates the confidence interval of the percentage of votes for a party during the ballot counting. The code uses the percentage of votes for the party, the number of counted votes, and the total number of votes. The code also assumes the maximum possible sample variance. The confidence interval is adjusted for the percentage of votes counted.
-
Notifications
You must be signed in to change notification settings - Fork 0
chiesastefano/ballots_confidenceinterval
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
I wrote this code to anticipate the Italian news agencies on the exclusion from the European Parliament of parties close to the threshold.