Sample space

In probability theory, the sample space (also called sample description space or possibility space) of an experiment or random trial is the set 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 in the set. It is common to refer to a sample space by the labels S S S, Ω Ω Ω, or U U 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, denoted by E {\displaystyle E} E. If the outcome of an experiment is included in E {\displaystyle E} E, then event E {\displaystyle E} E has occurred.

For example, if the experiment is tossing a single coin, the sample space is the set { H , T } {\displaystyle \{H,T\}} {H,T}, where the outcome H {\displaystyle H} H means that the coin is heads and the outcome T {\displaystyle T} T means that the coin is tails. The possible events are E = { H } {\displaystyle E=\{H\}} E={H}, E = { T } {\displaystyle E=\{T\}} E={T}, and E = { H , T } {\displaystyle E=\{H,T\}} E={H,T}. For tossing two coins, the sample space is { H H , H T , T H , T T } {\displaystyle \{HH,HT,TH,TT\}} {HH,HT,TH,TT}, where the outcome is H H {\displaystyle HH} HH if both coins are heads, H T {\displaystyle HT} HT if the first coin is heads and the second is tails, T H {\displaystyle TH} TH if the first coin is tails and the second is heads, and T T {\displaystyle TT} TT if both coins are tails. The event that at least one of the coins is heads is given by E = { H H , H T , T H } {\displaystyle E=\{HH,HT,TH\}} 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 } {\displaystyle \{1,2,3,4,5,6\}} {1,2,3,4,5,6}.

A well-defined, non-empty sample space S {\displaystyle S} 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 {\displaystyle S} S if S {\displaystyle S} S is discrete or a σ-algebra on S {\displaystyle S} 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.

在这里插入图片描述

A visual representation of a finite sample space and events. The red oval is the event that a number is odd, and the blue oval is the event that a number is prime.

1 Conditions of a sample space

A set Ω {\displaystyle \Omega } Ω with outcomes s 1 , s 2 , … , s n {\displaystyle s_{1},s_{2},\ldots ,s_{n}} s1,s2,,sn (i.e. Ω = { s 1 , s 2 , … , s n } {\displaystyle \Omega =\{s_{1},s_{2},\ldots ,s_{n}\}} Ω={s1,s2,,sn}) must meet some conditions in order to be a sample space:

  • The outcomes must be mutually exclusive, i.e. if s j {\displaystyle s_{j}} sj occurs, then no other s i {\displaystyle s_{i}} si will take place, ∀ i , j = 1 , 2 , … , n i ≠ j {\displaystyle \forall i,j=1,2,\ldots ,n\quad i\neq j} 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 s i ∈ Ω {\displaystyle s_{i}\in \Omega } siΩ for i ∈ { 1 , 2 , … , n } {\displaystyle i\in \{1,2,\ldots ,n\}} i{1,2,,n}
  • The sample space ( Ω {\displaystyle \Omega } Ω) 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 } {\displaystyle \Omega _{1}=\{H,T\}} Ω1={H,T}, where H {\displaystyle H} H is the outcome where the coin lands heads and T {\displaystyle T} T is for tails. Another possible sample space could be Ω 2 = { ( H , R ) , ( H , N R ) , ( T , R ) , ( T , N R ) } {\displaystyle \Omega _{2}=\{(H,R),(H,NR),(T,R),(T,NR)\}} Ω2={(H,R),(H,NR),(T,R),(T,NR)}. Here, R {\displaystyle R} R denotes a rainy day and N R {\displaystyle NR} NR is a day where it is not raining. For most experiments, Ω 1 {\displaystyle \Omega _{1}} Ω1 would be a better choice than Ω 2 {\displaystyle \Omega _{2}} Ω2, as an experimenter likely do not care about how the weather affects the coin toss.

2 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 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.

3 Equally likely outcomes

Main article: 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 N {\displaystyle N} N equally likely outcomes, each outcome is assigned the probability 1 N {\displaystyle {\frac {1}{N}}} N1. 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:
P ( event ) = number of outcomes in event number of outcomes in sample space {\displaystyle \mathrm {P} ({\text{event}})={\frac {\text{number of outcomes in event}}{\text{number of outcomes in sample space}}}} P(event)=number of outcomes in sample spacenumber of outcomes in event

For example, if two fair six-sided dice are thrown to generate two uniformly distributed integers, D 1 {\displaystyle D_{1}} D1 and D 2 {\displaystyle D_{2}} D2, each in the range from 1 1 1 to 6 6 6, inclusive, the 36 36 36 possible ordered pairs of outcomes ( D 1 , D 2 ) {\displaystyle (D_{1},D_{2})} (D1,D2) 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 D 1 + D 2 {\displaystyle D_{1}+D_{2}} D1+D2 is five is 4 36 {\displaystyle {\frac {4}{36}}} 364, 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 { ( 1 , 1 ) } {\displaystyle \{(1,1)\}} {(1,1)}, so the probability is 1 36 {\displaystyle {\frac {1}{36}}} 361. For a sum of seven, the outcomes in the event are { ( 1 , 6 ) , ( 6 , 1 ) , ( 2 , 5 ) , ( 5 , 2 ) , ( 3 , 4 ) , ( 4 , 3 ) } {\displaystyle \{(1,6),(6,1),(2,5),(5,2),(3,4),(4,3)\}} {(1,6),(6,1),(2,5),(5,2),(3,4),(4,3)}, so the probability is 6 36 {\displaystyle {\frac {6}{36}}} 366.

在这里插入图片描述

Flipping a coin leads to a sample space composed of two outcomes that are almost equally likely.

在这里插入图片描述

Up or down? Flipping a brass tack leads to a sample space composed of two outcomes that are not equally likely.

3.1 Simple random sample

Main article: Simple random sample

In statistics, inferences are made about characteristics of a population by studying a sample of that population’s individuals. In order to arrive at a sample that presents an unbiased estimate 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).

4 Infinitely large sample spaces

In an elementary approach to probability, any subset of the sample space is usually called an event. 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 [ 0 , ∞ ) [0, ∞) [0,).

5 See also

6 References

7 External links

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值