Week 4 Slides
Week 4 Slides
Binomial Distribution
- You are taking a 20 question multiple choice (5 choices) test where you
randomly guess the answer in each question. What is the probability that you
correctly guessed exactly 8 questions?
Recall that for binomial distribution µ=E(X)=np and σ2 =np(1-p) from these we find
µ=10(0.01)=0.1 and σ2=10(0.01)(0.99)=0.099 and standart deviation= σ = √σ2 = 0.3146
Geometric Distribution
Consider a random experiment that is closely related to the one used
in the definition of a binomial distribution. Again, assume a series of
Bernoulli trials (independent trials with constant probability p of a
success on each trial). However, instead of a fixed number of trials,
trials are conducted until a success is obtained. Let the random
variable X denote the number of trials until the first success. Then
X is said to have Geometric Distribution. Formally;
Geometric Distribution
- You are taking a series of multiple choice questions (5 choices) test where you
randomly guess the answer in each question. Then the number of questions (X)
you should solve to get first correct answer has Geometric Distribution with p.
- We are seeking the minimum of n (number of trials) to get our first success.
- So p=1/5, (1-p)=4/5 and find the probability P(x=12)=? Or more formally what is
the probability that you should solve 12 questions until your first success?
Geometric Distribution
Example:
Suppose the random variable X has a geometric distribution with
p=0.5. Determine P(X=4), P(X>2), P(X≤2) and µ and σ2
Recall that for geometric distribution µ=E(X)=1/p and σ2 =(1-p)/p2 from these we find
µ=1/0.5=2 and σ2=0.5/0.25=2 and standart deviation= σ = √σ2 = 1.4142
Geometric Distribution
Example:
Suppose the random variable X has a geometric distribution with a
mean of 2.5. Determine P(X=4), P(X>3)
Recall that for geometric distribution µ=E(X)=1/p and σ2 =(1-p)/p2 from these we find
µ=2.5 and σ2=0.6/0.16=3.75 and standart deviation= σ = √σ2 = 1.936
Negative Binomial Distribution
Consider the situation in Geometric Distribution, our random variable
was number of trials until the first success. If we generalize this our
question will be number of trials until r success (instead of 1 or first
success) our random variable is said to have Negative Binomial
Distribution. More Formally;
Negative Binomial Distribution
- You are taking a series of multiple choice questions (5 choices) test where you
randomly guess the answer in each question. Then the number of questions (X)
you should solve to get 6 correct answer has Negative Binomial Distribution
with p and r=6.
50 50_𝑥
P(X>45) = σ50
46 𝑥
0.7𝑋 1 − 0.7 = 0.00017
• As it is seen from this example If n is small relative to N, the correction is small and the
hypergeometric distribution is similar to the binomial. In this case, a binomial distribution
can effectively approximate the distribution of the number of units of a specified type in the
sample.
Hypergeometric Distribution
10 mins Class Excercise:
Suppose X has a hypergeometric distribution with N = 20, n = 4, and
K = 4. Determine the following;
a) P(X=1)=?
b) P(X=4)=?
c) P(X≤2)=?
d) Mean and Variance of X, namely µ and σ2
Assignment HW2
• Do excercises 3.30, 3.56, 3.82, 3.100, 3.105, 3.171 in the Textbook
• Due Next Sunday at 23:00
• Send me via TEAMS (Word or PDF)
• Filename should be standart in the following format as before
HW#sStudent Id.doc