Lecture_05 - TP
Lecture_05 - TP
Hypergeometric distribution
Lotteries are frequently studied to make sure they are truly random.
Binomial Distributions
Binomial Probability Distribution
Example
n! X n -X
P(X) = p (1- p)
X ! (n - X)!
X = 1, n = 5, and p = 0.1
n!
P(X = 1) = p X (1 - p ) n - X
X!(n - X)!
5!
= (0.1)1 (1 - 0.1)5-1
1!(5 - 1)!
= (5)(0.1)(0.9) 4
= 0.32805
Binomial Distribution Characteristics
Moment Generating Function
Example 1. an P(X) n = 5 p = 0.1
μ = np = (5)(0.1) = 0.5 .6
.4
σ = np (1 - p ) = (5)(0.1)(1 - 0.1) .2
0 X
= 0.6708 0 1 2 3 4 5
Example 2. an
μ = np = (5)(0.5) = 2.5
P(X) n = 5 p = 0.5
.6
σ = np (1 - p ) = (5)(0.5)(1 - 0.5) .4
.2
= 1.118 0 X
0 1 2 3 4 5
Using Excel For The Binomial Distribution (n = 4, p = 0.1)
Hypergeometric Distributions
Let get started by the following example
Hypergeometric Probability Distribution
X = the number of successes in n dependent
Bernoulli trials.
where
N = population size
s = number of items of interest in the population
N – s = number of events not of interest in the population
n = sample size
x = number of items of interest in the sample
n – x = number of events not of interest in the sample
Hypergeometric Distribution Characteristics
N = 10 n=3
s=4 x=2
( 4 C2 )(6 C1 )
P(X = 2 | 3,10,4) = = 0.3
(10 C3 )
The probability that 2 of the 3 selected computers have
illegal software loaded is 0.30, or 30%.
Using Excel for Hypergeometric Distribution (n = 8, N = 30, s = 10)
Hypergeometric Distribution vs. Binomial Distribution
Negative Binomial Probability Distribution
Let get started by the following example
Answer. How many ways are there to select 4
agreements from a group of the first 14
interviewees? = 14C4
- -2
e λ x
e (2) 3
P(X = 3 | 2) = =
x! 3!
(2.71828- 2 )(2)3
= = 0.18
3!
Graph of Poisson Probabilities
Graphically:
= 0.50
=
X 0.50
0 0.6065
1 0.3033
2 0.0758
3 0.0126
4 0.0016
5 0.0002
6 0.0000
P(X = 2 | =0.50) = 0.0758
7 0.0000
Poisson Distribution Shape
= 0.50 = 3.00
Example [events in an interval of time]
At an outpatient mental health clinic, appointment
cancellations occur at a mean rate of 1.5 per day
on a typical Wednesday.