プリンキピア

第4章離散確率変数

4.4 Geometric Distribution4.4 幾何分布

There are four main characteristics of a geometric experiment.
幾何実験には四つの主な特徴がある。
  1. A trial is repeated until a success occurs. Think of this as one or more Bernoulli trials with all failures except the last one, which is a success. In other words, you keep repeating what you are doing until the first success. Then you stop. For example, you throw a dart at a bullseye until you hit the bullseye. The first time you hit the bullseye is a "success," so you stop throwing the dart. It might take six tries until you hit the bullseye. You can think of the trials as failure, failure, failure, failure, failure, success, STOP. In theory, the number of trials could go on forever.
    英語のヒント
    成功するまで試行を繰り返す。最後の1回だけが成功で、それ以外はすべて失敗となる、1回以上のベルヌーイ試行と考えればよい。言い換えると、最初の成功まで同じことを繰り返し、成功したらやめる。たとえば、的の中心に当たるまでダーツを投げる。初めて中心に当たったときが「成功」なので、そこで投げるのをやめる。中心に当たるまで6回かかるかもしれない。試行を「失敗、失敗、失敗、失敗、失敗、成功、終了」と考えられる。理論上、試行はいつまでも続く可能性がある。
  2. The repeated trials are independent of each other.
    繰り返される試行は、互いに独立である。
  3. The probability, p, of a success and the probability, q, of a failure is the same for each trial. p+q =1 and q=1-p. For example, the probability of rolling a three when you throw one fair die is 1/6. This is true no matter how many times you roll the die. Suppose you want to know the probability of getting the first three on the fifth roll. On rolls one through four, you do not get a face with a three. The probability for each of the rolls is q=5/6, the probability of a failure. The probability of getting a first three on the fifth roll is (5/6)(5/6)(5/6)(5/6)(1/6) = 0.0804
    成功確率pと失敗確率qは、各試行で同じである。p+q =1かつq=1-p たとえば、公平なサイコロを1個投げて3の目が出る確率は1/6である。何回投げてもこれは変わらない。5回目に初めて3の目が出る確率を知りたいとする。1〜4回目には3の目が出ない。各回の確率は失敗確率q=5/6である。5回目に初めて3の目が出る確率は(5/6)(5/6)(5/6)(5/6)(1/6) = 0.0804である。
  4. The random variable X represents the number of the trial in which the first success occurs. That is, X = the number of independent trials until the first success.
    確率変数Xは、最初に成功する試行が何回目かを表す。すなわち、X = 最初の成功までに行う独立な試行の回数である。
The following are additional attributes of the geometric distribution:
幾何分布には、さらに次の性質がある。
  1. The random variable is discrete. The random variable may be defined in two ways depending upon the analyst’s interest. In the example above for throwing a die, the question was “What is the probability that the first success will be on the fifth throw?” Alternatively, the question could be asked as “What is the probability that it takes four failures before a success?” We will see that each way of asking the question will alter the form of the geometric probability density function slightly and will change the mean and standard deviation of the geometric pdf.
    確率変数は離散型である。分析者の関心によって、二通りに定義できる。先ほどのサイコロの例では、「5回目に初めて成功する確率はいくらか」と問うた。これを「成功する前に4回失敗する確率はいくらか」と問うこともできる。問い方によって幾何確率密度関数の形がわずかに変わり、その平均と標準偏差も変わることを見ていく。
  2. Implicit in the random variable is that the probability of a success is constant and therefore so is the probability of a failure. For flipping a coin this is obvious, but in experiments that require skill, such as hitting a baseball or throwing a dart, one might consider that learning during the experiment would alter the probability of a success. The geometric distribution cannot capture “learning” thus the historical probability of success is assumed to be constant.
    英語のヒント
    この確率変数には、成功確率が一定であり、したがって失敗確率も一定だという前提が含まれている。硬貨投げでは明らかだが、野球の打撃やダーツ投げのように技能を要する実験では、実験中の学習によって成功確率が変わると考えられるかもしれない。幾何分布は「学習」を捉えられないため、過去の成功確率が一定であると仮定する。
  3. The geometric distribution is “memoryless.” There are very few probability density functions that are what is known as “memoryless,” and the Geometric distribution is the only one with a discrete random variable that is memoryless. As an example, historically Major League Baseball player Jones has a record of hitting the ball for at least an advance to first base with a probability of 0.20. Jones has not had a hit in his last 10 times at bat. What is the probability that Jones will get a hit in his third time at bat? The answer ignores his 10 previous failures. All events prior to the events in current time are irrelevant and thus are considered “memoryless.”
    英語のヒント
    幾何分布は「無記憶」である。「無記憶」と呼ばれる確率密度関数はごく少なく、離散確率変数で無記憶性をもつのは幾何分布だけである。例として、大リーグの選手ジョーンズには、少なくとも一塁まで進む安打を放つ確率が過去の成績で0.20だという記録がある。直近の10打席では安打が出ていない。これから3打席目に安打を放つ確率はいくらか。答えでは、直前の10回の失敗を無視する。現在の事象より前のすべての事象は無関係なので、「無記憶」とされる。
