第2章準備
2.6.6. Expectations2.6.6 期待値
Often, making decisions requires not just looking at the probabilities assigned to individual events but composing them together into useful aggregates that can provide us with guidance. For example, when random variables take continuous scalar values, we often care about knowing what value to expect on average. This quantity is formally called an expectation. If we are making investments, the first quantity of interest might be the return we can expect, averaging over all the possible outcomes (and weighting by the appropriate probabilities). For instance, say that with 50% probability, an investment might fail altogether, with 40% probability it might provide a 2 return, and with 10% probability it might provide a 10 return 10. To calculate the expected return, we sum over all returns, multiplying each by the probability that they will occur. This yields the expectation . Hence the expected return is 1.8.
英語のヒント
意思決定では、個々の事象に割り当てられた確率を見るだけでなく、それらを組み合わせて、手引きとなる役に立つ集約量を作る必要があることが多い。たとえば、確率変数が連続的なスカラー値をとるとき、平均してどんな値が期待できるかを知りたいことがよくある。この量は形式的には期待値と呼ばれる。投資をするなら、関心のある最初の量は、起こりうるすべての結果にわたって(適切な確率で重み付けして)平均した、期待できる利益かもしれない。たとえば、50%の確率で投資はまったくの失敗に終わり、40%の確率で2の利益を、10%の確率で10の利益10をもたらすとしよう。期待利益を計算するには、各利益にそれが起こる確率を掛けて、すべての利益にわたって足し合わせる。これで期待値が得られる。したがって、期待利益は1.8である。
In general, the expectation (or average) of the random variable is defined as
英語のヒント
一般に、確率変数の期待値(または平均)は次のように定義される。
(2.6.12)
Likewise, for densities we obtain . Sometimes we are interested in the expected value of some function of . We can calculate these expectations as
英語のヒント
同様に、密度についてはが得られる。の何らかの関数の期待値に関心があることもある。こうした期待値は次のように計算できる。
(2.6.13)
for discrete probabilities and densities, respectively. Returning to the investment example from above, might be the utility (happiness) associated with the return. Behavior economists have long noted that people associate greater disutility with losing money than the utility gained from earning one dollar relative to their baseline. Moreover, the value of money tends to be sub-linear. Possessing 100k dollars versus zero dollars can make the difference between paying the rent, eating well, and enjoying quality healthcare versus suffering through homelessness. On the other hand, the gains due to possessing 200k versus 100k are less dramatic. Reasoning like this motivates the cliché that “the utility of money is logarithmic”.
英語のヒント
前者は離散的な確率の場合、後者は密度の場合である。上の投資の例に戻ると、は利益に結びついた効用(幸福)かもしれない。行動経済学者は以前から、人は基準点に対して1ドル稼ぐことで得る効用よりも、お金を失うことに大きな不効用を結びつけることを指摘してきた。しかも、お金の価値は線形より伸びが鈍い傾向がある。10万ドルを持っているか、まったく持っていないかは、家賃を払い、きちんと食べ、質のよい医療を受けられるか、それともホームレスとして苦しむかの違いになりうる。一方、20万ドルと10万ドルの差による利得は、それほど劇的ではない。こうした推論が、「お金の効用は対数的である」という決まり文句の動機になっている。
If the utility associated with a total loss were , and the utilities associated with returns of , , and were , and , respectively, then the expected happiness of investing would be (an expected loss of utility of 30%). If indeed this were your utility function, you might be best off keeping the money in the bank.
英語のヒント
全額を失うことに結びついた効用がで、利益、、に結びついた効用がそれぞれ、、なら、投資による期待幸福はになる(効用の期待損失は30%)。本当にこれがあなたの効用関数なら、お金は銀行に置いておくのがいちばんかもしれない。
For financial decisions, we might also want to measure how risky an investment is. Here, we care not just about the expected value but how much the actual values tend to vary relative to this value. Note that we cannot just take the expectation of the difference between the actual and expected values. This is because the expectation of a difference is the difference of the expectations, i.e., . However, we can look at the expectation of any non-negative function of this difference. The variance of a random variable is calculated by looking at the expected value of the squared differences:
英語のヒント
金融上の決定では、投資がどれほど危険かも測りたいかもしれない。ここでは期待値だけでなく、実際の値がこの値に対してどれほどばらつく傾向があるかも気にする。実際の値と期待値との差の期待値をとるだけではだめなことに注意してほしい。差の期待値は期待値の差、つまりだからである。しかし、この差の任意の非負の関数の期待値なら見ることができる。確率変数の分散は、差の二乗の期待値を見ることで計算される。
(2.6.14)
Here the equality follows by expanding and taking expectations for each term. The square root of the variance is another useful quantity called the standard deviation. While this and the variance convey the same information (either can be calculated from the other), the standard deviation has the nice property that it is expressed in the same units as the original quantity represented by the random variable.
英語のヒント
ここで等式は、を展開して各項の期待値をとることで導かれる。分散の平方根は、標準偏差と呼ばれるもう一つの役立つ量である。これと分散は同じ情報を伝える(どちらも他方から計算できる)が、標準偏差には、確率変数が表す元の量と同じ単位で表されるという好ましい性質がある。
Lastly, the variance of a function of a random variable is defined analogously as
英語のヒント
最後に、確率変数の関数の分散も、同じように次のように定義される。
(2.6.15)
Returning to our investment example, we can now compute the variance of the investment. It is given by . For all intents and purposes this is a risky investment. Note that by mathematical convention mean and variance are often referenced as and . This is particularly the case whenever we use it to parametrize a Gaussian distribution.
英語のヒント
投資の例に戻ると、今なら投資の分散を計算できる。それはで与えられる。どう見ても、これは危険な投資である。数学の慣例では、平均と分散はしばしばとで表されることに注意してほしい。これは特に、それを使ってガウス分布をパラメータ化するときに当てはまる。
In the same way as we introduced expectations and variance for scalar random variables, we can do so for vector-valued ones. Expectations are easy, since we can apply them elementwise. For instance, has coordinates . Covariances are more complicated. We define them by taking expectations of the outer product of the difference between random variables and their mean:
英語のヒント
スカラーの確率変数について期待値と分散を導入したのと同じように、ベクトル値の確率変数についても導入できる。期待値は要素ごとに当てはめられるので簡単である。たとえばの座標はである。共分散はもっと複雑である。共分散は、確率変数とその平均との差の外積の期待値をとることで定義する。
(2.6.16)
This matrix is referred to as the covariance matrix. An easy way to see its effect is to consider some vector of the same size as . It follows that
英語のヒント
この行列を共分散行列という。その働きを見る簡単な方法は、と同じ大きさのベクトルを考えることである。すると次が成り立つ。
(2.6.17)
As such, allows us to compute the variance for any linear function of by a simple matrix multiplication. The off-diagonal elements tell us how correlated the coordinates are: a value of 0 means no correlation, where a larger positive value means that they are more strongly correlated.
英語のヒント
このように、を使えば、の任意の線形関数の分散を、単純な行列の積で計算できる。対角以外の要素は、座標どうしがどれほど相関しているかを教えてくれる。値0は相関がないことを意味し、より大きな正の値は、より強く相関していることを意味する。