Probability Theory 概率理論(2)

In order to derive the rules of probability, consider the slightly more general example shown in Figure 1.10 involving two random variables X and Y (which could for instance be the Box and Fruit variables considered above). We shall suppose that X can take any of the values xi where i =1,...,M, and Y can take the values yj where j =1,...,L. Consider a total of N trials in which we sample both of the variables X and Y , and let the number of such trials in which X = xi and Y = yj be nij. Also, let the number of trials in which X takes the value xi (irrespective of the value that Y takes) be denoted by ci, and similarly let the number of trials in which Y takes the value yj be denoted by rj.

為了引出概率的規(guī)則,假設(shè)一個更一般化的例子罩缴,如圖1.10,有兩個隨機變量X和Y节吮。我們會假設(shè)X可以取任何的xi,其中i=1,...,M,捞烟;Y能取任何yj吠卷,其中j=1,...,L.假設(shè)進行了N次試驗,其中我們抽樣兩個隨機變量X和Y岛心,讓X=xi并且Y=yj的次數(shù)是nij来破。并且,X是xi的次數(shù)忘古,記為ci徘禁,類似,Y=yj的次數(shù)髓堪,記為rj送朱。


The probability that X will take the value xi and Y will take the value yj is written p(X = xi, Y = yj ) and is called the joint probability of X = xi and

X取Y取得概率記作p(X= Y=),即叫做X=Y=的聯(lián)合概率干旁。

Y = yj . It is given by the number of points falling in the cell i,j as a fraction of the total number of points, and hence

它就是落在i,j空格里的點的個數(shù)和所有點總數(shù)的比率驶沼。因此有

Here we are implicitly considering the limit N → ∞. Similarly, the probability that X takes the value xi irrespective of the value of Y is written as p(X = x_{i} ) and is? given by the fraction of the total number of points that fall in column i, so that Because the number of instances in column i in Figure 1.10 is just the sum of the number of instances in each cell of that column, we have ci = \sum\nolimits_{j}n_{ij} ? j nij and therefore,

在這里我們考慮N趨于無群大,相似的疤孕,不管Y取什么商乎,p(X=)的概率是落入i列,即c i= n ij祭阀,因此

from (1.5) and (1.6), we have

結(jié)合公式1.5和1.6鹉戚,我們有

which is the sum rule of probability. Note that p(X = xi) is sometimes called the marginal probability, because it is obtained by marginalizing, or summing out, the other variables (in this case Y ). If we consider only those instances for which X = xi, then the fraction of such instances for which Y = yj is written p(Y = yj |X = xi) and is called the conditional probability of Y = yj given X = xi. It is obtained by finding the fraction of those points in column i that fall in cell i,j and hence is given by

這就是概率的加法規(guī)則。注意P(X=xi)有時也叫做邊際概率专控,因為它是通過邊緣化或者加和了其他變量得到的抹凳,如果我們考慮僅當(dāng)X=xi時的情況,那在這種情況下Y=yj的部分伦腐,記作當(dāng)X=xi時赢底,Y=yj的條件概率。它是在i列中落在空格ij的部分柏蘑,公式如下

From (1.5), (1.6), and (1.8), we can then derive the following relationship

結(jié)合1.5 1.6和1.8幸冻,我們能推到出下面的關(guān)系,

which is the product rule of probability.

這是概率的乘法規(guī)則咳焚。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末洽损,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子革半,更是在濱河造成了極大的恐慌碑定,老刑警劉巖流码,帶你破解...
    沈念sama閱讀 218,122評論 6 505
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異延刘,居然都是意外死亡漫试,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,070評論 3 395
  • 文/潘曉璐 我一進店門碘赖,熙熙樓的掌柜王于貴愁眉苦臉地迎上來驾荣,“玉大人,你說我怎么就攤上這事崖疤∶爻担” “怎么了?”我有些...
    開封第一講書人閱讀 164,491評論 0 354
  • 文/不壞的土叔 我叫張陵劫哼,是天一觀的道長叮趴。 經(jīng)常有香客問我,道長权烧,這世上最難降的妖魔是什么眯亦? 我笑而不...
    開封第一講書人閱讀 58,636評論 1 293
  • 正文 為了忘掉前任,我火速辦了婚禮般码,結(jié)果婚禮上妻率,老公的妹妹穿的比我還像新娘。我一直安慰自己板祝,他們只是感情好宫静,可當(dāng)我...
    茶點故事閱讀 67,676評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著券时,像睡著了一般孤里。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上橘洞,一...
    開封第一講書人閱讀 51,541評論 1 305
  • 那天捌袜,我揣著相機與錄音,去河邊找鬼炸枣。 笑死虏等,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的适肠。 我是一名探鬼主播霍衫,決...
    沈念sama閱讀 40,292評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼侯养!你這毒婦竟也來了敦跌?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,211評論 0 276
  • 序言:老撾萬榮一對情侶失蹤沸毁,失蹤者是張志新(化名)和其女友劉穎峰髓,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體息尺,經(jīng)...
    沈念sama閱讀 45,655評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡携兵,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,846評論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了搂誉。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片徐紧。...
    茶點故事閱讀 39,965評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖炭懊,靈堂內(nèi)的尸體忽然破棺而出并级,到底是詐尸還是另有隱情,我是刑警寧澤侮腹,帶...
    沈念sama閱讀 35,684評論 5 347
  • 正文 年R本政府宣布嘲碧,位于F島的核電站,受9級特大地震影響父阻,放射性物質(zhì)發(fā)生泄漏愈涩。R本人自食惡果不足惜艘希,卻給世界環(huán)境...
    茶點故事閱讀 41,295評論 3 329
  • 文/蒙蒙 一台丛、第九天 我趴在偏房一處隱蔽的房頂上張望习劫。 院中可真熱鬧萤彩,春花似錦吩屹、人聲如沸亦镶。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,894評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽苛茂。三九已至已烤,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間味悄,已是汗流浹背草戈。 一陣腳步聲響...
    開封第一講書人閱讀 33,012評論 1 269
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留侍瑟,地道東北人唐片。 一個月前我還...
    沈念sama閱讀 48,126評論 3 370
  • 正文 我出身青樓,卻偏偏與公主長得像涨颜,于是被迫代替她去往敵國和親费韭。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,914評論 2 355

推薦閱讀更多精彩內(nèi)容

  • A key concept in the ?eld of pattern recognition is that ...
    Eric_dsc閱讀 431評論 0 1
  • 夜鶯2517閱讀 127,720評論 1 9
  • 版本:ios 1.2.1 亮點: 1.app角標(biāo)可以實時更新天氣溫度或選擇空氣質(zhì)量庭瑰,建議處女座就不要選了星持,不然老想...
    我就是沉沉閱讀 6,896評論 1 6
  • 我是一名過去式的高三狗,很可悲弹灭,在這三年里我沒有戀愛督暂,看著同齡的小伙伴們一對兒一對兒的揪垄,我的心不好受。怎么說呢逻翁,高...
    小娘紙閱讀 3,388評論 4 7
  • 我是黑夜里大雨紛飛的人啊 1 “又到一年六月饥努,有人笑有人哭,有人歡樂有人憂愁八回,有人驚喜有人失落酷愧,有的覺得收獲滿滿有...
    陌忘宇閱讀 8,536評論 28 53