Formally: Px=n+k|x≥k+1=P(x=n), where k = number of previous failures
式で表すと、Px=n+k|x≥k+1=P(x=n) ここでkは、それまでの失敗回数である。
Jones’s probability of a hit begins anew each time he comes to bat. This feature of the geometric distribution results in a curious result: Drawing parts from a manufacturing process to test for parts that are defective, the geometric distribution begins with a clean slate each time the tests begin with no consideration of previous test results. More on this when we get to the exponential probability density function.
英語のヒント
ジョーンズの安打の確率は、打席に入るたびに新たに始まる。幾何分布のこの性質から、興味深い結果が得られる。製造工程から部品を取り出して不良品を調べるとき、幾何分布は、過去の検査結果を考慮せず、検査開始のたびに白紙の状態から始まる。これについては指数確率密度関数を扱うときに詳しく述べる。
Example 4.17例題 4.17
You play a game of chance that you can either win or lose (there are no other possibilities) until you lose. Your probability of losing is p = 0.57. What is the probability that it takes five games until you lose? Let X = the number of games you play until you lose (includes the losing game). Then X takes on the values 1, 2, 3, ... (could go on indefinitely). The probability question is P(x = 5).
勝ちか負けしかない運任せのゲームを、負けるまで続ける。負ける確率はp = 0.57である。負けるまでに5回かかる確率はいくらか。X = 負けるまでに行うゲームの回数(負けた回も含む)とする。Xは1、2、3、…の値を取る(際限なく続く可能性がある)。求める確率はP(x = 5)である。
Example 4.18例題 4.18
A safety engineer feels that 35% of all industrial accidents in the plant are caused by failure of employees to follow instructions. They decide to look at the accident reports (selected randomly and replaced in the pile after reading) until they find one that shows an accident caused by failure of employees to follow instructions. On average, how many reports would the safety engineer expect to look at until they find a report showing an accident caused by employee failure to follow instructions? What is the probability that the safety engineer will have to examine at least three reports until they find a report showing an accident caused by employee failure to follow instructions?
英語のヒント
ある安全技術者は、工場内の労働災害の35%が、従業員が指示に従わないことに起因すると考えている。その原因による事故報告書が見つかるまで、報告書を調べることにした(無作為に選び、読んだ後は山に戻す)。指示に従わないことによる事故の報告書が見つかるまでに、平均して何件の報告書を読むと予想されるか。そのような報告書が見つかるまでに、少なくとも3件調べる必要がある確率はいくらか。
Let X = the number of accidents the safety engineer must examine until they find a report showing an accident caused by employee failure to follow instructions. X takes on the values 1, 2, 3, .... The first question asks you to find the expected value or the mean. The second question asks you to find P(x ≥ 3). ("At least" translates to a "greater than or equal to" symbol).
X = 従業員が指示に従わないことによる事故の報告書が見つかるまで、安全技術者が調べる事故の件数とする。Xは1、2、3、…の値を取る。最初の問いは期待値、すなわち平均を求めるものである。2番目の問いはP(x ≥ 3)を求めるものである(「少なくとも」は「以上」の記号で表す)。
Solution解き方
  1. On average, how many reports would the safety engineer expect to review until they find a report showing an accident caused by something other than failure to follow instructions? This question asks you to find the expected value or the mean. This is the average number of failures from something other than following instructions. The formula for the mean of this geometric distribution is:
    μ=Ex=1p≈2.8
    Note that the mean does not need to be a whole number although the random variable is discrete and must be a counting number
    指示に従わないこと以外の原因による事故の報告書を見つけるまで、安全技術者は平均して何件の報告書を読むと予想されるか。この問いでは期待値、すなわち平均を求める。これは、指示に従うこと以外の何かに起因する失敗の平均回数である。この幾何分布の平均の公式は、μ=Ex=1p≈2.8となる。確率変数は離散型で、数えられる整数でなければならないが、平均は整数でなくてもよいことに注意しよう。
  2. What is the probability that the safety engineer will have to examine at least three reports until they find a report showing an accident caused by employee failure to follow instructions?
    This question is answered by first defining the random variable. Let X = the number of accidents the safety engineer must examine until they find a report showing an accident caused by employee failure to follow instructions. X can take on the values 1, 2, 3, 4, … ∞. Unlike the binomial distribution with a fixed number of trials, the geometric distribution may have an infinite number of failed trials before a success occurs.
    This second question asks you to find P(x ≥ 3). ("At least" translates to a "greater than or equal to" symbol.)
    In a binomial distribution, we saw the solution to questions of “more than” or “less than” would be to calculate each probability individually and add from zero to three. If the probability of interest is “greater than or equal to” (≥) the individual probabilities are added from zero to three and then subtracted from one.
    Px ≥3=1-P(x<3)
    Because we cannot add the full range of the geometric distribution random variable because it goes through infinity, an alternative solution is developed. An alternative geometric distribution pair of formulas provides solutions for questions asking for probabilities “more than” and “less than.”
    If the question is:
    What is the probability it takes MORE THAN n events to get first success?
    Px>n=(1-p)n
    What is the probability it takes LESS THAN n event for success?
    Px<n=1-(1-p)n
    従業員が指示に従わないことによる事故の報告書が見つかるまで、安全技術者が少なくとも3件調べる必要がある確率はいくらか。まず確率変数を定義する。X = 従業員が指示に従わないことによる事故の報告書が見つかるまで、安全技術者が調べる事故の件数とする。Xは1、2、3、4、…、∞の値を取りうる。試行回数が固定された二項分布とは異なり、幾何分布では成功するまでの失敗回数が無限に続く可能性がある。この2番目の問いではP(x ≥ 3)を求める(「少なくとも」は「以上」の記号で表す)。二項分布では、「より多い」「より少ない」という問いに対し、それぞれの確率を計算して0から3まで足し合わせた。求める確率が「以上」(≥)なら、0から3までの個別の確率を足し合わせ、それを1から引く。Px ≥3=1-P(x<3)幾何分布の確率変数は無限まで続くため、全範囲を足し合わせられない。そこで別の解法を用意する。幾何分布の別の一組の公式により、「より多い」「より少ない」確率を求められる。最初の成功までにn回より多くかかる確率はいくらか:Px>n=(1-p)n成功までにn回未満しかかからない確率はいくらか:Px<n=1-(1-p)n
