プリンキピア

第2章準備

2.6.8. Exercises2.6.8 練習問題

  1. Give an example where observing more data can reduce the amount of uncertainty about the outcome to an arbitrarily low level.
    英語のヒント
    より多くのデータを観測すると、結果についての不確かさを任意に低い水準まで減らせる例を挙げよ。
  2. Give an example where observing more data will only reduce the amount of uncertainty up to a point and then no further. Explain why this is the case and where you expect this point to occur.
    英語のヒント
    より多くのデータを観測しても、不確かさはある点までしか減らず、それ以上は減らない例を挙げよ。なぜそうなるのか、その点がどこで起こると予想されるかを説明せよ。
  3. We empirically demonstrated convergence to the mean for the toss of a coin. Calculate the variance of the estimate of the probability that we see a head after drawing n samples.
    英語のヒント
    硬貨投げについて、平均への収束を経験的に示した。n個のサンプルを取り出した後に表が出る確率の推定値の分散を計算せよ。
    1. How does the variance scale with the number of observations?
      英語のヒント
      分散は観測の数に対してどう変化するか。
    2. Use Chebyshev’s inequality to bound the deviation from the expectation.
      英語のヒント
      チェビシェフの不等式を使って、期待値からのずれを抑えよ。
    3. How does it relate to the central limit theorem?
      英語のヒント
      それは中心極限定理とどう関係するか。
  4. Assume that we draw m samples xi from a probability distribution with zero mean and unit variance. Compute the averages zm=defm−1∑i=1mxi. Can we apply Chebyshev’s inequality for every zm independently? Why not?
    英語のヒント
    平均0、分散1の確率分布からm個のサンプルxiを取り出すとしよう。平均zm=defm−1∑i=1mxiを計算せよ。すべてのzmについて、独立にチェビシェフの不等式を当てはめられるか。なぜできないのか。
  5. Given two events with probability P(𝒜) and P(ℬ), compute upper and lower bounds on P(𝒜∪ℬ) and P(𝒜∩ℬ). Hint: graph the situation using a Venn diagram.
    英語のヒント
    確率P(𝒜)とP(ℬ)をもつ二つの事象が与えられたとき、P(𝒜∪ℬ)とP(𝒜∩ℬ)の上界と下界を計算せよ。ヒント:ベン図を使って状況を図示せよ。
  6. Assume that we have a sequence of random variables, say A, B, and C, where B only depends on A, and C only depends on B, can you simplify the joint probability P(A,B,C)? Hint: this is a Markov chain.
    英語のヒント
    確率変数の列、たとえばA、B、Cがあり、BはAだけに依存し、CはBだけに依存するとき、同時確率P(A,B,C)を簡単にできるか。ヒント:これはマルコフ連鎖である。
  7. In Section 2.6.5, assume that the outcomes of the two tests are not independent. In particular assume that either test on its own has a false positive rate of 10% and a false negative rate of 1%. That is, assume that P(D=1∣H=0)=0.1 and that P(D=0∣H=1)=0.01. Moreover, assume that for H=1 (infected) the test outcomes are conditionally independent, i.e., that P(D1,D2∣H=1)=P(D1∣H=1)P(D2∣H=1) but that for healthy patients the outcomes are coupled via P(D1=D2=1∣H=0)=0.02.
    英語のヒント
    2.6.5節で、二つの検査の結果が独立でないとしよう。特に、どちらの検査も単独では偽陽性率が10%、偽陰性率が1%だとする。つまり、P(D=1∣H=0)=0.1で、P(D=0∣H=1)=0.01だとする。さらに、H=1(感染している)の場合は検査結果が条件付き独立、つまりP(D1,D2∣H=1)=P(D1∣H=1)P(D2∣H=1)だが、健康な患者では結果がP(D1=D2=1∣H=0)=0.02によって結びついているとする。
    1. Work out the joint probability table for D1 and D2, given H=0 based on the information you have so far.
      英語のヒント
      ここまでの情報にもとづいて、H=0が与えられたときのD1とD2の同時確率の表を作れ。
    2. Derive the probability that the patient is diseased (H=1) after one test returns positive. You can assume the same baseline probability P(H=1)=0.0015 as before.
      英語のヒント
      一つの検査が陽性で返ってきた後に、患者が病気である(H=1)確率を導け。基準の確率は前と同じP(H=1)=0.0015と仮定してよい。
    3. Derive the probability that the patient is diseased (H=1) after both tests return positive.
      英語のヒント
      両方の検査が陽性で返ってきた後に、患者が病気である(H=1)確率を導け。
  8. Assume that you are an asset manager for an investment bank and you have a choice of stocks si to invest in. Your portfolio needs to add up to 1 with weights αi for each stock. The stocks have an average return 𝝁=E𝐬∼P[𝐬] and covariance 𝚺=Cov𝐬∼P[𝐬].
    英語のヒント
    あなたは投資銀行の資産運用者で、投資する株式siを選べるとしよう。ポートフォリオは、各株式の重みαiの合計が1にならなければならない。株式は平均利益𝝁=E𝐬∼P[𝐬]と共分散𝚺=Cov𝐬∼P[𝐬]をもつ。
    1. Compute the expected return for a given portfolio 𝜶.
      英語のヒント
      与えられたポートフォリオ𝜶の期待利益を計算せよ。
    2. If you wanted to maximize the return of the portfolio, how should you choose your investment?
      英語のヒント
      ポートフォリオの利益を最大にしたいなら、投資をどう選ぶべきか。
    3. Compute the variance of the portfolio.
      英語のヒント
      ポートフォリオの分散を計算せよ。
    4. Formulate an optimization problem of maximizing the return while keeping the variance constrained to an upper bound. This is the Nobel-Prize winning Markovitz portfolio (Mangram, 2013). To solve it you will need a quadratic programming solver, something way beyond the scope of this book.
      英語のヒント
      分散を上限以下に抑えながら利益を最大にする最適化問題を定式化せよ。これはノーベル賞を受けたマーコウィッツのポートフォリオである(Mangram, 2013)。これを解くには2次計画法のソルバーが必要で、この本の範囲をはるかに超える。