Documente Academic
Documente Profesional
Documente Cultură
() =
( )
<
()
=0
1
3
3
1
=0
+1
+2
+3
= 1.5
8
8
8
8
4
1
1
1
=
=
=0
=0
1
=
0 + 1 + + 1
1 1
1
=
=
2
2
5
Example 12
A player pays $1.50 to toss a coin 3 times, and
wins $1 if the number of heads is 2 and $8 if the
number is 3.
(a) Find the expected value of the reward .
(b) What is the expected value of the gain?
(a)
4 1
0 = , , , = =
8 2
3
1 = , , =
8
1
8 = =
8
=
{0,1,8}
= 0 0 + 1 1 + 8 8
1
3
1
11
=0
+1
+8
=
2
8
8
8
(b)
11 12
1
1.5 = 1.5 =
=
8
8
8
Thus, the player losses 12.5 cents on average per game.
7
= 1,2,
=
=1
=1
(1)
=1
=0
(2)
=1
1 1 + 2 2 + + +
=
= 1 1 + 2 2 + + +
=
< > =
= []
: =
But
= =
: =
= =
=
12
( ) =
(1)
13
Example 13
Let be a noise voltage that is uniformly
distributed in = 3, 1, +1, +3 with
1
= for . Find [], where = 2
4
14
Approach I:
= 1, 9
1 1 1
1 = 1, +1 = 1 + 1 = + =
4 4 2
1 1 1
9 = 3, +3 = 3 + 3 = + =
4 4 2
1
1
= 1 1 + 9 9 = 1
+9
=5
2
2
Approach II:
=
= 3
1
+ 1
4
1
+ 1
4
1
= 9+1+1+9 =5
4
1
+ 3
4
1
4
15
+ +
= () +
(3)
16
+ ()
(4)
=
(iii) = 0, =
(5)
+ = +
(iv) = = 0
(6)
(7)
17
Example14
is noise voltage uniformly distributed in
= 3, 1, 1, 2 . The voltage is amplified
and shifted to obtained = 2 + 10, and then
square to produce = 2 = 2 + 10 2 . Find
[].
18
= 2 + 10 2 = 4 2 + 40 + 100
= 4 2 + 40 + 100
1
,
4
19
( )
=
=1
1
2
20
= 2
= 2
= 2 2
= 2
Thus, scaling a random variable by scales
the variance by 2 and the standard deviation
by ||.
Let = , then
= 2
= [] 2 = 2 = 0
Thus, a constant random variable has a zero
variance.
22
Example 15
Find , where is the number of heads in
three tosses of a fair coin.
23
24
= {0,1}
0 = 1 =
1 =
= = 0 1 + 1 =
2 = 0 2 1 + 1 2 =
2
= 2 = 2
= 1 =
25
1
=
1
Differentiating (1) w.r.t.
1
1
= 1,2 3 ,
(1)
=0
Let =
1
1
(2)
=0
=
=1
26
=0
=
1
1
= 2=
( 1) 2
(3)
=0
Letting =
2
1
( 1)2
=
=0
2
=
1 1
3
1
2
=
2
=0
2 1
=0
=0
2 1 2 + 2 + 1
1+
= 2+ =
=
= 2
2
2
2
1
+
2
2
= = 2
= 2
27
28
1
=
[]
(1)
29
[]
=
=1
[]
30
= = = , if
= = , if
=
( )
31
32
1
=
, + 1 +
=1
34
= 1, 2, 36
| |
2
|
=1
2
= 2 | |
37
Property:
[ ]
()
=1
=1
=1
=1
=1
=1
Similarly,
() =
() [ ]
()
=1
38
39
2 = 1 1 ,
= 1, 2,
1
|2 =
1
1
= + 1
40
2
2
2 = 2
2
2
= 2 + 2 1
= 2 2
2
2
= 2 + 2 1
2
1
1
+ 1
41
= 0, 1, ,
[ = ] is maximum at = + 1 ,
where denotes the largest integer that is
smaller than or equal to .
When + 1 is an integer, then the
maximum is achieved at and 1.
+ 1
=
, 0 = 1
+1 1
45
=
Since = 0 term is zero,
=
=0
=0
[] =
=1
!
1
! !
!
=
1
1 ! !
=1
=
Letting k = j + 1,
=1
1
=
=0
1
=
=0
( 1)!
1 1
( 1)! !
1 !
1
! 1 !
1
1
Since the summation contains all the terms in a binomial pmf with parameters 1 and , it is equal to
1.
=
46
!
1
! !
=0
=
Let = + 1
!
1
1 ! !
=1
2 =
=0
1
1
=0
1
1
1
1
= 1 + 1 = +
2 = = 2
= = (1 )
= +
47
3.
= 1,2,3,
1
=
= 2
=
=1
=1
=
=1
1
=
1
= 1
(1)
Therefore,
> = 1 = 1 1 + = (2)
48
+ >
+ > =
>
+
=
>
>+1
=
>
Using (2):
+1
1
+ > =
=
= >1
=
49
= = =
= 0, 1,
= 0, 1,
!
The pmf of the Poisson random variable sums to unity
() =
=
= = 1
!
!
=0
Mean:
Taylor series expansion of
=0
=0
=
=0
=
1
=
=0
=
=0
=0
=
!
= []
=0
Therefore,
=
53
Variance:
Differentiating (2) w.r.t.
=
=0
= 2
2
1
!
=0
2 =
=0
2
!
=0
2 = 2
2 = 2 +
=
= + =
54
(a)
= 10
1
= =
/
15
>4 =1 4
4
=1
=0
2
10 =
3
4
= 1
=0
= 6.33 104
2
2
3
3
(b)
= 2 60 = 120
1
= =
/ 120 = 8
15
5
<6 =
=0
=
=0
8 8
= 0.1
!
56
Example 22
The requests for telephone connections arrive at
a telephone switching office at a rate of calls
per second. It is known that the number of
requests in a time period is a Poisson random
variable. Find the probabilities that (a) there is
no call requests in seconds, and (b) there are
or more requests.
57
=1
=0
1
=1
=0
!
()
!
58
59
=
1
= 0, 1, 2, .
!
0 = 1
Since = , i. e. , =
0 = 1
+1 1 1
+1
= +1
+1
! !
+1 ! 1 !
=
=
!
+ 1 ! 1 ! (1 )
(1 )
! !
+1
=
=
=
+ 1
+ 1 1 ( + 1)(1 )
+1 1
60
+1
+1
+1
=
+1
0
1
1
+1
+1
+1 =
0
+1 !
=
0 =
!
!
Thus, the Poisson pmf is the limiting from of the
binomial pmf when the number of the Bernoulli
trials is made very large and the probability of
success is kept small, so that = is finite.
61
62
=1
=0
1 1
= 0.00366
!
63
64
65