Example 4.19例題 4.19
Suppose that you are looking for a student at your college who lives within five miles of you. You know that 55% of the 25,000 students do live within five miles of you. You randomly contact students from the college until one says they live within five miles of you. What is the probability that you need to contact four people?
自宅から5マイル以内に住む、同じ大学の学生を探しているとする。学生25,000人の55%が実際に5マイル以内に住んでいると分かっている。5マイル以内に住むという人が見つかるまで、大学の学生に無作為に連絡する。4人に連絡する必要がある確率はいくらか。
This is a geometric problem because you may have a number of failures before you have the one success you desire. Also, the probability of a success stays the same each time you ask a student if they live within five miles of you. There is no definite number of trials (number of times you ask a student).
望む1回の成功の前に何回か失敗する可能性があるため、これは幾何分布の問題である。また、5マイル以内に住むかどうかを学生に尋ねるたびに、成功確率は変わらない。試行回数(学生に尋ねる回数)は決まっていない。
a. Let X = the number of ____________ you must ask ____________ one says yes.
a. X = 1人が「はい」と答える____________、尋ねる必要のある____________の数とする。
b. What values does X take on?
b. Xはどのような値を取るか。
c. What are p and q?
c. pとqはいくらか。
d. The probability question is P(_______).
d. 求める確率はP(_______)である。
Solution解き方
a. Let X = the number of students you must ask until one says yes.
a. X = 1人が「はい」と答えるまでに尋ねる学生の人数とする。
b. 1, 2, 3, …, (total number of students)
b. 1、2、3、…、(学生の総数)
c. p = 0.55; q = 0.45
d. P(x = 4)