Tool for measuring the upper and lower bounds of the confidence interval attributable to a survey. The 95% or 99% confidence interval makes it possible to better qualify the quality of a survey.

Confidence Interval of a Survey - dCode

Tag(s) : Statistics

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

Sponsored ads

Tool for measuring the upper and lower bounds of the confidence interval attributable to a survey. The 95% or 99% confidence interval makes it possible to better qualify the quality of a survey.

Definition: A confidence interval is a lower and upper bound that defines a margin of error for the raw results of a survey. The confidence interval evaluates the quality and accuracy of the estimate obtained with the sample surveyed.

For a survey of \( N \) people resulting in the probability \( p \), then the 95% confidence interval is $$ \left[p-1.96\frac{\sqrt{p(1-p)}}{\sqrt n},p+1.96\frac{\sqrt{p(1-p)}}{\sqrt n}\right] $$

With 1.96 the value of the 2.5 percentile of the normal distribution.

Example: For a poll with a sample of 80 people of whom 60 will vote YES, the probability \( p = 60/80 = 0.75 \), the confidence interval is \( \left[0.75-1.96\frac{\sqrt{0.75(1-0.75)}}{\sqrt 80},0.75+1.96\frac{\sqrt{0.75(1-0.75)}}{\sqrt 80}\right] = \left[ , \right] \). This means that there is 95% chance in the final vote the YES result is between 65.5% and 84.5%.

When the probability is close to 0, the calculation of the confidence interval can lead to probabilities outside the interval \( [0,1] \) which is impossible. One rule is to use the limit as \( 3 / N \).

Example: A poll of N = 100 person gives a probability of 0, then the confidence interval is \( [0, 0.03] \)

dCode retains ownership of the source code of the script Confidence Interval of a Survey online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. So if you need to download the online Confidence Interval of a Survey script for offline use, check contact page !

confidence,interval,survey,sample,95,99

Source : https://www.dcode.fr/confidence-interval-survey

© 2018 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode