Many applications of probability and statistics concern the repetition of an experiment. We call each repetition a **trial**, and we are particularly interested in cases in which the experiment (each trial) has **only two possible outcomes**: Success or failure, true or false, 0 or 1.

To analyze repeated trials of an experiment that has two possible outcomes, we require knowledge of **factorials**, **binomial coefficients**, and **Bernoulli trials**.

On the basis of those prerequisites we learn about the the **binomial distribution**, which is a **probability distribution** for the number of successes in a sequence of **Bernoulli trials** (Weiss 2010).

**Citation**

The E-Learning project SOGA-Py was developed at the Department of Earth Sciences by Annette Rudolph, Joachim Krois and Kai Hartmann. You can reach us via mail by soga[at]zedat.fu-berlin.de.

You may use this project freely under the Creative Commons Attribution-ShareAlike 4.0 International License.

Please cite as follow: *Rudolph, A., Krois, J., Hartmann, K. (2023): Statistics and Geodata Analysis
using Python (SOGA-Py). Department of Earth Sciences, Freie Universitaet Berlin.*