In probability theory, an event is a set of outcomes of an experiment (a subset of the sample space) to which a probability is assigned.[1] A single outcome may be an element of many different events,[2] and different events in an experiment are usually not equally likely, since they may include very different groups of outcomes.[3] An event consisting of only a single outcome is called an or an ; that is, it is a singleton set. An event that has more than one possible outcomes is called compound event. An event
S
S
x
x\inS
S
S
x
x\inS
Typically, when the sample space is finite, any subset of the sample space is an event (that is, all elements of the power set of the sample space are defined as events).[5] However, this approach does not work well in cases where the sample space is uncountably infinite. So, when defining a probability space it is possible, and often necessary, to exclude certain subsets of the sample space from being events (see Events in probability spaces, below).
If we assemble a deck of 52 playing cards with no jokers, and draw a single card from the deck, then the sample space is a 52-element set, as each card is a possible outcome. An event, however, is any subset of the sample space, including any singleton set (an elementary event), the empty set (an impossible event, with probability zero) and the sample space itself (a certain event, with probability one). Other events are proper subsets of the sample space that contain multiple elements. So, for example, potential events include:
Since all events are sets, they are usually written as sets (for example,), and represented graphically using Venn diagrams. In the situation where each outcome in the sample space Ω is equally likely, the probability
P
A
Defining all subsets of the sample space as events works well when there are only finitely many outcomes, but gives rise to problems when the sample space is infinite. For many standard probability distributions, such as the normal distribution, the sample space is the set of real numbers or some subset of the real numbers. Attempts to define probabilities for all subsets of the real numbers run into difficulties when one considers 'badly behaved' sets, such as those that are nonmeasurable. Hence, it is necessary to restrict attention to a more limited family of subsets. For the standard tools of probability theory, such as joint and conditional probabilities, to work, it is necessary to use a σ-algebra, that is, a family closed under complementation and countable unions of its members. The most natural choice of σ-algebra is the Borel measurable set derived from unions and intersections of intervals. However, the larger class of Lebesgue measurable sets proves more useful in practice.
In the general measure-theoretic description of probability spaces, an event may be defined as an element of a selected -algebra of subsets of the sample space. Under this definition, any subset of the sample space that is not an element of the -algebra is not an event, and does not have a probability. With a reasonable specification of the probability space, however, all are elements of the -algebra.
Even though events are subsets of some sample space
\Omega,
X
\Omega,
u<X\leqv
X
\omega\inX-1((u,v])
u<X(\omega)\leqv.