Download Chapter 2 Discrete Random Variables (Part II)

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Chapter 2
Discrete Random Variables (Part II)
Chih-Wei Tang
Visual Communications Lab
Department of Communication Engineering,
National Central University
Jhongli, Taiwan
2017 Spring
Outline
♪
♪
♪
♪
♪
♪
♪
Definitions
Families of Discrete Random Variables
Cumulative Distribution Function (CDF)
Averages
Derived Random Variable
Variance and Standard Deviation
Conditional Probability Mass Function
C.E., NCU, Taiwan
2
1. Discrete random variable
2. Continuous random variable
Definition 2.4
3
Cumulative Distribution Function
FX ( x)  0, if x  xmin ,
FX ( x)  1, if x  xmax .
C.E., NCU, Taiwan
4
Related Theorem of
Cumulative Distribution Function (1/2)
C.E., NCU, Taiwan
5
Related Theorem of
Cumulative Distribution Function (2/2)
• Going from left to right on the x-axis, FX (x) starts at
zero and ends at one.
• The CDF never decreases as it goes from left to right.
• For a discrete random variable xi  S X, there is a
jump (discontinuity) at each value of X . The height
of the jump at xi is PX ( xi ) .
• Between jumps, the graph of the CDF of the
discrete random variable X is a horizontal line.
C.E., NCU, Taiwan
6
Outline
♪
♪
♪
♪
♪
♪
♪
Definitions
Families of Discrete Random Variables
Cumulative Distribution Function (CDF)
Averages
Derived Random Variable
Variance and Standard Deviation
Conditional Probability Mass Function
C.E., NCU, Taiwan
7
How to Describe A Collection of Numerical
Observations with A Single Number?
1
2
3
C.E., NCU, Taiwan
8
C.E., NCU, Taiwan
9
Outline
♪
♪
♪
♪
♪
♪
♪
Definitions
Families of Discrete Random Variables
Cumulative Distribution Function (CDF)
Averages
Derived Random Variable
Variance and Standard Deviation
Conditional Probability Mass Function
C.E., NCU, Taiwan
10
Example #1 – Derived Random Variable
Random variable
PX (x)
C.E., NCU, Taiwan
Derived
Random variable
Y  g( X )
11
Definition – Derived Random Variable
C.E., NCU, Taiwan
12
Example #2 – Derived Random Variable (1/2)
C.E., NCU, Taiwan
13
Example #2 – Derived Random Variable (2/2)
v  3,2,1, 0, 1, 2, 3.
9
1
1 9
y  , 2, , 0, ,2, .
2
2
2 2
C.E., NCU, Taiwan
14
Expected Value of
A Derived Random Variable
C.E., NCU, Taiwan
15
C.E., NCU, Taiwan
16
Outline
♪
♪
♪
♪
♪
♪
♪
Definitions
Families of Discrete Random Variables
Cumulative Distribution Function (CDF)
Averages
Derived Random Variable
Variance and Standard Deviation
Conditional Probability Mass Function
C.E., NCU, Taiwan
17
Definition – Variance
C.E., NCU, Taiwan
18
Example – Variance (1/2)
C.E., NCU, Taiwan
19
Example – Variance (2/2)
C.E., NCU, Taiwan
20
Theorems Related to Variance (1/2)
C.E., NCU, Taiwan
21
Theorems Related to Variance (2/2)
Y  a 2  X  2ab X  b 2
2
2
Var[Y ]  E[Y 2 ] - E 2 [Y ]  Y 2  E 2 [aX  b]
C.E.,
(a 2NCU,
 X 2Taiwan
 2ab X  b 2 )  (a 2  X2  2ab X  b 2 )  a 2 (  X 2   X2 )  a 2 Var22[ X ]
22
Example –
Theorems Related to Variance (1/2)
C.E., NCU, Taiwan
23
Example –
Theorems Related to Variance (2/2)
C.E., NCU, Taiwan
24
Outline
♪
♪
♪
♪
♪
♪
♪
Definitions
Families of Discrete Random Variables
Cumulative Distribution Function (CDF)
Averages
Derived Random Variable
Variance and Standard Deviation
Conditional Probability Mass Function
C.E., NCU, Taiwan
25
Get Unconditional PMF from
Conditional PMF
• The conditioning event B contains information about X but not
the precise value of X.
• Use the law of total probability!
C.E., NCU, Taiwan
26
Example – Get Unconditional PMF from
Conditional PMF (1/2)
C.E., NCU, Taiwan
27
Example – Get Unconditional PMF from
Conditional PMF (2/2)
C.E., NCU, Taiwan
28
Conditional PMF
P[ X  x, B]
PX |B ( x) 
P[ B]
xB
• When we learn that an outcome x  B , the probabilities
of all x  B are 0 in our conditional model.
• The probabilities of all x  B are proportionally higher than
they were before we learned x  B .
C.E., NCU, Taiwan
29
Example – Conditional PMF (1/2)
C.E., NCU, Taiwan
30
Example – Conditional PMF (2/2)
C.E., NCU, Taiwan
31
Conditional Expected Value (1/2)
C.E., NCU, Taiwan
32
Conditional Expected Value (2/2)
C.E., NCU, Taiwan
3333
Related documents