Random variables, expectation, and variance
DSE 210
Random variables
Roll a die. Define X = ⇢ 1 if die is ≥ 3
- therwise
Random variables, expectation, and variance DSE 210 Random - - PDF document
Random variables, expectation, and variance DSE 210 Random variables Roll a die. 1 if die is 3 Define X = 0 otherwise Here the sample space is = { 1 , 2 , 3 , 4 , 5 , 6 } . = 1 , 2 X = 0 = 3 , 4 , 5 , 6 X = 1 Roll n
x
1 36 2 36 3 36 4 36 5 36 6 36 5 36 4 36 3 36 2 36 1 36
x Pr(x) x Pr(x) µ µ
n
i=1
n
i=1
n
i=1
n
i=1
n1,n2,...,nk
1 pn2 2 · · · pnk k , where
It was the best of times, it was the
worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the
so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only.
despair evil happiness foolishness 1 1 2
i
radioactive substance counter
1 Model each coordinate separately and treat them as independent.
2 Multivariate Gaussian.
3 More general graphical models.
784
i=1
i )2.
1 First choose y 2 Then choose x given y
x Pr(x) P1(x) P2(x) P3(x) π1= 10% π2= 50% π3= 40%
i=1 πiPi(x)
x Pr(x) P1(x) P2(x) P3(x) π1= 10% π2= 50% π3= 40%
1 P1(x) 7/8 1/8
1 P2(x) 1
1 P3(x) 1/2