Professional Documents
Culture Documents
Peijie Hou
Definition
Let S be the sample space of a random experiment. A
random variable defined on S is a function from S into the
reals. We usually denote random variables by the capital
letters X , Y , etc. In mathematical notation,
X : S → R.
S = {TTTTTTTTTT , . . . , HHHHHHHHHH}
Y (TTTTTTTTTT ) = 10.
S1 S2 S3 S1 S2 S3 S1 S2 S3 S1 S2 S3 S1 S2 S3 S1 S2 S3 S1 S2 S3 S1 S2 S3
0.84645 0.00045 0.00095 0.00495 0.00855 0.04455 0.09405 0.00005
Y 0 1 2 3
P(Y = y )
Solution:
FY (y ) ≡ P(Y ≤ y ).
for constant cj .
E [g (Y )] = E [Y 2 − 6Y + 9] = E [Y 2 ] − 6E [Y ] + 9.
= 8.213
Project A B C
Prob of accept 0.30 0.80 0.10
Project A B C
Prob of accept 0.30 0.80 0.10
Solution:
Y 0 1 2 3
pY (y ) 0.126
Solution:
σ 2 ≡ Var (Y ) ≡ E (Y − µ)2
X
= (y − µ)2 pY (y ).
all y
E (X ) = p and Var(X ) = pq
Proof:
E (Y ) = np
Var (Y ) = np(1 − p).
> dbinom(3,20,0.1)
[1] 0.1901199
You can also calculate the probability that at least 6 homes out
of the sample having higher radon level than recommended:
Using R,
> 1-pbinom(5,20,0.1)
[1] 0.01125313
(a) 25 1 24
1 (0.03) (0.97)
25
(0.03)1 (0.97)24
(b) 1- 1
25
(0.03)0 (0.97)25
(c) 1- 0
25
(0.03)25 (0.97)0
(d) 1- 0
1
E (Y ) = .
p
Proof.
Let q = 1 − p, E (Y ) = ∞
P y −1 p = p
P∞ y −1 . The
y =1 yq P∞ yy =1 yq
right-hand side is the derivative of p y =1 q w.r.t. q. By
geometric series,
∞
X pq
p qy = .
1−q
y =1
h i
∂ pq 1
It follows that E (Y ) = ∂q 1−q = p
Solution:
If Y ∼ hyper(N, n, r ), then
I E (Y ) = n( Nr )
I Var (Y ) = n( Nr )( N−r N−n
N )( N−1 ).
> dhyper(4,100,200,4)
[1] 0.01185408
> phyper(1,100,200,4)
[1] 0.5925943
(50)(959)
(b)
(100
9 )
(50)(95
10)
(c)
(100
10 )
(105 )(950)
(d)
(100
10 )
If Y ∼ Poisson(λt),
E (Y ) = λt
Var (Y ) = λt.
Y ∼ Poisson(5.2).
Y ∼ Poisson(1.3)