Probability 2 FPM
Probability 2 FPM
Tushar Tanwar
Random Variable
Random variable
A random variable is a function from the sample space Ω to R
Example:
We extract 3 balls from a box containing an equal number of white and
black balls, and we put the ball back into the box after each extraction. How
many white balls can occur and what are the associated probabilities?
Sample space:
Also, P(X>2)=1-F(2)
P(3
Example
Find the distribution function of total number of heads obtained in four
tosses of a balanced coin.
Expected Value/Mean
The
mean of a probability distribution of a random variable is a measure of
the centrality of the probability distribution.
The mean is a weighted average of the possible values of the random
variable—the weights being the probabilities.
The expected value of a discrete random variable X is given as:
for all x
Find mean value for the below described random variable:
Expected Value of a Function
The
Expected Value of a Function of a Random Variable
Let h(X) be a function of the discrete random variable X.
for all x
Monthly sales of a certain product, recorded to the nearest thousand, are
believed to follow the probability distribution given in table below. Suppose
that the company has a fixed monthly production cost of $8,000 and that
each item brings $2. Find the expected monthly profit from product sales.
The expected value of a linear function of a random variable
E(aX + b) = aE(X) + b , where a and b are fixed numbers
Variance
Variance
and Standard Deviation of a Random Variable
The variance of a random variable is the expected squared deviation of the
random variable from its mean
for all x
If the outcome of a trial can only be either a success or a failure, then the
trial is a Bernoulli trial.
The number of successes X in one Bernoulli trial, which can be 1 or 0, is a
Bernoulli random variable.
x =1 is called “success” and x =0 is called “failure.”
Example: Tossing a coin.
Binomial Random Variable
The Binomial Random Variable X~B(n,p)
Consider n number of identically and independently distributed Bernoulli
random variables X 1, X2, . . . , Xn
Such a sequence of identically and independently distributed Bernoulli
variables is called a Bernoulli process
An X that counts the number of successes in many independent, identical
Bernoulli trials is called a binomial random variable.
Example: Number of correct guesses at 30 true-false questions when you
randomly guess all answers.
Binomial Random Variable
Conditions for a Binomial Random Variable
1. The trials must be Bernoulli trials in that the outcomes can only be either
success or failure.
2. The outcomes of the trials must be independent.
3. The probability of success in each trial must be constant.
Find the probability of getting five heads and seven tails in 12 flips of a
balanced coin.
Find the probability that seven of ten persons will recover from a tropical
disease if we can assume independence and the probability is 0.8 that any
one of them will recover from the disease.
Negative Binomial Distribution
Negative Binomial Distribution X~ NB(s, p)
The number of successes is held constant , and the number of trials is
random.
Let s denote the exact number of successes desired and p the probability of
success in each trial. Let X denote the number of trials made until the
desired number of successes is achieved.
The number of trials made in this scenario is said to follow a negative
binomial distribution.
If the probability is 0.40 that a child exposed to a contagious disease will
catch it , what is the probability that the tenth child exposed to the disease
will be the third to catch it?
The Geometric Distribution
The Geometric Distribution
In a negative binomial distribution, the number of desired successes s can
be any number.
It is special case of the negative binomial distribution where s = 1
Records show that the probability is 0.00005 that a car will have a flat tire while
crossing a certain bridge. Find probability that among 10,000 cars crossing this
bridge,
(a) exactly two will have flat tire
(b) at most two will have a flat tire.
Example
It is known from the past experience that in a certain plant there are on the
average of 4 industrial accidents per month. Find the probability that in a
given year will be less that 3 accidents?
Continuous random variable
A continuous random variable is a random variable that can take on any
value in an interval of numbers. Example: X- time taken
Probability density function
The
probabilities associated with a continuous random variable X are
determined by the probability density function of the random variable.
The function, denoted f(x), has the following properties.
1 . f(x) 0 for all x.
2. The total area under the entire curve of f(x) is equal to 1.
i.e.
Example
The
probability that X will be between two numbers a and b is equal to the
area under f(x) between a and b.
When the sample space is continuous, the probability of any single given
value is zero
For a continuous random variable, nonzero probabilities are associated only
with intervals of numbers.
P(a
Example:
If X has the probability density