Prob Distribution 2024
Prob Distribution 2024
Definition:
A discrete random variable is a variable that can
take on a countable number of possible values,
with a probability assigned to each value.
The probability function of a discrete random
variable gives the probability of each possible
value.
Probability distributions for discrete random
variables are used to model situations where the
possible outcomes are discrete or countable.
The probability distribution describes the
probabilities of each possible outcome, and is often
represented as a table, formula, or graph.
Some common probability distributions for discrete
random variables include:
1.Binomial distribution: a distribution that
models the number of successes in a fixed
number of independent Bernoulli trials, where the
probability of success is p and the probability of
failure is 1-p.
2.Poisson distribution: a distribution that models
the number of occurrences of a rare event in a
fixed interval of time or space, where the mean
number of occurrences is denoted by λ.
3.Geometric distribution: a distribution that
models the number of independent Bernoulli
trials needed to achieve the first success, where
the probability of success is p and the probability
of failure is 1-p.
4. Hypergeometric distribution: a distribution that
models the number of successes in a sample
drawn without replacement from a finite
population, where the number of successes in the
population is denoted by M, and the sample size is
denoted by n.
If we toss a coin twice, the number of heads
obtained could be 0, 1 or 2. The probabilities of
these occurring are as follows:
P(no heads) = P(TT)
= (0.5)(0.5) = 0.25
P(one head) = P(HT) + P(TH)
= (0.5)(0.5) + (0.5)(0.5) = 0.5
P(two heads) = P(HH) = (0.5)(0.5) = 0.25
We can show the result in a table, known as a
Probability Distribution.
The variable being considered is the number of
heads obtained in two tosses and it can be
denoted by X. It can only take exact values, 0, 1, 2
and so is a discrete variable.
The probabilities can be written
P(X = 0) = 0.25, P(X = 1) = 0.5, P(X = 2) = 0.25
Sometimes we write = 0.25, = 0.5,
= 0.25.
If the sum of the probabilities is 1, the variable is
said to be random. In the above example,
P(X = 0) + P(X = 1) + P(X = 2) = 0.25 + 0.5 + 0.25 =
1, so X is a discrete random variable.
DISCRETE RANDOM VARIABLE
Let X have the following properties:
(a) It is a discrete random variable and can take
only values , , … ,
(b) the probabilities associated with these values
are , , … ,
Where =
=
.
.
.
=
=
Then, X is a discrete random variable if + + . . . . +
= 1.
This can be written = 1, where i = 1, 2, … , n
Or
When describing variables, the variable is
usually denoted by a capital letter (X, Y, R,
etc.) and a particular value that the variable
takes by a small letter ( , , , etc.) so that
means ‘the probability the variable X takes
the value .
Q1. Let X be the discrete variable ’the number of
fours obtained when two dice are thrown’. Show
that X is a random variable, i.e. that the sum of
probabilities is 1.
Solution
When two dice are thrown, the number of fours
obtained is 0, 1 or 2. Therefore X can take values 0,
1 and 2 only.
Then:
= = =
= + = +
=
= = =
= + + = = 1.
Therefore X is a random variable.
PROBABILTY DENSITY FUNCTION (p. d. f)
A probability density function (PDF) is a function
that describes the probability distribution of a
continuous random variable. For a discrete random
variable, we use a Probability Mass function (PMF)
instead. The probability mass function of a discrete
random variable X is a function that gives the
probability that X takes on a specific value x,
denoted by P(X=x).
PROBABILTY DENSITY FUNCTION (p. d. f)
That is, P(X=x) = p(x)
where p(x) is the probability mass function of X.
The probability mass function p(x) satisfies the following
properties:
Non-negativity: p(x) ≥ 0 for all values of x.
Normalization: The sum of the probabilities of all possible
outcomes must be 1. That is, Σ p(x) = 1 over all possible
values of x.
Range: The probability of any specific outcome x must be
between 0 and 1. That is, 0 ≤ p(x) ≤ 1 for all values of x.
PROBABILTY DENSITY FUNCTION (p. d. f)
That is, P(X=x) = p(x)
where p(x) is the probability mass function of
X.
The probability mass function p(x) satisfies the
following properties:
Non-negativity: p(x) ≥ 0 for all values of x.
• Normalization: The sum of the probabilities of all
possible outcomes must be 1. That is, Σ p(x) = 1
over all possible values of x.
• Range: The probability of any specific outcome x
must be between 0 and 1. That is, 0 ≤ p(x) ≤ 1 for
all values of x.
EXAMPLES
=0 +1 +2 +3
= 0.5
The expected number of sixes when three dice
are thrown is 0.5.
Examples Continued
⇒
⇒
⇒
Examples Continued
a. Show that or
b. Let
i. Calculate ii. Find
Examples Continued
Solution
a.
⇒
⇒
⇒ as required
Examples Continued
b.
𝑥 0 1 2 3 4
𝑃ሺ 𝑋= 𝑥ሻ 0.2 0.6 ×
4
=
4 0.1 1 0.1
3
9 15
+ 0.2 + 1 + 0.4
4
15
=
+ 15 + 15 + 15 =
4 3 15 6 28
15 15
=
= 𝑃ሺ 𝑋= 2ሻ + 𝑃ሺ 𝑋= 3ሻ + 𝑃ሺ 𝑋= 4ሻ
= 0.1 + 0.1 + 3 =
1 8
15
Examples Continued
Calculate
(i) P(0 <x< 2)
(ii) P(X < 2)
(iii) E(x)
(iv) E
Examples
Solution:
(I)P(0 < x < 2) = P(X = 1) (this is discrete) = 0.2
(II)P(X > 2) = P(X = 3) + P(X = 4) = 0.1 + 0.2
= 0.3
(III)E(x) = = 0 × 0.1 + 1 × 0.2 + 2 × 0.4 + 3 ×
0.1 + 4 × 0.2
= 0.2 + 0.8 + 0.3 + 0.8 = 2.1
(IV) E() = = × 0.1 + × 0.2 + × 0.4 + × 0.1 + ×
0.2
= 0 + 0.2 + 1.6 + 0.9 + 3.2 = 5.9.
EXERCISE
Find and .
3. The random variable X has a probability
function
d) Var (X − 2) = Var(X ) = 3
e) E(X2) = Var(X ) + (E(X ))2 = 3 + 42 = 19
3. The random variable X has the following
probability distribution:
Calculate E(sinX ).
Solution