Lably
Skip to content

Sample space

Set of all possible outcomes or results of a statistical trial or experiment

  • 5 min read
  • 4 chapters
  • 4 labs on Lably
A finite sample space can be visually represented as a set of points in a rectangle. Events within a sample space can be represented as ovals.
BadEnding · CC BY-SA 4.0

Learn it on Lably

A subset of the sample space is an event, denoted by E. If the outcome of an experiment is included in E, then event E has occurred.

For example, if the experiment is tossing a single coin, the sample space is the set {H,T}, where the outcome H means that the coin is heads and the outcome T means that the coin is tails. The possible events are E={}, E={H}, E={T}, and E={H,T}. For tossing two coins, the sample space is {HH,HT,TH,TT}, where the outcome is HH if both coins are heads, HT if the first coin is heads and the second is tails, TH if the first coin is tails and the second is heads, and TT if both coins are tails. The event that at least one of the coins is heads is given by E={HH,HT,TH}.

For tossing a single six-sided die one time, where the result of interest is the number of pips facing up, the sample space is {1,2,3,4,5,6}.

A well-defined, non-empty sample space S 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 S if S is discrete or a σ-algebra on S if it is continuous, and a probability assigned to each event (a probability measure 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 s1,s2,…,sn (i.e. Ω={s1,s2,…,sn}) must meet some conditions in order to be a sample space:

  • The outcomes must be mutually exclusive, i.e. if sj occurs, then no other si will take place, ∀i,j=1,2,…,ni≠j.
  • The outcomes must be collectively exhaustive, i.e. on every experiment (or random trial) there will always take place some outcome si∈Ω for i∈{1,2,…,n}.
  • 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 Ω1={H,T}, where H is the outcome where the coin lands heads and T is for tails. Another possible sample space could be Ω2={(H,R),(H,NR),(T,R),(T,NR)}. Here, R denotes a rainy day and NR is a day where it is not raining. For most experiments, Ω1 would be a better choice than Ω2, as an experimenter likely does not care about how the weather affects the coin toss.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics and probability