applied probability lecture 3 rajeev surati. agenda statistics pmfs –conditional pmfs –examples...
TRANSCRIPT
![Page 1: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/1.jpg)
Applied Probability Lecture 3
Rajeev Surati
![Page 2: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/2.jpg)
Agenda
• Statistics• PMFs
– Conditional PMFs
– Examples
– More on Expectations
• PDFs– Introduction
– Cumalative Density Functions
– Expectations, variances
![Page 3: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/3.jpg)
Statistics
If the number of citizens in a city goes up should the electric load go up?
![Page 4: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/4.jpg)
Statistics
• Statistically I can show that in Tucson Arizona the electric load goes up when the number of people goes down when people leave at the end of the winter
• Does that mean that people leaving caused the rise?
• The missing variable is temperature
![Page 5: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/5.jpg)
Probability Mass Functions
• Consider which equals probability that the values of x,y are and is often called the compound p.m.f.
•
and vis a vis.
),( 00, yxp yx
00 , yx
)(),(0
000, x
yyx ypyxp
![Page 6: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/6.jpg)
An example
• Show the pmf for p(r,h) of three coin flips, where length of longest run r and # of heads h
• Show that you can derive a distribution
• Expected value and variance of r
![Page 7: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/7.jpg)
Conditional PMF
• and independence
Implies for all x and y
Example: derive PMFs
)(
),()|(
0
00,00| yp
yxpyxp
y
yxyx
)()(),( 0000, ypxpyxp yxyx
![Page 8: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/8.jpg)
Expectations continued
Expectation of g(x,y)
Compute E(x+y)
Compute
),(),()),(( 00,00
0 0
yxpyxgyxgE yxx y
)))((( 2xExE
)))((( 2yxEyxE
![Page 9: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/9.jpg)
One last PMF Example
• Bernoulli Trial 1 if heads, 0 if tails
• Compute expected value and variance
• Compute expected value and variance of the sum of n such bernoulli trials
![Page 10: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/10.jpg)
Probability Density Function
• Here we are dealing with describing a set of points over a continuous range. Since the number of points is infinite we discuss densitiies rather than “masses” or rather PMFs are just PDFs with impulse functions at each discrete point in the PMF domain.
•
0
00)(
xx
xxx
0
0
1
0)(
0
xx
xxx
x
![Page 11: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/11.jpg)
Same old set of rules except…
1)( xp
0
)()(Pr)( 000
x
xx xfxxobxp
0)( xp
)()()(Pr apbpbxaob xx
)())((
00
0 xfdx
xpdx
x
![Page 12: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/12.jpg)
Some Example Events
• X<= 2
• 1 <= x <= 10
![Page 13: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/13.jpg)
An Example
• Exponential pdf
![Page 14: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density](https://reader036.vdocument.in/reader036/viewer/2022072006/56649f575503460f94c7c72c/html5/thumbnails/14.jpg)