



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to exercises related to probability and statistics. It covers topics such as binomial random variables, Stirling approximation, probability mass function, and geometric distribution. The solutions involve the use of various properties and formulas studied in class. step-by-step solutions to each exercise, making it a useful study material for students.
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




a. First, using the various properties we studied in class we can simplify the expression
2
2
2
2
This can be determined from the knowledge of both the mean and the variance. Note that
2
2
2
2
2
= 6 And thus:
2
⎦
2
2
⎦
2
2
2
2
2
2
2
Stirling approximation n!~ 2 πn
n 12+
e
−n
n n!
π
nn 12+ e−n
This formula is results from something called an asymptotic expansion, which is similar to a
Taylor expansion around infinity. In fact the above-cited formula is simply the first term in
the expansion, and one can improve over it by taking more terms, e.g.
n!~ 2 πnn 12+ e−n ⎡⎢ 1 +121n + 2881n 2 −
51840139n 3 − ⎤⎥⎦ ⎣
2k+ 12
e−2k 2 2 π
2 k+12 2k 12k + e−2k 1
b. k!k!2 2
k
~ ( 2 π
kk 12+ e− ) 2 2
2 πk2k+ 1 e−2k 2 2k
πk k 2k
of times that the number bet appears is a binomial random variable with parameters (3, ).
Hence, letting X denote the player’s winnings in the game we have
0
3
1
2
3
0
In order to determine whether or not this is a fair game for the player, let us calculate E [ X ].
From the preceding probabilities we obtain
E X [ ]=
= −
Hence, in the long run, the player will lose 17 units per every 216 games he plays.
P Y p i.
i = 10 i = 10 ⎝ ⎠ i
Not very high, but can happen.
n + 1
Proof:
E ⎡⎢⎣ X 1 + 1 ⎤⎥⎦=∑ i = n 0 ( i + 11 )⎛ ⎞⎝ ⎠⎜ ⎟ ni p qi n i − =∑ i = n 0 ( i + 11 ) i n !( n −! i )!
p qin i − =∑ i = n 0 ( i +1 !) ( n! n − i )! nn ++ 11 p qin i −
∑
=
n
i + 1
i
=
n
0
n
1
q ( n + − + 1 ) ( i 1 ) n + 1 i 0
q
=
∑
i
1 n 1 ⎛ n + 1 ⎞
j i = + 1 ( n + 1 ) p ∑ j += 1 ⎝⎜ j ⎠⎟ p qj ( n + − 1 ) j = ( n + 11 ) p ⎣⎢⎡∑ nj =+ 10 ⎛⎝⎜ n + j
1 ⎠⎟⎞ p qj ( n + − 1 ) j −⎝⎜⎛ n 0 + 1 ⎠⎟⎞ p q 0 ( n + −1 0) ⎤⎥⎦
= 1 ⎡⎢∑ n =+ 1 ⎛⎜ n + j 1 ⎞⎟⎠ p qj ( n + − 1 ) j − −( 1 p ) n + 1 ⎤⎥⎦
Note that
∑
n
j =
0
n +
j
j ( n + − 1 ) j
1 as this is the normalization condition for a Binomial RV
p q =
with parameters n+1 and p. Therefore
= n + 1 p ⎢∑ n =+ 1 ⎜⎛ n + j 1 ⎞⎠⎟ p qj ( n + − 1 ) j −
[ ]
n1 n
2 2
9 9
= =
=π++ + + + = π× = π
0 otherwise
Since the sample space contains b a − + 1 events, which are all equiprobable.
b. μ= X = = iP X = =
i
b 1 a 1 = i = b 1 a 1 2
i a − + i a − + ⎦
Note that this is simply the mean of a and b.
b a
2
a b 2 ab + 2 b
2
)−
⎦
⎤
⎥
And thus σ= = ( 2 a − + +
6 6
V = 43 πR 3 = π 43 R 3 = π 43 ∑n 3 × = π 1692 ∑n 3 =
a. The probability that the 3
rd
hole drilled is the first to yield a productive well is just
2
2
b. The probability that he will fail to find a productive well within 10 drills is
q =
2
2
VarX X X
σ
( ) ( )
2 2 2
2 2 2 2
b b
ia ia
X iPX i i
b a
b a a a b ab b a a b ab b
= =
∑ ∑
b. For a positive integer n : P Y > n =∑ q
y
−
1
p = p ∑∞ q
y
−
1
p 1 q
−
nq = p qpn = qn QED
c. Let m and n be any positive integers. Thus
P Y ( > + m n Y > n )= P ⎡⎣( Y > + P Ym ( n >) n )( Y > n )⎦⎤ ( Y m n > +=) (⊃ Y n > )
m n + m
P Y ( > + mn Y > n )= =
q
n = q =
This property is called the memoryless property of the geometric distribution since it says
that the only thing that matters is not when we actually started the experiment but rather the
last reported event of which we know there wasn’t a success.
The reason is that the trails are independent, and so knowing that there was no success up to
the n
th
event means that the first success will not depend at all on the trails which preceded
this one.
fish is p = 12
3
1
4
. Therefore, the number of fish we catch until we get a large one, denoted
here by Y, is Geometrically distributed with p = (if you are confused, try to see the analogy
between this and flipping a coin until you get a Tail). Since Y ~ G( ) , we immediately
know that its expected value is E Y[ ]=
1
p
Pow ered by TC PDF (ww w.tc pdf.org)