Skip to content

Encorpluptit/209poll_2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build codecov

209poll_2019

The goal of this project is to compute the 95% and 99% confidence intervals, given (as arguments):

  • Population size.
  • Size of the sample of population.
  • Percentage of voting intentions for a specific candidate.

(made with Killian Clette)

Mathematical Resolution:

People follows a Bernoulli process, and therefore that a binomial distribution (converging toward a normal distribution) is a good model for the results.

Usage:

make
./poll 10000 500 42.24

Help:

./poll -h
./poll --help

Skills Learned/Upgraded

CodeCov Coverage :