プリンキピア

第2章準備

2.6.3. Random Variables2.6.3 確率変数

When we spoke about events like the roll of a die coming up odds or the first coin toss coming up heads, we were invoking the idea of a random variable. Formally, random variables are mappings from an underlying sample space to a set of (possibly many) values. You might wonder how a random variable is different from the sample space, since both are collections of outcomes. Importantly, random variables can be much coarser than the raw sample space. We can define a binary random variable like “greater than 0.5” even when the underlying sample space is infinite, e.g., points on the line segment between 0 and 1. Additionally, multiple random variables can share the same underlying sample space. For example “whether my home alarm goes off” and “whether my house was burgled” are both binary random variables that share an underlying sample space. Consequently, knowing the value taken by one random variable can tell us something about the likely value of another random variable. Knowing that the alarm went off, we might suspect that the house was likely burgled.
英語のヒント
さいころの目が奇数になる、1回目の硬貨投げで表が出る、といった事象について話したとき、私たちは確率変数という考えを持ち出していた。形式的には、確率変数とは、元になる標本空間から(場合によっては多くの)値の集合への写像である。確率変数は標本空間とどう違うのか、と疑問に思うかもしれない。どちらも結果の集まりだからである。大事なのは、確率変数は生の標本空間よりずっと粗くなりうることである。元の標本空間が無限、たとえば0と1のあいだの線分上の点であっても、「0.5より大きい」のような二値の確率変数を定義できる。さらに、複数の確率変数が同じ標本空間を共有できる。たとえば「家の警報が鳴るかどうか」と「家に泥棒が入ったかどうか」は、どちらも標本空間を共有する二値の確率変数である。その結果、一方の確率変数がとった値を知ると、もう一方の確率変数のありそうな値について何かがわかる。警報が鳴ったと知れば、家に泥棒が入った可能性が高いと疑うかもしれない。
Every value taken by a random variable corresponds to a subset of the underlying sample space. Thus the occurrence where the random variable X takes value v, denoted by X=v, is an event and P(X=v) denotes its probability. Sometimes this notation can get clunky, and we can abuse notation when the context is clear. For example, we might use P(X) to refer broadly to the distribution of X, i.e., the function that tells us the probability that X takes any given value. Other times we write expressions like P(X,Y)=P(X)P(Y), as a shorthand to express a statement that is true for all of the values that the random variables X and Y can take, i.e., for all i,j it holds that P(X=i and Y=j)=P(X=i)P(Y=j). Other times, we abuse notation by writing P(v) when the random variable is clear from the context. Since an event in probability theory is a set of outcomes from the sample space, we can specify a range of values for a random variable to take. For example, P(1≤X≤3) denotes the probability of the event {1≤X≤3}.
英語のヒント
確率変数がとる値はどれも、元の標本空間の部分集合に対応する。したがって、確率変数Xが値vをとるという出来事は、X=vと表される事象であり、P(X=v)はその確率を表す。この記法が扱いにくくなることもあり、文脈が明らかなときは記法を乱用することがある。たとえば、P(X)を使って、Xの分布、つまりXが任意の値をとる確率を教えてくれる関数を広く指すことがある。また、P(X,Y)=P(X)P(Y)のような式を、確率変数XとYがとりうるすべての値について成り立つ文、つまりすべてのi,jについてP(X=i and Y=j)=P(X=i)P(Y=j)が成り立つことの略記として書くこともある。ほかに、確率変数が文脈から明らかなときにP(v)と書いて記法を乱用することもある。確率論における事象は標本空間の結果の集合なので、確率変数がとる値の範囲を指定できる。たとえばP(1≤X≤3)は、事象{1≤X≤3}の確率を表す。
Note that there is a subtle difference between discrete random variables, like flips of a coin or tosses of a die, and continuous ones, like the weight and the height of a person sampled at random from the population. In this case we seldom really care about someone’s exact height. Moreover, if we took precise enough measurements, we would find that no two people on the planet have the exact same height. In fact, with fine enough measurements, you would never have the same height when you wake up and when you go to sleep. There is little point in asking about the exact probability that someone is 1.801392782910287192 meters tall. Instead, we typically care more about being able to say whether someone’s height falls into a given interval, say between 1.79 and 1.81 meters. In these cases we work with probability densities. The height of exactly 1.80 meters has no probability, but nonzero density. To work out the probability assigned to an interval, we must take an integral of the density over that interval.
英語のヒント
硬貨投げやさいころ振りのような離散的な確率変数と、母集団から無作為に選んだ人の体重や身長のような連続的な確率変数とのあいだには、微妙な違いがあることに注意してほしい。この場合、誰かの正確な身長を本当に気にすることはめったにない。しかも、十分に精密に測れば、地球上に正確に同じ身長の人は二人といないことがわかるだろう。実際、十分に細かく測れば、朝起きたときと夜寝るときとで同じ身長であることはないだろう。誰かの身長がちょうど1.801392782910287192メートルである確率を問うことには、ほとんど意味がない。代わりに普通は、誰かの身長がある区間、たとえば1.79メートルから1.81メートルのあいだに入るかどうかを言えることのほうを気にする。こうした場合は確率密度を扱う。ちょうど1.80メートルの身長には確率はないが、ゼロでない密度がある。区間に割り当てられる確率を求めるには、その区間にわたって密度を積分しなければならない。