Prob ch2
Prob ch2
Chapter 2 Viewgraphs
1
Random Variables
Observation is an outcome
2
Random Variables
Three ways to get a rv:
The rv is a function of a rv
3
Discrete Random Variables
is discrete is is countable
4
PMF Properties
For an event ,
5
Bernoulli RV
Get the phone number of a random student. Let if the last digit is
even. Otherwise, let .
otherwise
6
Binomial RV
no. of rejects
otherwise
7
Geometric RV
Circuit rejected with prob . is the number of tests up to and including the
first reject.
From the tree, , ,
otherwise
8
Geometric:
otherwise
0.2
P (y)
0.1
Y
0
0 10 20
y
9
Pascal RV
rejects in tests
success on attempt
10
Pascal continued
and is binomial:
succ. in trials
otherwise
11
Pascal: ,
otherwise
0.1
P (l)
0.05
L
0
0 10 20 30 40
l
12
Summary
13
Poisson rv
With ,
otherwise
14
Poisson:
otherwise
P (j)
0.5
J 0
0 2 4
j
15
Poisson:
otherwise
0.2
P (j)
0.1
J
0
0 5 10 15
j
16
Cumulative Distribution Functions
17
CDF Example
1
1
P (r)
F (r)
0.5 0.5
R
R
0 0
−1 0 1 2 3 −1 0 1 2 3
r r
hand limit)
18
CDF Properties
For any discrete rv , range satisfying ,
and
For all ,
for
19
Expected Value
Also called the average of .
20
Average vs.
Average of samples:
Each . If each occurs times,
21
Derived Random Variables
Notation:
Experimental Procedure
22
PMF of
!
23
Problem 2.6.5
If rec’d packet is error-free, rec’vr sends back ACK, otherwise NAK sent.
24
Expected value of
Example: :
25
Variance and Std Deviation
Variance:
Variance measures spread of PMF
Standard Deviation:
26
Properties of the variance
If , .
If , .
27
Conditional PMF of given
Given , with ,
Two kinds of conditioning.
28
Conditional PMFs - version 1
#
Example: In the th month of the year, the number of cars crossing the
GW bridge is Poisson with param .
29
Conditional PMFs - version 2
$
%
&
otherwise
30
Conditional PMF Example
Example: is geometric with . What is the conditional PMF of
given event that ?
31
Conditional Expectations
Replace with
32