Tool to make probabilities on picking objects. Calculation of probabilities of drawing objects (balls, beads, etc.) in a box (bag, drawer, etc.) with and without replacement is a common exercise in probability.

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!

This page is using the new English version of dCode, please make comments !

Tool to make probabilities on picking objects. Calculation of probabilities of drawing objects (balls, beads, etc.) in a box (bag, drawer, etc.) with and without replacement is a common exercise in probability.

Answers to Questions

How to compute a probability of picking without replacement?

Consider a set of N objects among which m are different. The probability of drawing a total of n objects and that among these n objects there are k objects that are part of the m different ones, is given by a hypergeometric distribution:

dCode retains ownership of the source code of the script Picking Probabilities. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Picking Probabilities script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK