Vina Nguyen HSSP – August 3, 2008 1

advertisement
Vina Nguyen
HSSP – August 3, 2008
1
ƒ
Random Variables Intro (see last lecture)
2
X = number of tosses needed for a head to
come up the first time
ƒ p = probability that a head is tossed
ƒ
ƒ
px(k) = (1-p)k-1p
T
k = [1,2,…]
T
T
k=4
3
H
ƒ
PMF of the geometric RV
4
ƒ
Applications
ƒ Passing a test in a given try
ƒ Finding a missing item in a given search
5
ƒ
px(k) =
e-λ
λk
k!
k = 0,1,2…
6
ƒ
Good approximation for binomial RV if
ƒ λ = np
ƒ
[ n is large, p is small ]
Example: # of typos in a book with
ƒ n = total words
ƒ p = small probability of words being misspelled
ƒ
Example: # of cars involved in an accident on
a given day
7
ƒ
ƒ
If n = 100, p=0.01
Result using the binomial PMF:
ƒ
Result using the Poisson PMF:
ƒ
Poisson RV is easier to calculate
8
ƒ
You go to a party with 500 guests. What is
the probability that exactly one other guest
has the same birthday as you? Calculate this
exactly and also approximately using the
Poisson PMF. (Exclude birthdays on February
29.)
9
ƒ
ƒ
ƒ
ƒ
Bernoulli
Binomial
Geometric
Poisson
10
ƒ
Expectation
ƒ Mean
ƒ Expected Value
ƒ
Variance
ƒ Measure of how spread out a distribution is
11
ƒ
Consider 2 independent coin tosses, each
with a ¾ probability of a head, and let X be
the # of heads obtained.
ƒ
This is a binomial random variable with
parameters n=2, p=3/4
12
ƒ
ƒ
What is the PMF?
What is its mean?
E[X] = ?
13
ƒ
E[X] = ∑ x px(x)
ƒ
Sum of all possible values of x multiplied by
their probabilities
14
ƒ
Var(X) = expected value of (X-E[X])2
ƒ E [ (X – E[X])2 ]
ƒ
Related quantity: Standard Deviation
ƒ StdDev(X) = √ Var(X)
15
MIT OpenCourseWare
http://ocw.mit.edu
Probability: Random Isn't So Random
Summer 2008
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
Vina Nguyen
Download