page_title: Probability distribution
section_title: Introduction
hierarchical_section_title: Probability distribution / Introduction
caption_attribution_description: English: Cumulative Distribution Graphs Explanation
context_page_description: In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon in terms of its sample space and the probabilities of events.
  For instance, if the random variable X is used to denote the outcome of a coin toss, then the probability distribution of X would take the value 0.5 for X = heads, and 0.5 for X = tails. Examples of random phenomena include the weather condition in a future date, the height of a person, the fraction of male students in a school, the results of a survey, etc.
  A probability distribution is a mathematical function that has a sample space as its input, and gives a probability as its output. The sample space is the set of all possible outcomes of a random phenomenon being observed; it may be the set of real numbers or a set of vectors, or it may be a list of non-numerical values. For example, the sample space of a coin flip would be {heads, tails}.
  Probability distributions are generally divided into two classes.
context_section_description: To define probability distributions for the simplest cases, it is necessary to distinguish between discrete and continuous random variables. In the discrete case, it is sufficient to specify a probability mass function  assigning a probability to each possible outcome: for example, when throwing a fair die, each of the six values 1 to 6 has the probability 1/6. The probability of an event is then defined to be the sum of the probabilities of the outcomes that satisfy the event; for example, the probability of the event "the dice rolls an even value" is 
  In contrast, when a random variable takes values from a continuum then typically, any individual outcome has probability zero and only events that include infinitely many outcomes, such as intervals, can have positive probability. For example, the probability that a given object weighs exactly 500 g is zero, because the probability of measuring exactly 500 g tends to zero as the accuracy of our measuring instruments increases. Nevertheless, in quality control one might demand that the probability of a "500 g" package containing between 490 g and 510 g should be no less than 98%, and this demand is less sensitive to the accuracy of measurement instruments.
  Continuous probability distributions can be described in several ways. The probability density function describes the infinitesimal probability of any given value, and the probability that the outcome lies in a given interval can be computed by integrating the probability density function over that interval. The probability that the possible values lie in some fixed interval can be related to the way sums converge to an integral; therefore, continuous probability is based on the definition of an integral. 
  The cumulative distribution function describes the probability that the random variable is no larger than a given value; the probability that the outcome lies in a given interval can be computed by taking the difference between the values of the cumulative distribution function at the endpoints of the interval. The cumulative distribution function is the antiderivative of the probability density function provided that the latter function exists. The cumulative distribution function is the area under the probability density function from minus infinity  to  as described by the picture to the right.
caption: On the left is the probability density function. On the right is the cumulative distribution function, which is the area under the probability density curve.
exif: {}