Chapter3-Discrete Distribution
Chapter3-Discrete Distribution
Chapter3-Discrete Distribution
Shilpa G.
For a given sample space S of some experiment, a random variable
(rv) is any rule that associates a real number with each outcome in
S.
For a given sample space S of some experiment, a random variable
(rv) is any rule that associates a real number with each outcome in
S.
Discrete Continuous
f (x) = P[X = x]
f (x) = P[X = x]
f (x) ≥ 0,
X
f (x) = 1.
all x
Example
1. Tossing a coin 3 times. X is total number of heads appear.
(Remember: when no information is provided, we use classical
definition of probability.)
(
(1/2)y y = 1, 2, 3, . . .
2. f (y ) =
0 otherwise.
Example
1. Tossing a coin 3 times. X is total number of heads appear.
(Remember: when no information is provided, we use classical
definition of probability.)
(
(1/2)y y = 1, 2, 3, . . .
2. f (y ) =
0 otherwise.
Example
X -3 -1 0 1 2 4 5
f(X) .1 .2 .1 .3 .1 .1 .1
with H(X ) = X (X + 2).
Take Y = H(X ). Then, P[Y = y ] = P[X = x1 , x2 , . . . |H(xi ) = y ].
Hence, we get
Y -1 0 3 8 24 35
f(Y) .2 .1 .1+ .3 .1 .1 .1
Theorem
Let X and Y be random variables and let c be any real number.
Then,
1. E [c] = c.
2. E [cX ] = cE [X ].
3. E [X + Y ] = E [X ] + E [Y ].
Definition
We say two variables X and Y are independent iff
E [XY ] = E [X ]E [Y ].
Definition
Let X be a random variable. The k-th ordinary moment for X is defined
as E [X k ] where k is a natural number. The k-th moment around µX for
X is defined as E [(X − µX )k ] where k is a natural number.
Definition
Let X be a random variable. The k-th ordinary moment for X is defined
as E [X k ] where k is a natural number. The k-th moment around µX for
X is defined as E [(X − µX )k ] where k is a natural number.
Definition
Let X be a random variable with mean µ. The variance of X , denoted by
σ 2 , is given by
Var X = σ 2 := E [(X − µ)2 ].
Definition
Let X be a random variable. The k-th ordinary moment for X is defined
as E [X k ] where k is a natural number. The k-th moment around µX for
X is defined as E [(X − µX )k ] where k is a natural number.
Definition
Let X be a random variable with mean µ. The variance of X , denoted by
σ 2 , is given by
Var X = σ 2 := E [(X − µ)2 ].
Theorem
σ 2 = E [X 2 ] − E [X ]2 .
Definition
Let X be a random variable. The k-th ordinary moment for X is defined
as E [X k ] where k is a natural number. The k-th moment around µX for
X is defined as E [(X − µX )k ] where k is a natural number.
Definition
Let X be a random variable with mean µ. The variance of X , denoted by
σ 2 , is given by
Var X = σ 2 := E [(X − µ)2 ].
Theorem
σ 2 = E [X 2 ] − E [X ]2 .
Definition
Let X be a random variable with variance σ 2 . The standard deviation of
X , denoted by σ, is given by
√ √
σ := Var X = σ 2 .
Theorem
Let X and Y be random variables and c be any real number. Then,
(i) Var c = 0.
(ii) Var cX = c 2 Var X .
(iii) If X and Y are independent, then
Var (X + Y ) = Var X + Var Y .
Moment generating function
Moment generating function
• Generating functions bridge between sequences of numbers
and the world of calculus.
• In probability, they are useful for studying both discrete and
continuous distributions.
• Idea; starting with a sequence of numbers,create a continuous
function-the generating function-that encodes the sequence.
Apply the tools of calculus at our disposal for manipulating
the generating function.
Definition
Let X be a random variable with density f . The moment
generating function for X , denoted by mX (t), is given by
mX (t) := E [e tX ]
Theorem
Let mX (t) be the moment generating function for a random
variable X . Then
d k mX (t)
= E [X k ].
dt k t=0
Uniform random variable
Mean = E (X ) = (n + 1)/2.
Uniform random variable
• We have
n
X (n + 1)(2n + 1)
E (X 2 ) = x 2 f (x) =
6
x=1
and therefore
• MGF is
e t − e (n+1)t
mX (t) = , t 6= 0
n(1 − e t )
and
mX (t) = 1, t = 0.
Remark
Examples
1. Tossing a coin and considering heads as success and tails as
failure.
2. Checking items from a production line: success = not defective,
failure = defective.
3. Phoning a call centre: success = operator free; failure = no
operator free.
Bernoulli Random Variables
• E (X ) =
Bernoulli Random Variables
Problem (1)
In Zuarinagar locality the probability that a thunderstorm will
occur on any given day during the summer (say April and May)
equals 0.1 . Assuming independence from day to day, what is the
probability that the first thunderstorm of the summer season
occurs on May 3 ?
Example
Problem (1)
In Zuarinagar locality the probability that a thunderstorm will
occur on any given day during the summer (say April and May)
equals 0.1 . Assuming independence from day to day, what is the
probability that the first thunderstorm of the summer season
occurs on May 3 ?
Ans. Let X be the number of days (starting with April 1 ) until the
first thunderstorm.
We require P(X = 33) which equals (0.9)32 (0.1) = 0.003.
Example
Problem (2)
If the probability that a certain test yields a ”positive” reaction
equals 0.4, what is the probability that fewer than 5 ”negative”
reactions occur before the first positive one?
Example
Problem (2)
If the probability that a certain test yields a ”positive” reaction
equals 0.4, what is the probability that fewer than 5 ”negative”
reactions occur before the first positive one?
Ans. Let X be the number of negative reactions before the first
positive one.
We have
P(X = x) = (0.6)x−1 (0.4), x = 1, 2, · · ·
Hence
X 5
P(x ≤ 5) = (0.6)(x−1) (0.4) = 0.92.
x=1
CDF of geometric random variable
Lemma
Let X be a geometric random variable. Let p be probability of
success and q = 1 − p. Then, the cumulative distribution function
of X is given by
F (x) = 1 − q bxc .
Generating function, Mean, Variance
Theorem
Let X be a geometric random variable with parameter p and
q = 1 − p. Then
mX (t) =
Generating function, Mean, Variance
Theorem
Let X be a geometric random variable with parameter p and
q = 1 − p. Then
pe t
mX (t) = (t < − ln(q)).
(1 − qe t )
Hence
Problem (5)
Check memoryless property of geometric distribution.
Problem (4)
Let X1 , X2 ∼ Geom(p) and let X1 , X2 be independent. Calculate
PDF of Y := X1 + X2 . Can you do it for n independent variables
with identical geometric distribution?
Problem (5)
Check memoryless property of geometric distribution. That is,
check that if X ∼ Geom(p). Then
Definition
Suppose that n independent Bernoulli trials are performed, each
with the same success probability p. Let X be the number of
successes. The distribution of X is called the Binomial distribution
with parameters n and p. We write X ∼ Bin(n, p).
• Bernoulli distribution is a special case of Binomial distribution
Theorem
Let a random variable X has a binomial distribution with
parameters n and p. Then its probability density function is given
by
n x
f (x) = p (1 − p)n−x x = 0, 1, . . . , n
x
where 0 < p < 1 and n is a positive integer.
We denote f (x) = b(x, n, p).
Theorem
Let a random variable X has a binomial distribution with
parameters n and p. Then its probability density function is given
by
n x
f (x) = p (1 − p)n−x x = 0, 1, . . . , n
x
where 0 < p < 1 and n is a positive integer.
We denote f (x) = b(x, n, p).
Problem (5)
Let’s consider the experiment where we take a multiple-choice quiz
of four questions with four choices each, and the topic is
something we have absolutely no knowledge of, say- Multivariable
Calculus. If we let X = the number of correct answers, then X is a
binomial random variable. What is the probability of getting
exactly 3 questions correct?
Theorem
Let a random variable X has a binomial distribution with
parameters n and p. Then its probability density function is given
by
n x
f (x) = p (1 − p)n−x x = 0, 1, . . . , n
x
where 0 < p < 1 and n is a positive integer.
We denote f (x) = b(x, n, p).
Problem (5)
Let’s consider the experiment where we take a multiple-choice quiz
of four questions with four choices each, and the topic is
something we have absolutely no knowledge of, say- Multivariable
Calculus. If we let X = the number of correct answers, then X is a
binomial random variable. What is the probability of getting
exactly 3 questions correct?
Ans. n=4 and p=0.25. We want P(X = 3) = 0.0469.
Example
Problem (6)
A basketball player traditionally makes 85% of her free throws.
Suppose she shoots 10 baskets and counts the number she makes.
What is the probability that she makes less than 8 baskets?
Example
Problem (6)
A basketball player traditionally makes 85% of her free throws.
Suppose she shoots 10 baskets and counts the number she makes.
What is the probability that she makes less than 8 baskets?
Ans. If X = the number of made baskets, it’s reasonable to say the
distribution is binomial.
In this example, n=10 and p=0.85. We want P(X < 8).
P(X < 8) = P(X = 0) + P(X = 1) + ... + P(X = 7).
The probability of making less than 8 baskets is about 0.1798.
Example
Problem (7)
A quality control engineer is in charge of testing whether or not
90% of the DVD players produced by his company conform to
specifications. To do this, the engineer randomly selects a batch of
12 DVD players from each day’s production. The day’s production
is acceptable provided no more than 1 DVD player fails to meet
specifications. Otherwise, the entire day’s production has to be
tested.
(i) What is the probability that the engineer incorrectly passes a
day’s production as acceptable if only 80% of the day’s DVD
players actually conform to specification?
(ii) What is the probability that the engineer unnecessarily requires
the entire day’s production to be tested if in fact 90% of the DVD
players conform to specifications?
Example
Problem (7)
A quality control engineer is in charge of testing whether or not
90% of the DVD players produced by his company conform to
specifications. To do this, the engineer randomly selects a batch of
12 DVD players from each day’s production. The day’s production
is acceptable provided no more than 1 DVD player fails to meet
specifications. Otherwise, the entire day’s production has to be
tested.
(i) What is the probability that the engineer incorrectly passes a
day’s production as acceptable if only 80% of the day’s DVD
players actually conform to specification?
(ii) What is the probability that the engineer unnecessarily requires
the entire day’s production to be tested if in fact 90% of the DVD
players conform to specifications?
Answer:Let X denote the number of DVD players in the sample
that fail to meet specifications.
Example
• Direct calculation
• Using properties of MGF (and Bernoulli variables)
Binomial Distribution-Mean and Variance
• Direct calculation
• Using properties of MGF (and Bernoulli variables)
Problem
Let X ∼ Bin(n, p) and Y ∼ Bin(m, p) be two independent
variables. Prove that X + Y is a binomial variable.
There are two ways to solve it.
Way I: Direct checking.
Way II: Using MGF (which we would discuss now in detail).
Binomial Distribution-Moment Generating Function
n
X n
= (pe t )x (1 − p)n−x ,
x
x=0
and hence
MX (t) = (1 − p + pe t )n .
Theorem
Let X be a random variable with moment generating function mX (t). Let
Y = α + βX with α, β ∈ R. Then, the moment generating function of Y
is
mY (t) = e αt mX (βt).
Theorem
Let X be a random variable with moment generating function mX (t). Let
Y = α + βX with α, β ∈ R. Then, the moment generating function of Y
is
mY (t) = e αt mX (βt).
Theorem
Let X1 and X2 be independent random variables with moment generating
functions mX1 (t) and mX2 (t) respectively. Let Y = X1 + X2 . The
moment generating of Y is
Theorem
Let X1 and X2 be independent random variables with moment generating
functions mX1 (t) and mX2 (t) respectively. Let Y = X1 + X2 . The
moment generating of Y is
Theorem
Let X and Y be random variables with moment generating
functions mX (t) and mY (t) respectively. If mX (t) = mY (t) for all t
in some open interval about 0, then X and Y have same
distribution.
Coming back to the problem....
We are given
X ∼ Bin(n, p), Y ∼ Bin(m, p)
Hence,
We are given
X ∼ Bin(n, p), Y ∼ Bin(m, p)
Hence,
X + Y ∼ Bin(m + n, p).
Bernoulli ; Binomial
X = X1 + X2 + · · · + Xn .
Problem (8)
Bits are sent over a communications channel in packets of 12. If
the probability of a bit being corrupted over this channel is 0.1 and
such errors are independent, what is the probability that no more
than 2 bits in a packet are corrupted? If 6 packets are sent over
the channel, what is the probability that at least one packet will
contain 3 or more corrupted bits? Let X denote the number of
packets containing 3 or more corrupted bits. What is the
probability that X will exceed its mean by more than 2 standard
deviations?
Ans. Y denotes the number of corrupted bits in a packet. Then in
the first question, we want
The mean
p of X is µ = 6(0.111) = 0.666 and its standard deviation
is σ = 6(0.111)(0.889) = 0.77. So the probability that X
exceeds its mean by more than 2 standard deviations is
P(X − µ > 2σ) = P(X > 2.2).
As X is discrete, this is equal to P(X ≥ 3).
6
P(X = 1) = (0.111)1 (0.889)5 = 0.37.
1
6
P(X = 2) = (0.111)2 (0.889)4 = 0.115.
2
So
P(X ≥ 3) = 1 − (.506 + .37 + .115) = 0.009.
Textbook Exercises
Problem (9)
Twenty percent of all telephones of a certain type are submitted
for service while under warranty. Of these, 60% can be repaired,
whereas the other 40% must be replaced with new units. If a
company purchases ten of these telephones, what is the probability
that exactly two will end up being replaced under warranty?
Textbook Exercises
Problem (9)
Twenty percent of all telephones of a certain type are submitted
for service while under warranty. Of these, 60% can be repaired,
whereas the other 40% must be replaced with new units. If a
company purchases ten of these telephones, what is the probability
that exactly two will end up being replaced under warranty?
Ans:
Problem (10)
A toll bridge charges 1.00 for passenger cars and 2.50 for other
vehicles. Suppose that during daytime hours, 60% of all vehicles
are passenger cars. If 25 vehicles cross the bridge during a
particular daytime period, what is the resulting expected toll
revenue?
Textbook Exercises
Problem (10)
A toll bridge charges 1.00 for passenger cars and 2.50 for other
vehicles. Suppose that during daytime hours, 60% of all vehicles
are passenger cars. If 25 vehicles cross the bridge during a
particular daytime period, what is the resulting expected toll
revenue?
Ans. T= X+ (2.5)(25- X) where X ∼ Bin(25, 0.6).
So, we have that E[T]= 40.
Problem (11)
The number of eggs X , laid by the female tawny owl has a probability
distribution as follows
X 2 3 4
P[X= x] 0.1 0.2 0.7
For any egg the probability that it is hatched is 0.8, independently of all
other eggs. Let Y denote the number of hatched eggs in a randomly
chosen nest. Then obtain PDF for Y .
Problem (11)
The number of eggs X , laid by the female tawny owl has a probability
distribution as follows
X 2 3 4
P[X= x] 0.1 0.2 0.7
For any egg the probability that it is hatched is 0.8, independently of all
other eggs. Let Y denote the number of hatched eggs in a randomly
chosen nest. Then obtain PDF for Y .
Idea: Observed values for Y = 0, 1, 2, 3, 4.
2 0 2 3 0 3
P[Y = 0] = (.1) (.8) (.2) + (.2) (.8) (.2)
0 0
4
+ (.7) (.8)0 (.2)4
0
and so on....
Problem (11)
The number of eggs X , laid by the female tawny owl has a probability
distribution as follows
X 2 3 4
P[X= x] 0.1 0.2 0.7
For any egg the probability that it is hatched is 0.8, independently of all
other eggs. Let Y denote the number of hatched eggs in a randomly
chosen nest. Then obtain PDF for Y .
Idea: Observed values for Y = 0, 1, 2, 3, 4.
2 0 2 3 0 3
P[Y = 0] = (.1) (.8) (.2) + (.2) (.8) (.2)
0 0
4
+ (.7) (.8)0 (.2)4
0
and so on....
Problem (12)
For what value of p is V(X) maximized?
Ans.: 1/2.
Textbook Exercise
Problem (13)
A student who is trying to write a paper for a course has a choice
of two topics, A and B. If topic A is chosen, the student will order
two books through interlibrary loan, whereas if topic B is chosen,
the student will order four books. The student believes that a
good paper necessitates receiving and using at least half the books
ordered for either topic chosen. If the probability that a book
ordered through interlibrary loan actually arrives in time is .9 and
books arrive independently of one another, which topic should the
student choose to maximize the probability of writing a good
paper? What if the arrival probability is only .5 instead of .9?
Textbook Exercise
Problem (13)
A student who is trying to write a paper for a course has a choice
of two topics, A and B. If topic A is chosen, the student will order
two books through interlibrary loan, whereas if topic B is chosen,
the student will order four books. The student believes that a
good paper necessitates receiving and using at least half the books
ordered for either topic chosen. If the probability that a book
ordered through interlibrary loan actually arrives in time is .9 and
books arrive independently of one another, which topic should the
student choose to maximize the probability of writing a good
paper? What if the arrival probability is only .5 instead of .9?
Ans: We are interested in calculating P[at least half books
received] in each case.
Textbook Exercise
Problem (13)
A student who is trying to write a paper for a course has a choice
of two topics, A and B. If topic A is chosen, the student will order
two books through interlibrary loan, whereas if topic B is chosen,
the student will order four books. The student believes that a
good paper necessitates receiving and using at least half the books
ordered for either topic chosen. If the probability that a book
ordered through interlibrary loan actually arrives in time is .9 and
books arrive independently of one another, which topic should the
student choose to maximize the probability of writing a good
paper? What if the arrival probability is only .5 instead of .9?
Ans: We are interested in calculating P[at least half books
received] in each case.
(a) Topic B, (b) Topic A
Hypergeometric random variable
Remember:
XN
N r N −r
= .
n x n−x
x=0
Theorem
Let X be a hypergeometric variable with parameters N, n and r .
Then,
• E [X ] = n Nr ,
• Var X = n Nr N−r
N−n
N N−1 .
Theorem
Let X be a hypergeometric variable with parameters N, n and r .
Then,
• E [X ] = n Nr ,
• Var X = n Nr N−r
N−n
N N−1 .
• Var X = n Nr N−r
N−n
N N−1 .
Definition
A rv X is said to have a negative binomial distribution with
parameters p and r if its density f is given by
f (x; r , p) = x−1 r x−r , r = 1, 2, · · · , x = r , r + 1, r + 2, . . .
r −1 p q
For us, X ∼ NBin(r , p) means X
is a random variable which
counts number of trials needed
for obtaining r -th success.
Mean, variance and mfg
Theorem
Let X be a negative binomial rv (where X denotes the number of
trials needed to obtain the r -th success) with parameters r and p.
Then
(pe t )r
• mX (t) = (1−qe t )r , t < − ln(1 − p).
• E [X ] = r
p
• V (X ) = prq2
Negative Binomial Distribution
• Like a Binomial r.v. can be represented as a sum of rvs of
Bernoullis, a Negative Binomial r.v. can be represented as a
sum of rvs of Geometrics.
Justification1: Let X1 be the number of trials until the first
success, X2 be the number of trials between the first success
and the second success. In general, let Xi be the number of
trials between the (i − 1)th success and the i th success.
Note that X1 ∼ Geom(p), X2 ∼ Geom(p), and similarly for all
the Xi . Furthermore, the Xi are independent, because the
trials are all independent of each other. Adding the Xi , we get
the total number of trials until (including) the r th success,
which is X .
Justification2: Let Xi ∼ Geom(p) for i = 1, . . . , r such that
Pr
Xi s are independent then Xi ∼ NBin(r , p).
i=1
Example
Problem
The probability that an experiment will succeed is 0.8. If the
experiment is repeated until four successful outcomes have
occurred, what is the expected number of failure required?
Example
Problem
The probability that an experiment will succeed is 0.8. If the
experiment is repeated until four successful outcomes have
occurred, what is the expected number of failure required?
Problem
What is the average number of times one must throw a die until
the outcome ’1’ has occurred 4 times?
Ans.: We are interested in expected number of trials until the
outcome ’1’ has occured.
Problem
Suppose a small factory has 10 machines in it. Probability of any
machine producing defective item in a trial is 0.1. An inspector
rejects a machine if it produces 5th defective item in at most 7
trials. Find the probability that exactly two machines would be
rejected.
Problem
Suppose a small factory has 10 machines in it. Probability of any
machine producing defective item in a trial is 0.1. An inspector
rejects a machine if it produces 5th defective item in at most 7
trials. Find the probability that exactly two machines would be
rejected.
Problem
Suppose an experiment consists of tossing a fair coin until four
heads occur. What is the probability that the experiment ends
after exactly seven flips of the coin with a head on the sixth toss as
well as on the seventh?
Problem
Consider an experiment consists of independent Bernoulli trials
where probability of success remains constant at each trial. Let X
denote number of failures required to obtain r -th success.
Calculate mean, variance and moment generating function for X .
rq rq pr
E [X ] = , V [X ] = , mX (t) = .
p p2 (1 − qe t )r
Definition
A random variable X is said to have a Poisson distribution with
parameter k if its density f is given by
e −k k x
f (x) := k > 0, x = 0, 1, 2, . . .
x!
Steps in solving a Poisson problem
mX (t) =
Theorem
Let X be a Poisson random variable with parameter k. Then,
• The moment generating function for X is given by
t −1)
mX (t) = e k(e .
• E [X ] = k and Var X = k.
Problem
Let X1 and X2 be two independent Poisson variables with
parameters k1 and k2 respectively. Determine distribution of
X1 + X2 .
Problem
Suppose that the number of telephone calls coming into a
telephone exchange between 10 A.M. to 11 A.M., say, X1 , is a
random variable with Poisson distribution with parameter 2.
Similarly, the number of calls arriving between 11 A.M. and 12
noon, say, X2 , has a Poisson distribution with parameter 6. If X1
and X2 are independent, what is the probability that more than 5
calls come in between 10 A.M. to 12 noon ?
Problem
Suppose that the number of telephone calls coming into a
telephone exchange between 10 A.M. to 11 A.M., say, X1 , is a
random variable with Poisson distribution with parameter 2.
Similarly, the number of calls arriving between 11 A.M. and 12
noon, say, X2 , has a Poisson distribution with parameter 6. If X1
and X2 are independent, what is the probability that more than 5
calls come in between 10 A.M. to 12 noon ?
Idea: Y = X1 + X2 ∼ Poisson(2 + 6).
We want to calculate P[Y > 5].
Problem
A company rents out time on a computer for periods of t hours,
for which it receives Rs. 600/- an hour. The number of times the
computer breaks down during t hours is a r.v. having the Poisson
distribution with k = 0.8t and if the computer breaks down x
times during t hours it costs Rs. 50x 2 to fix it. How should the
company select t in order to maximize its expected profit.
Problem
A company rents out time on a computer for periods of t hours,
for which it receives Rs. 600/- an hour. The number of times the
computer breaks down during t hours is a r.v. having the Poisson
distribution with k = 0.8t and if the computer breaks down x
times during t hours it costs Rs. 50x 2 to fix it. How should the
company select t in order to maximize its expected profit.
Idea:
Profit= 600t– cost if computer breaks down. So, if we denote
expected profit by φ(t), we have
e −5 k 0
P[X = 0] = = e −5 .
0!
Problem
Suppose that probability that an item produced by a certain
machine will be defective is 0.1. Find the probability that a
sample of 40 items will contain at most one defective item.
Problem
Let f (X ) be a PDF of a random variable X satisfying f (x) = 0 for
all x ≤ 3, then
(i) E [X ] > E [X 2 ] (ii) E [X ] = E [X 2 ]
(iii) E [X 2 ] > E [X ] (iv) NOTA
Problem
Let X be a Poisson variable with E [X ] = ln(2). The value of
E (cos(πx)) is
(i)0.25 (ii) 23
(iii) 0.5 (iv) NOTA
Answer: (i) because
∞
X e −k k x
E [cos(πx)] = (−1)x = e −2k = e −2 ln(2)
= 2−2 = 0.25.
x!
x=0
Problem
Let f (X ) be a PDF of a random variable X satisfying f (x) = 0 for
all x ≤ 3, then
(i) E [X ] > E [X 2 ] (ii) E [X ] = E [X 2 ]
(iii) E [X 2 ] > E [X ] (iv) NOTA
Answer: (iii) as X < X 2 for X > 3.
Problem
If X is a Poisson random variable such that
P[X = 2] = 9P[X = 4] + 90P[X = 6], then find the variance of X .
Problem
If X is a Poisson random variable such that
P[X = 2] = 9P[X = 4] + 90P[X = 6], then find the variance of X .
Idea: Let k be parameter of the distribution. We have
k 4 + 3k 2 − 4 = 0.
Hence, k = 1. So,
Var (X ) = k = 1.
Problem
The number of times that an individual contracts a cold in a given year is
a Poisson process with parameter λ = 3 per year. Suppose a new drug
just has been marketed that reduces the Poisson parameter to λ = 2 per
year for 75 percent of the population. For other 25 percent of the
population, the drug has no appreciable effect on colds. If an individual
tries the drug for a year and has 0 colds in that time, how likely is it that
the drug is beneficial for him/her ?
Problem
The number of times that an individual contracts a cold in a given year is
a Poisson process with parameter λ = 3 per year. Suppose a new drug
just has been marketed that reduces the Poisson parameter to λ = 2 per
year for 75 percent of the population. For other 25 percent of the
population, the drug has no appreciable effect on colds. If an individual
tries the drug for a year and has 0 colds in that time, how likely is it that
the drug is beneficial for him/her ?
Ans:
We are given that P[A1 ] = .75 and P[A2 ] = .25. We want P[A1 | B].
Problem
The number of times that an individual contracts a cold in a given year is
a Poisson process with parameter λ = 3 per year. Suppose a new drug
just has been marketed that reduces the Poisson parameter to λ = 2 per
year for 75 percent of the population. For other 25 percent of the
population, the drug has no appreciable effect on colds. If an individual
tries the drug for a year and has 0 colds in that time, how likely is it that
the drug is beneficial for him/her ?
Ans:
We are given that P[A1 ] = .75 and P[A2 ] = .25. We want P[A1 | B].