Random Variable and Bivariate Distributions
Random Variable and Bivariate Distributions
Random Variables
Content
Introduction of Random Variable
Probability mass Function
distribution and density functions
joint distribution and joint density functions
Marginal conditional distribution and
density functions
Theory of probability
2 p(x=2)=1/6
3 p(x=3)=1/6
4 p(x=4)=1/6
5 p(x=5)=1/6
6 p(x=6)=1/6
1.0
Cumulative distribution function
(CDF)
P(x)
1.0
5/6
2/3
1/2
1/3
1/6
1 2 3 4 5 6 x
Cumulative distribution function
x P(x≤A)
1 P(x≤1)=1/6
2 P(x≤2)=2/6
3 P(x≤3)=3/6
4 P(x≤4)=4/6
5 P(x≤5)=5/6
6 P(x≤6)=6/6
Examples
1. What’s the probability that you roll a 3 or less?
12 .25
1.0
Answer (b)
4 (3-4)/2=-.5
Answer (c)
c. f(x)= (x2+x+1)/25 for x=0,1,2,3
x f(x)
0 1/25
1 3/25 Doesn’t sum to 1. Thus,
2 7/25 it’s not a probability
function.
3 13/25
24/25
Practice Problem:
• The number of ships to arrive at a harbor on any given day is a
random variable represented by x. The probability distribution for x
is:
x 10 11 12 13 14
P(x) .4 .2 .2 .1 .1
Find the probability that on a given day:
a. exactly 14 ships arrive
b. At least 12 ships arrive
c. At most 11 ships arrive
Practice Problem:
• The number of ships to arrive at a harbor on any given day is a
random variable represented by x. The probability distribution for x
is:
x 10 11 12 13 14
P(x) .4 .2 .2 .1 .1
Find the probability that on a given day:
a. exactly 14 ships arrive
b. At least 12 ships arrive
c. At most 11 ships arrive
p(x=14)= .1
p(x12)= (.2 + .1 +.1) = .4
Solution:
1. E(3X+7) = 3E(X)+7 = 3(2)+7 = 13
Var(3X+7)= (3)2 Var(X)=(3)2 (4) =36
2. E(5X+2Y2)= 5E(X) + 2E(Y) 2= (5)(2) + (2)(7) 2= 22
Var(5X+2Y2)= Var(5X+2Y)= 52 Var(X) + 22 Var(Y)
= (25)(4)+(4)(1) = 104
Question
• What is the expected value of the number of
points that will be obtained in a single throw
with an ordinary die? Find variance also.
• Ans. Mean = 3.5
• Variance = E(X2)-E(x)2
• E(X2) = 1/6[1+4+9+16+25+36] = 15.1
• Var(X) = 15.1-12.25 = 2.85
• Thirteen cards are drawn simultaneously from
a deck of 52. If aces count 1, face cards 10,
and others according to denomination. Find
the expectation of the total score on the 13
cards?
• X = 1, 2, 3, 4,5, 6, 7, 8, 9,10, 10, 10, 10
• P(X) = each case P(X) = 1/13
X 8 12 16 20 24
P(X) 1/8 1/6 3/8 1/4 1/12
𝐹𝑖𝑛𝑑
• E(X)
• E(X)2
• 𝐸(𝑥 − 𝑥)2
Bernoulli Distribution
Binomial Distribution
Binomial Distribution
Binomial Distribution
• No six
• At least one six
• At least one even digit
• A multiple of 3
• A multiple of 2 or 3
An unbiased cubic die is thrown four times. What is the probability of
obtaining
• No six
= 625/1296
• At least one six
= 671/1296
• At least one even digit
= 15/16
• A multiple of 3
= 2/3
• A multiple of 2 or 3
= 8/81
Calculate mean of the binomial dist.
• No. of trails = 6, probability of success = 1/3
• No. of trails = 9, probability of failure = 1/3
• Probability of failure = 2/3, standard deviation
=2
• Probability of failure = 5/6, variance = 25
Calculate mean of the binomial dist.
• No. of trails = 6, probability of success = 1/3
• 2
• No. of trails = 9, probability of failure = 1/3
• 6
• Probability of failure = 2/3, standard deviation = 2
• 6
• Probability of failure = 5/6, variance = 25
• 30
Poisson Distribution
• The Poisson distribution is used as a limiting form of
binomial distribution.
• It is a discrete prob. Dist.
• It applies in a situations where the prob. of success (p)
is very small and that of failure (q) is very high, almost
equal to 1.
Example
• The number of cars arriving per minute at a service
station
• The number of persons born blind per year in a city
If a random variable X follows poisson
distribution such that P(X = 1) = P(X =
2), find the mean as well as variance of
the distribution
question
• In a poisson distribution probability for x =0 is
10%. Find the mean given that loge10 = 2.3026
• A car-hire firm has two cars, which it hires, out
day by day. The number of demands for a car
on each day is distributed as poisson
distribution with mean 1.5. calculate the
proportion of days on which neither car is
used and the proportion of days on which
some demand is refused. [e-1.5 = 0.2231]
• A telephone switch board handles 600 calls on
the average during a rush hour. The board can
make a maximum of 20 connections per
minute. Use poisson distribution to estimate
the probability that the board will be over
taxed during any given minute
• e-1 = 0.0004539
• If P(X=0) =P(X=1)=a in a poisson distribution,
show that a =1/e
• If P(X=2)=9P(X=4)+90P(X=6), in the poisson
distribution, then find E(X)
• A poisson distribution has a double mode at
x=3 and x=4, what is the probability that x will
have one or the other of these two values.
• [mode formula = m-1 and m]
Questions
• In a radio manufacturing factory, average number of
defective is 1 in 10 radios. Find the probability of getting
exactly 2 defective radios in a random sample of 10 radios
using Poisson distribution
• In a certain manufacturing process, 5% of the tools
produced turn out to be defective. Find the probability that
in a sample of 40 tools, utmost 2 will be defective
• A manufacturer of lenses knows that on an average 5% of
his product is defective. He sells lenses in boxes of 100 and
gives guarantee to consumer that not more than 4 lenses
will be defective in a box. What is the probability that each
box will meet the guaranteed quality?