Beruflich Dokumente
Kultur Dokumente
Binomial Models
• Occurs in experiment which have only two
possible outcomes one which is termed “success”
and the other “failure.”
• Conditions
1. There must be a fixed number (n) of trials
2. The trials must be independent
3. The trials are have only two outcomes: success
or failure.
4. The probability of success (p) is constant for
each trial.
formula
• If the probability that an experiment results in
a successful outcome is p and the probability
that the outcome is a failure is q, where q=1 –
p.
• P(X=r) = nCrprqn-r where r = 0, 1, 2, …………, n
• And we say X ~ Bin (n, p)
Worked Example
Question:
• A coin is biased so that the probability of
obtaining a head in 1/6.
(a) Find the probability of that in 7 tosses of the
coin exactly 3 heads are obtained.
(b) Find the probability that of obtaining more
than 3 heads
Solution:
= 7C3(1/3)3(1/3)4
= 0,078
Solution
(b) P(X>3) = 1 – P(<=2)
= 1 –(P(X=0) + P(X=1) + P(X=2) )
n = 7, p =1/6, q= 1-p=5/6
= 7C0(1/6)0(5/6)7+7C1(1/6)1(5/6)6+7C2(1/6)2(5/6)56
=1 -0.904
= 0,096
Expectation and Variance
• If the random variable X is such that X ~ Bin(n, p)
Then E(X) =np
Var(X) = npq
Question
The probability that it is a rainy is 0.3. Find
the expected number of rainy days in 2
weeks and the standard deviation.
Solutions
Let the rainy day be the success .
Then n = 14, p=0.3 and q = 0.7
• X ~ Bin(14, 0.3) Var(X) = npq
• E(X) = np = 14*0.3*0.7
• =14*0.3 = 2.94
• = 4.2
Geometric Model
• A Geometric distribution arises when we have
a sequence of independent trials, each with a
definite probability (p) of success and the
probability. (q) of failure, where q = 1 –p.
• Let X be the r.v the number of trials upto and
including the first success.
• Now
P(X=1) = P(success on the first attempt) = p
P(X=2) = P(success on the second attempt) = qp
P(X=3) = P(success on the third attempt) = q2p
P(X=4) = P(success on the fourth attempt) = q3p
In general P(X=r) =qr-1p
Question
• A coin is biased that the probability of
obtaining a head is 2/3. If X is r.v the number
of tosses upto including the first head.
• (a) Find P(X<=2)
• (b) P(X>4)
Solution
(a) X ~Geo(2/3)
• p = 2/3 and q = 1/3
• (a) P(X<=2) = 1 – p(X>2)
= 1 –(1/3) 2
= 8/9
(b) X ~Geo(2/3)
P(X> 4) = (1 /2) 4
= 1/81
Expectation and Variance
• If X ~ Geo(p), the E(X) =1/p and Var(X) =q/p2
where q = 1 – p
Example : If X ~ Geo(1/5), Find E(X) and Standard deviation of X
Solution:
Here p 1/5 and q = 4/5
E(X) = 1/p
= 1/(1/5)
=5
Var(X) = q/p2
= (4/5)/(1/5) 2
= 20
POISSON DISTRIBUTION
• -was named after Simeon Dennis
Poison(1781-1840)
• Poison distribution is a discrete probability
distribution for the count of events that occur
randomly in a given interval or time.
• Poison distribution might be appropriate
model in the following cases.
Conditions under which a Poisson
distribution is likely to arise are:
• (a) - the N events occur independently of
each other.
• (b) - the events occurs singly in continuous
space of time.
• (c) - the events occur at a constant rate, in
the sense that the mean number interval is
proportional to the length of the interval.
• (d) - the mean and the variance are equal.
Applications
• The poison distribution has a single parameter
(ʎ), which may be estimated from the
observed data using
Applications:
• The number of radioactive particles emitted
by a certain source during 5-minute period.
• The number of suicide cases in a city.
• The number of accidents occurring
• The number of bacteria per 5ml of liquid
• The number of air crushes per year.
Formulae for Poison Distribution
• A discrete random variable X had probability
function of the form
• Theta, lamda
• P (X = r) = e‾ʎʎr
r!
For r = 0,1,2,3,……..infinity
e ~ is an mathematical constant which is
approximately to ~2.718282
where ʎ(lambda) can take positive values
Practical example of Poison Distribution
= 1/(1/5)
=5
Var(X) = q/p2
= (4/5)/(1/5) 2
= 20
CONTINUOUS DISTRIBUTIONS
Memoryless property