Professional Documents
Culture Documents
P (X = 2c) =
1
c
1
and P (X = ) =
2
2
2
1 c 1
5
+ = c.
2 2 2
4
Repeating this n times we get the expected values after n plays (5/4)n c.
(2) Let Xi , i = 1, . . . , n = 1000 be the indicators of getting heads. Then
Sn = X1 + . . . + Xn is the total number of heads. We want to nd k such
that P (440 Sn k) 0.5. Since = EXi = 0.5 and 2 = Var(Xi ) = 0.25
by central limit theorem,
Z=
Sn n
Sn 500
=
n
250
= 3.79 Z
)
250
250
k 500
(
) (3.79) = 0.5.
250
P (440 Sn k) = P (
k
500
250
0 and k 500.
n en
() =
( Xi )+1
Xi .
n
+ n log
Xi = 0
log
n
.
Xi n
1
e
()
=
f (|X1 , . . . , Xn ) 1 e
( Xi )+1
Xi
( Xi )
Q
Q
+n1 e+n log Xi = (+n)1 e(n+log Xi ) .
This shows that the posterior is again a gamma distribution with parameters
( + n, n + log
Xi ).
Bayes estimate is the expectation of the posterior which in this case is
=
+n
.
n + log Xi
1
1
2) X
+c
2)
c
(X 2 X
X
(X 2 X
n1
n1
where c that corresponds to 90% condence is found from the condition
t101 (c) t101 (c) = 0.9