In
probability theory, the sample space (also called sample description space, possibility space, or outcome space) of an
experiment or random
trial is the
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of all possible
outcomes or results of that experiment.
A sample space is usually denoted using
set notation, and the possible ordered outcomes, or sample points,
are listed as
elements
Element or elements may refer to:
Science
* Chemical element, a pure substance of one type of atom
* Heating element, a device that generates heat by electrical resistance
* Orbital elements, parameters required to identify a specific orbit of ...
in the set. It is common to refer to a sample space by the labels ''S'', Ω, or ''U'' (for "
universal set"). The elements of a sample space may be numbers, words, letters, or symbols. They can also be
finite,
countably infinite, or
uncountably infinite.
A subset of the sample space is an
event
Event may refer to:
Gatherings of people
* Ceremony, an event of ritual significance, performed on a special occasion
* Convention (meeting), a gathering of individuals engaged in some common interest
* Event management, the organization of eve ...
, denoted by
. If the outcome of an experiment is included in
, then event
has occurred.
For example, if the experiment is tossing a single coin, the sample space is the set
, where the outcome
means that the coin is heads and the outcome
means that the coin is tails. The possible events are
,
, and
. For tossing two coins, the sample space is
, where the outcome is
if both coins are heads,
if the first coin is heads and the second is tails,
if the first coin is tails and the second is heads, and
if both coins are tails.
The event that at least one of the coins is heads is given by
.
For tossing a single six-sided
die
Die, as a verb, refers to death, the cessation of life.
Die may also refer to:
Games
* Die, singular of dice, small throwable objects used for producing random numbers
Manufacturing
* Die (integrated circuit), a rectangular piece of a semicondu ...
one time, where the result of interest is the number of
pips facing up, the sample space is
.
A well-defined, non-empty sample space
is one of three components in a probabilistic model (a
probability space). The other two basic elements are: a well-defined set of possible
events (an event space), which is typically the
power set of
if
is discrete or a
σ-algebra on
if it is continuous, and a
probability assigned to each event (a
probability measure
In mathematics, a probability measure is a real-valued function defined on a set of events in a probability space that satisfies measure properties such as ''countable additivity''. The difference between a probability measure and the more gener ...
function).

A sample space can be represented visually by a rectangle, with the outcomes of the sample space denoted by points within the rectangle. The events may be represented by ovals, where the points enclosed within the oval make up the event.
Conditions of a sample space
A set
with outcomes
(i.e.
) must meet some conditions in order to be a sample space:
* The outcomes must be mutually exclusive, i.e. if
occurs, then no other
will take place,
.
* The outcomes must be collectively exhaustive, i.e. on every experiment (or random trial) there will always take place some outcome
for
.
* The sample space (
) must have the right granularity depending on what the experimenter is interested in. Irrelevant information must be removed from the sample space and the right
abstraction must be chosen.
For instance, in the trial of tossing a coin, one possible sample space is
, where
is the outcome where the coin lands heads and
is for tails. Another possible sample space could be
. Here,
denotes a rainy day and
is a day where it is not raining. For most experiments,
would be a better choice than
, as an experimenter likely do not care about how the weather affects the coin toss.
Multiple sample spaces
For many experiments, there may be more than one plausible sample space available, depending on what result is of interest to the experimenter. For example, when drawing a card from a standard deck of fifty-two
playing cards, one possibility for the sample space could be the various ranks (Ace through King), while another could be the
suits (clubs, diamonds, hearts, or spades).
A more complete description of outcomes, however, could specify both the denomination and the suit, and a sample space describing each individual card can be constructed as the
Cartesian product
In mathematics, specifically set theory, the Cartesian product of two sets ''A'' and ''B'', denoted ''A''×''B'', is the set of all ordered pairs where ''a'' is in ''A'' and ''b'' is in ''B''. In terms of set-builder notation, that is
: A\ti ...
of the two sample spaces noted above (this space would contain fifty-two equally likely outcomes). Still other sample spaces are possible, such as right-side up or upside down, if some cards have been flipped when shuffling.
Equally likely outcomes

Some treatments of probability assume that the various outcomes of an experiment are always defined so as to be equally likely. For any sample space with
equally likely outcomes, each outcome is assigned the probability
. However, there are experiments that are not easily described by a sample space of equally likely outcomes—for example, if one were to toss a
thumb tack many times and observe whether it landed with its point upward or downward, there is no physical symmetry to suggest that the two outcomes should be equally likely.
Though most random phenomena do not have equally likely outcomes, it can be helpful to define a sample space in such a way that outcomes are at least approximately equally likely, since this condition significantly simplifies the computation of probabilities for events within the sample space. If each individual outcome occurs with the same probability, then the probability of any event becomes simply:
:
For example, if two fair six-sided dice are thrown to generate two
uniformly distributed integers,
and
, each in the range from 1 to 6, inclusive, the 36 possible ordered pairs of outcomes
constitute a sample space of equally likely events. In this case, the above formula applies, such as calculating the probability of a particular sum of the two rolls in an outcome. The probability of the event that the sum
is five is
, since four of the thirty-six equally likely pairs of outcomes sum to five.
If the sample space was the all of the possible sums obtained from rolling two six-sided dice, the above formula can still be applied because the dice rolls are fair, but the number of outcomes in a given event will vary. A sum of two can occur with the outcome
, so the probability is
. For a sum of seven, the outcomes in the event are
, so the probability is
.
Simple random sample
In
statistics
Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, inferences are made about characteristics of a
population by studying a
sample
Sample or samples may refer to:
Base meaning
* Sample (statistics), a subset of a population – complete data set
* Sample (signal), a digital discrete sample of a continuous analog signal
* Sample (material), a specimen or small quantity of s ...
of that population's individuals. In order to arrive at a sample that presents an
unbiased estimate
In statistics, the bias of an estimator (or bias function) is the difference between this estimator's expected value and the true value of the parameter being estimated. An estimator or decision rule with zero bias is called ''unbiased''. In st ...
of the true characteristics of the population, statisticians often seek to study a
simple random sample—that is, a sample in which every individual in the population is equally likely to be included.
The result of this is that every possible combination of individuals who could be chosen for the sample has an equal chance to be the sample that is selected (that is, the space of simple random samples of a given size from a given population is composed of equally likely outcomes).
Infinitely large sample spaces
In an elementary approach to
probability, any subset of the sample space is usually called an
event
Event may refer to:
Gatherings of people
* Ceremony, an event of ritual significance, performed on a special occasion
* Convention (meeting), a gathering of individuals engaged in some common interest
* Event management, the organization of eve ...
.
However, this gives rise to problems when the sample space is continuous, so that a more precise definition of an event is necessary. Under this definition only
measurable subsets of the sample space, constituting a σ-algebra over the sample space itself, are considered events.
An example of an infinitely large sample space is measuring the lifetime of a light bulb. The corresponding sample space would be .
See also
*
Parameter space
*
Probability space
*
Space (mathematics)
In mathematics, a space is a set (sometimes called a universe) with some added structure.
While modern mathematics uses many types of spaces, such as Euclidean spaces, linear spaces, topological spaces, Hilbert spaces, or probability spaces, i ...
*
Set (mathematics)
*
Event (probability theory)
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. A single outcome may be an element of many different events, and different events in an experiment are usua ...
*
σ-algebra
References
External links
*
{{DEFAULTSORT:Sample Space
Experiment (probability theory)