SlideShare a Scribd company logo
1-1
CHAPTER TWO
2. RANDOM VARIABLES
AND PROBABILITY
DISTRIBUTIONS
1-2
2.1 The Concept & Definition of a Random Variable
Random Variables: - are a numerical
description of the outcome of an experiment.
The particular numerical value of the random
variable depends on the outcome of the
experiment.
 I.e. the value of the random variable is not
known until the experiment outcome is
observed.
1-3
Cont...
Definition 2.1. If S is a sample space with a
probability measure and X is a valued function
defined over the elements of S, and then X is called
random variable.
It is a quantity resulting from an experiment that, by
chance, can assume different values.
Random variable can be classified as either
Discrete or Continuous depending on the
numerical value it assumes.
1-4
2.2. Discrete Random Variables
Discrete Random Variables are random variables
that may assume either a finite whole number of
values or an infinite sequence of whole numbers
such as 0,1,2…is referred to as a discrete
random variable.
Although many experiments have outcomes that
are naturally described by numerical values,
others do not.
1-5
Cont...
Example:
1. The number of students earning a grade of A in year economic
class. Here, there can be 25A s, but can not be 25.15 A grades.
‟
2. Suppose, when a coin is tossed 5 times, then the number of
heads from the given experiment will be: X = 0, 1, 2, 3, 4, 5
(i.e., if we let X be the number of heads, then the values for x
are those.)
3. For an experiment in which we roll a pair of dice say die A and
die B, observing that the random variable X takes on the value
A + B is:
1-6
Cont...
Each of the possible out comes has the probability
1/36.
 S = {(1, 1), (1,2), (2, 1), (1, 3), (3, 1), (2, 2), (1, 4), (4,
1,), (2, 3), (3, 2), (1, 5), (5, 1), (2, 4), (4, 2), (3, 3), (1,
6), (6, 1), (2, 5), (5, 2), (3, 4), (4, 3), (2, 6), (6, 2), (3,
5), (5, 3), (4, 4), (3, 6), (6, 3), (4, 5), (5, 4), (5, 5), (4,
6), (6, 4), (5, 6), (6, 5), (6, 6)}
X 2 3 4 5 6 7 8 9 10 11 12
P(X)=X
1-7
Cont...
Definition 2.2. If X is a discrete random variable, the
function given by f(x) = P(X=x) for each x with in the
range of X is called the probability distribution of X.
 Theorem 2.1. A function can serve as a probability
distribution of a discrete random variable, if its value
f(x), satisfy the following conditions:
 for each value within its domain.
 where the summation extends over all the values
within its domain.
1-8
Cont...
Example 1:- Consider the experiment of rolling two
dice. Assume X is the sum of numbers shown on the
two dice. Then X will take all values as shown
below: (where X is discrete random variable).
Example 2:- For the probability of the total number
of heads obtained in 4 tosses of a coin. Describe the
probability distribution for the given experiment.
X 2 3 4 5 6 7 8 9 10 11 12
P(X)=X
1-9
Cont...
 Solution: Let the possible out comes of heads be noted by X, the
random variable X and its corresponding probabilities by f(x), then:
 Definition 2.3. If X is a discrete random variable, the function
given for , where f(t) is the value of the probability distribution of X
at t is called the distribution function or the cumulative distribution
of X.
X 0 1 2 3 4
P(X)
1-10
Cont...
Theorem 2.2. The values F(X) of the distribution
function of a discrete random variable X satisfy the
conditions:
1. and
2. If then for any real numbers
1-11
Cont...
Example:- Find the distribution function of the total
number of heads obtained in five tosses of a coin.
 Solution: we get f(0) = 1/32; f(1) = 5/32; f(2) =
10/32; f(3) = 10/32; f(4) = 5/32; f(5) = 1,it follows that
by definition 2.3
 F(0) = f(0) = 1/32
 F (1) = f (0) + f(1) = 1/32 + 5/32 = 6/32 = F(0) + f(1)
=
1-12
Cont...
 F(2) = f (0) + f(1) + f(2) = 1/32 + 5/32 + 10/32 =
16/32 = F(1) + f(2) =
 F(3) = f (0) + f(1) + f(2) + f(3) = 1/32 + 5/32 + 10/32
+ 10/32 =26/32= F(2) + f(3) =
 F(4) = f (0) + f(1) + f(2) + f(3) + f(4) = 1/32 + 5/32 +
10/32 + 10/32 + 5/32 = 31/32 + F(3) + f(4) =
 F(5) = f (0) + f(1) + f(2) + f(3) + f(4) + f(5) = 1/32 +
5/32 + 10/32 + 10/32 + 5/32+ 1/32 = 1 =F(4) + f(5) =
1-13
Cont...
𝐹 ( 𝑥 )=
{
0 , 𝑓𝑜𝑟 𝑥 <0
1
32
, 𝑓𝑜𝑟 0 ≤ 𝑥 <1
6
32
, 𝑓𝑜𝑟 1 ≤ 𝑥 <2
16
32
, 𝑓𝑜𝑟 2 ≤ 𝑥 <3
26
32
, 𝑓𝑜𝑟 3 ≤ 𝑥 <4
31
31
, 𝑓𝑜𝑟 4 ≤ 𝑥 <5
¿ 1 , 𝑓𝑜𝑟 𝑥 ≥ 5
1-14
Cont...
Theorem 2.3. If the range of a random variable X
consists of the values , then , and , for i = 1, 2, 3,
…,n.
 Example:- If the distribution function of X is given
by the following cumulative distribution function:
Then find,
1-15
Cont...
𝐹 ( 𝑥 )=
{
0 , 𝑓𝑜𝑟 𝑥 <0
1
32
, 𝑓𝑜𝑟 0 ≤ 𝑥 <1
6
32
, 𝑓𝑜𝑟 1 ≤ 𝑥 <2
16
32
, 𝑓𝑜𝑟 2 ≤ 𝑥 <3
26
32
, 𝑓𝑜𝑟 3 ≤ 𝑥 <4
31
32
, 𝑓𝑜𝑟 4 ≤ 𝑥 <5
¿ 1 , 𝑓𝑜𝑟 𝑥 ≥ 5
1-16
Cont...
Solution – Using theorem 2.3.
 f (0) = F(0) = 1/32
 f (1) = F(1) – F(0) = 6/32 – 1/32 = 5/32
 f(2) = F(2) – F(1) = 16/32 – 6/32 = 10/32
 f (3) = F(3) - F(2) = 26/32 – 16/32 = 10/32
 f (4) = F(4) – F(3) = 31/32 – 26/32 = 5/32
 f(5) = F(5) – F(4) = 32/32 – 31/32 = 1/32
 This is the total number of heads obtained in five tosses of a coin.
1-17
2.3 Expected value and variance of discrete random variable
To summarize the behaviour of the probability
distribution, some of the most common measures include
measuring central tendency and measures of dispersion.
And these terminologies, the so called average and
dispersion are known as the expected value and the
variance of the probability distribution respectively.
2.3.1 Expected value of discrete random variable
The mean of a population is the expected value of the
population and it is denoted by E(X) or µ.
1-18
Cont...
Therefore, the mean:
Reports the central location of the data
Is the long run average value of the random variable
in probability distribution.
Is a weighted average.
Definition 2.4. If X is discrete random variable and
f(x) is the value of its probability distribution at x, the
expected value of x is:
1-19
Cont...
Example: A lot of 12 TV sets includes 2 with white
cords. If 3 of the 10 sets are chosen at random for
shipment to a hotel, how many sets of white cords can
the shipper expect to send to the hotel?
 Solution- X of the two sets with white cords and 3-x of
the 10 other sets can be chosen in ways, 3 of the 12
sets can be chosen in ways and, then possibilities are
equi-probable, we find that the probability distribution of
X, the number of sets with white cords shipped to the
hotel is given by:
1-20
Cont...
, for x = 0, 1, 2.
And then,
Theorem 2.4. If X is a discrete random variable and
f(x) is the value of its probability distribution at x, the
expected value of g(x) is given by;
.
X 0 1 2
f(X)
1-21
Cont...
Example:- If X is the number of points rolled with a
balanced die, find the expected value of
Solution: since each possible outcome has the
probability 1/6, we get:
1-22
Cont..
 Properties of expectation
1. If a and b are constants then the expected value of
is given by:
2. if we set or , it follows from the above that;
If a is constant, then
if b is constant, then
1-23
Cont...
3. The expectation of the sum of two functions g(x)
and h(x) is the sum of the expectations.
 I.e.,
4. If x and y are two random variables, then
5. If x and y are two independent random variables,
then:
1-24
2.3.2 Variance of the discrete random variable
Variance is the amount of spread/variation of
distribution of a random variable.
Definition 2.5. The variance of the distribution of
X or simply the variance of X is denoted by and
is the positive square root of the variance, and is
called the standard deviation.
1-25
 Properties of variances of a
discrete random variable
 If X is a random variable and b is a constant, then
the variance of the sum or difference of the random
variable X and the constant b is given by :
Variance is independent of change of origin.
 If a is a constant number then:
 If a and b are constant numbers then:
1-26
Cont...
 If b is any constant number then:-
 If x and y are independent random variables, then the
variance of the sum of X and Y is given by: .
 If a and b are constants, then the variance of is given by:
In General:-
Note that if X and Y are independent.
1-27
Cont...
Examples1: Calculate the variance of X,
representing the number of points rolled with a
balanced die.
Example 2: Calculate the variance of , representing
the number of points rolled with a balanced die.
Example 3: Calculate the variance of , for the
number of points rolled with a balanced die.
1-28
Cont...
Solution: 1.
1-29
Cont...
 2.
1-30
Cont...
 3.
1-31
2.4 Continuous random variables
(CRV)
Continuous random variable is a variable that can
assume one of an infinitely large number of
values. Example:-
o Height of a student
o Weight of a student
Continuous probability distribution for a
continuous variable X is called the probability
density function and is represented by a curve
bounded by two values from the abscissa and .
1-32
Cont...
The region bounded by the two values and the
curve gives the probability that x lies between the
values a and b. I.e.
Therefore a function of the above expression can
serve as a continuous probability density function of
a continuous random variable if and only if the value
of satisfy the following conditions:
1-33
Cont...
As in the discrete case, is called the cumulative
probability of X, then:
 ; for
1-34
2.5 Expected value and variance of a continuous random variable
2.5.1 Expected value of a continuous random
variable
Definition 2.5. If X is a continuous random variable
and is the value of its probability density at x, the
expected value of X is:
1-35
Cont...
Example: A certain coded measurements of an
objects diameter of threads of a fitting have the
probability density.
Then find the expected value of this random
variable.
Solution:
1-36
Cont...
Theorem 2.5. If X is continuous random variable
and is the value of its probability density at x, the
expected value of g(x) is given by:
Example;- If X has the probability density
Find the Expected value of
1-37
Cont...
Solution:
Properties of expectation for continuous random
variable
The properties of expectation for discrete random
variables work here too.
1-38
Cont...
For instance: if a and b are constant and X is a
continuous random variable, then:
2.5.2 Variance of continuous random variable
Definition 2.7. The variance of the density of a
continuous random variable x is calculated by:
1-39
Cont...
Example:- If:
Find the variance.
Solution: First find E(x). Then:
1-40
Cont...
Then:
1-41
2.6 Moment and Moment Generating Function
2.6.1 Moments: are Used to describe Characteristic
of a distribution.
Definition 2.8. The moment about the origin of a
random variable value X, denoted by is the
expected value of symbolically,
 , when x discrete and
 , when X is continuous
- is called the mean of distribution of x, or simply
the mean of x, & it is denoted by .
1-42
Cont...
Where as the moment about the mean of a
random variable x, denoted by , is the expected
value of , symbolically,
 for r = 0, 1, 2… when x is discrete and
 when x is continuous
Note that and for any random variable for which -
exists.
1-43
Cont...
 &
 - is called the variance of the distribution of X,
or simply the variance of x, and it is denoted by
, var(x), there fore from the above:
 for discrete random variable.
 for continuous random variable.
1-44
2.6.2 Moment Generating Function
The moment generating function of a real valued
random variable is an alternative specification of its
probability distribution. It is a function often used to
characterize the distribution of a random variable.
The moment generating function (MGF) of a random
variable is a function of defined as:
We say that MGF of X exists, if there exists a positive
constant number , such that is finite for all .
1-45
Cont...
Example: Let be a continuous random variable with
support and probability density function
Where is strictly positive number. The expected
value can be computed as follows;
1-46
Cont...
 Furthermore, the above expected value exists and
is finite for any provided that . As a consequence,
passes a MGF:
 If a random variable possesses MGF , then
moment of denoted by , exists and finite for any .
That is;
1-47
Cont...
When is the derivative of with respect to .
evaluated at the point
 Example: In the previous example we have
demonstrated that the MGF of an exponential
random variable is.
1-48
Cont...
The expected value of can be computed by taking
the first derivative of the MGF:
And evaluated at
1-49
Cont...
The second moment of X can be computed by
taking the second derivative of the MGF:
And evaluating it at
And so on for higher moments.

More Related Content

PPTX
Qt random variables notes
PPTX
Quantitative Techniques random variables
PDF
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
PPTX
Discrete Random Variables for mathematics
PPTX
Unit 2 – Probability Distributions (1).pptx
PPTX
ISM_Session_5 _ 23rd and 24th December.pptx
PPTX
Statistics and Probability-Random Variables and Probability Distribution
Qt random variables notes
Quantitative Techniques random variables
understanding-key-concepts-of-probability-and-random-variables-through-exampl...
Discrete Random Variables for mathematics
Unit 2 – Probability Distributions (1).pptx
ISM_Session_5 _ 23rd and 24th December.pptx
Statistics and Probability-Random Variables and Probability Distribution

Similar to Random Variables and Probability Distributions (20)

PPT
Probability and random process Chapter two-Random_Variables.ppt
PPTX
Discussion about random variable ad its characterization
PPT
Chapter07
PPT
02-Random Variables.ppt
PPT
PDF
MATH11-SP-Q3-M1-pdf.pdf
PPT
Marketing management planning on it is a
PDF
U unit7 ssb
DOCX
DMV (1) (1).docx
PPTX
Probability Distribution
PDF
Random Variables and Distributions
PDF
Discrete probability distribution (complete)
PPTX
DISCRETE PROBABILITY DISTRIBUTION IB AI HL
PDF
STAT-WEEK-1-2.pdfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
PPT
Chapter 3 – Random Variables and Probability Distributions
PPTX
MODULE 1: Random Variables and Probability Distributions Quarter 3 Statistics...
PPTX
Probability distribution
DOCX
Random variables and probability distributions Random Va.docx
PPT
random variation 9473 by jaideep.ppt
PPTX
Binomial distribution
Probability and random process Chapter two-Random_Variables.ppt
Discussion about random variable ad its characterization
Chapter07
02-Random Variables.ppt
MATH11-SP-Q3-M1-pdf.pdf
Marketing management planning on it is a
U unit7 ssb
DMV (1) (1).docx
Probability Distribution
Random Variables and Distributions
Discrete probability distribution (complete)
DISCRETE PROBABILITY DISTRIBUTION IB AI HL
STAT-WEEK-1-2.pdfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Chapter 3 – Random Variables and Probability Distributions
MODULE 1: Random Variables and Probability Distributions Quarter 3 Statistics...
Probability distribution
Random variables and probability distributions Random Va.docx
random variation 9473 by jaideep.ppt
Binomial distribution
Ad

Recently uploaded (20)

PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PDF
COST SHEET- Tender and Quotation unit 2.pdf
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PDF
A Brief Introduction About Julia Allison
PDF
Laughter Yoga Basic Learning Workshop Manual
PDF
Types of control:Qualitative vs Quantitative
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
PPTX
Principles of Marketing, Industrial, Consumers,
PPTX
Belch_12e_PPT_Ch18_Accessible_university.pptx
PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PDF
IFRS Notes in your pocket for study all the time
PPT
Data mining for business intelligence ch04 sharda
PPTX
Lecture (1)-Introduction.pptx business communication
PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PDF
Tata consultancy services case study shri Sharda college, basrur
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
COST SHEET- Tender and Quotation unit 2.pdf
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
A Brief Introduction About Julia Allison
Laughter Yoga Basic Learning Workshop Manual
Types of control:Qualitative vs Quantitative
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
Principles of Marketing, Industrial, Consumers,
Belch_12e_PPT_Ch18_Accessible_university.pptx
Power and position in leadershipDOC-20250808-WA0011..pdf
IFRS Notes in your pocket for study all the time
Data mining for business intelligence ch04 sharda
Lecture (1)-Introduction.pptx business communication
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
Tata consultancy services case study shri Sharda college, basrur
ICG2025_ICG 6th steering committee 30-8-24.pptx
Ad

Random Variables and Probability Distributions

  • 1. 1-1 CHAPTER TWO 2. RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
  • 2. 1-2 2.1 The Concept & Definition of a Random Variable Random Variables: - are a numerical description of the outcome of an experiment. The particular numerical value of the random variable depends on the outcome of the experiment.  I.e. the value of the random variable is not known until the experiment outcome is observed.
  • 3. 1-3 Cont... Definition 2.1. If S is a sample space with a probability measure and X is a valued function defined over the elements of S, and then X is called random variable. It is a quantity resulting from an experiment that, by chance, can assume different values. Random variable can be classified as either Discrete or Continuous depending on the numerical value it assumes.
  • 4. 1-4 2.2. Discrete Random Variables Discrete Random Variables are random variables that may assume either a finite whole number of values or an infinite sequence of whole numbers such as 0,1,2…is referred to as a discrete random variable. Although many experiments have outcomes that are naturally described by numerical values, others do not.
  • 5. 1-5 Cont... Example: 1. The number of students earning a grade of A in year economic class. Here, there can be 25A s, but can not be 25.15 A grades. ‟ 2. Suppose, when a coin is tossed 5 times, then the number of heads from the given experiment will be: X = 0, 1, 2, 3, 4, 5 (i.e., if we let X be the number of heads, then the values for x are those.) 3. For an experiment in which we roll a pair of dice say die A and die B, observing that the random variable X takes on the value A + B is:
  • 6. 1-6 Cont... Each of the possible out comes has the probability 1/36.  S = {(1, 1), (1,2), (2, 1), (1, 3), (3, 1), (2, 2), (1, 4), (4, 1,), (2, 3), (3, 2), (1, 5), (5, 1), (2, 4), (4, 2), (3, 3), (1, 6), (6, 1), (2, 5), (5, 2), (3, 4), (4, 3), (2, 6), (6, 2), (3, 5), (5, 3), (4, 4), (3, 6), (6, 3), (4, 5), (5, 4), (5, 5), (4, 6), (6, 4), (5, 6), (6, 5), (6, 6)} X 2 3 4 5 6 7 8 9 10 11 12 P(X)=X
  • 7. 1-7 Cont... Definition 2.2. If X is a discrete random variable, the function given by f(x) = P(X=x) for each x with in the range of X is called the probability distribution of X.  Theorem 2.1. A function can serve as a probability distribution of a discrete random variable, if its value f(x), satisfy the following conditions:  for each value within its domain.  where the summation extends over all the values within its domain.
  • 8. 1-8 Cont... Example 1:- Consider the experiment of rolling two dice. Assume X is the sum of numbers shown on the two dice. Then X will take all values as shown below: (where X is discrete random variable). Example 2:- For the probability of the total number of heads obtained in 4 tosses of a coin. Describe the probability distribution for the given experiment. X 2 3 4 5 6 7 8 9 10 11 12 P(X)=X
  • 9. 1-9 Cont...  Solution: Let the possible out comes of heads be noted by X, the random variable X and its corresponding probabilities by f(x), then:  Definition 2.3. If X is a discrete random variable, the function given for , where f(t) is the value of the probability distribution of X at t is called the distribution function or the cumulative distribution of X. X 0 1 2 3 4 P(X)
  • 10. 1-10 Cont... Theorem 2.2. The values F(X) of the distribution function of a discrete random variable X satisfy the conditions: 1. and 2. If then for any real numbers
  • 11. 1-11 Cont... Example:- Find the distribution function of the total number of heads obtained in five tosses of a coin.  Solution: we get f(0) = 1/32; f(1) = 5/32; f(2) = 10/32; f(3) = 10/32; f(4) = 5/32; f(5) = 1,it follows that by definition 2.3  F(0) = f(0) = 1/32  F (1) = f (0) + f(1) = 1/32 + 5/32 = 6/32 = F(0) + f(1) =
  • 12. 1-12 Cont...  F(2) = f (0) + f(1) + f(2) = 1/32 + 5/32 + 10/32 = 16/32 = F(1) + f(2) =  F(3) = f (0) + f(1) + f(2) + f(3) = 1/32 + 5/32 + 10/32 + 10/32 =26/32= F(2) + f(3) =  F(4) = f (0) + f(1) + f(2) + f(3) + f(4) = 1/32 + 5/32 + 10/32 + 10/32 + 5/32 = 31/32 + F(3) + f(4) =  F(5) = f (0) + f(1) + f(2) + f(3) + f(4) + f(5) = 1/32 + 5/32 + 10/32 + 10/32 + 5/32+ 1/32 = 1 =F(4) + f(5) =
  • 13. 1-13 Cont... 𝐹 ( 𝑥 )= { 0 , 𝑓𝑜𝑟 𝑥 <0 1 32 , 𝑓𝑜𝑟 0 ≤ 𝑥 <1 6 32 , 𝑓𝑜𝑟 1 ≤ 𝑥 <2 16 32 , 𝑓𝑜𝑟 2 ≤ 𝑥 <3 26 32 , 𝑓𝑜𝑟 3 ≤ 𝑥 <4 31 31 , 𝑓𝑜𝑟 4 ≤ 𝑥 <5 ¿ 1 , 𝑓𝑜𝑟 𝑥 ≥ 5
  • 14. 1-14 Cont... Theorem 2.3. If the range of a random variable X consists of the values , then , and , for i = 1, 2, 3, …,n.  Example:- If the distribution function of X is given by the following cumulative distribution function: Then find,
  • 15. 1-15 Cont... 𝐹 ( 𝑥 )= { 0 , 𝑓𝑜𝑟 𝑥 <0 1 32 , 𝑓𝑜𝑟 0 ≤ 𝑥 <1 6 32 , 𝑓𝑜𝑟 1 ≤ 𝑥 <2 16 32 , 𝑓𝑜𝑟 2 ≤ 𝑥 <3 26 32 , 𝑓𝑜𝑟 3 ≤ 𝑥 <4 31 32 , 𝑓𝑜𝑟 4 ≤ 𝑥 <5 ¿ 1 , 𝑓𝑜𝑟 𝑥 ≥ 5
  • 16. 1-16 Cont... Solution – Using theorem 2.3.  f (0) = F(0) = 1/32  f (1) = F(1) – F(0) = 6/32 – 1/32 = 5/32  f(2) = F(2) – F(1) = 16/32 – 6/32 = 10/32  f (3) = F(3) - F(2) = 26/32 – 16/32 = 10/32  f (4) = F(4) – F(3) = 31/32 – 26/32 = 5/32  f(5) = F(5) – F(4) = 32/32 – 31/32 = 1/32  This is the total number of heads obtained in five tosses of a coin.
  • 17. 1-17 2.3 Expected value and variance of discrete random variable To summarize the behaviour of the probability distribution, some of the most common measures include measuring central tendency and measures of dispersion. And these terminologies, the so called average and dispersion are known as the expected value and the variance of the probability distribution respectively. 2.3.1 Expected value of discrete random variable The mean of a population is the expected value of the population and it is denoted by E(X) or µ.
  • 18. 1-18 Cont... Therefore, the mean: Reports the central location of the data Is the long run average value of the random variable in probability distribution. Is a weighted average. Definition 2.4. If X is discrete random variable and f(x) is the value of its probability distribution at x, the expected value of x is:
  • 19. 1-19 Cont... Example: A lot of 12 TV sets includes 2 with white cords. If 3 of the 10 sets are chosen at random for shipment to a hotel, how many sets of white cords can the shipper expect to send to the hotel?  Solution- X of the two sets with white cords and 3-x of the 10 other sets can be chosen in ways, 3 of the 12 sets can be chosen in ways and, then possibilities are equi-probable, we find that the probability distribution of X, the number of sets with white cords shipped to the hotel is given by:
  • 20. 1-20 Cont... , for x = 0, 1, 2. And then, Theorem 2.4. If X is a discrete random variable and f(x) is the value of its probability distribution at x, the expected value of g(x) is given by; . X 0 1 2 f(X)
  • 21. 1-21 Cont... Example:- If X is the number of points rolled with a balanced die, find the expected value of Solution: since each possible outcome has the probability 1/6, we get:
  • 22. 1-22 Cont..  Properties of expectation 1. If a and b are constants then the expected value of is given by: 2. if we set or , it follows from the above that; If a is constant, then if b is constant, then
  • 23. 1-23 Cont... 3. The expectation of the sum of two functions g(x) and h(x) is the sum of the expectations.  I.e., 4. If x and y are two random variables, then 5. If x and y are two independent random variables, then:
  • 24. 1-24 2.3.2 Variance of the discrete random variable Variance is the amount of spread/variation of distribution of a random variable. Definition 2.5. The variance of the distribution of X or simply the variance of X is denoted by and is the positive square root of the variance, and is called the standard deviation.
  • 25. 1-25  Properties of variances of a discrete random variable  If X is a random variable and b is a constant, then the variance of the sum or difference of the random variable X and the constant b is given by : Variance is independent of change of origin.  If a is a constant number then:  If a and b are constant numbers then:
  • 26. 1-26 Cont...  If b is any constant number then:-  If x and y are independent random variables, then the variance of the sum of X and Y is given by: .  If a and b are constants, then the variance of is given by: In General:- Note that if X and Y are independent.
  • 27. 1-27 Cont... Examples1: Calculate the variance of X, representing the number of points rolled with a balanced die. Example 2: Calculate the variance of , representing the number of points rolled with a balanced die. Example 3: Calculate the variance of , for the number of points rolled with a balanced die.
  • 31. 1-31 2.4 Continuous random variables (CRV) Continuous random variable is a variable that can assume one of an infinitely large number of values. Example:- o Height of a student o Weight of a student Continuous probability distribution for a continuous variable X is called the probability density function and is represented by a curve bounded by two values from the abscissa and .
  • 32. 1-32 Cont... The region bounded by the two values and the curve gives the probability that x lies between the values a and b. I.e. Therefore a function of the above expression can serve as a continuous probability density function of a continuous random variable if and only if the value of satisfy the following conditions:
  • 33. 1-33 Cont... As in the discrete case, is called the cumulative probability of X, then:  ; for
  • 34. 1-34 2.5 Expected value and variance of a continuous random variable 2.5.1 Expected value of a continuous random variable Definition 2.5. If X is a continuous random variable and is the value of its probability density at x, the expected value of X is:
  • 35. 1-35 Cont... Example: A certain coded measurements of an objects diameter of threads of a fitting have the probability density. Then find the expected value of this random variable. Solution:
  • 36. 1-36 Cont... Theorem 2.5. If X is continuous random variable and is the value of its probability density at x, the expected value of g(x) is given by: Example;- If X has the probability density Find the Expected value of
  • 37. 1-37 Cont... Solution: Properties of expectation for continuous random variable The properties of expectation for discrete random variables work here too.
  • 38. 1-38 Cont... For instance: if a and b are constant and X is a continuous random variable, then: 2.5.2 Variance of continuous random variable Definition 2.7. The variance of the density of a continuous random variable x is calculated by:
  • 39. 1-39 Cont... Example:- If: Find the variance. Solution: First find E(x). Then:
  • 41. 1-41 2.6 Moment and Moment Generating Function 2.6.1 Moments: are Used to describe Characteristic of a distribution. Definition 2.8. The moment about the origin of a random variable value X, denoted by is the expected value of symbolically,  , when x discrete and  , when X is continuous - is called the mean of distribution of x, or simply the mean of x, & it is denoted by .
  • 42. 1-42 Cont... Where as the moment about the mean of a random variable x, denoted by , is the expected value of , symbolically,  for r = 0, 1, 2… when x is discrete and  when x is continuous Note that and for any random variable for which - exists.
  • 43. 1-43 Cont...  &  - is called the variance of the distribution of X, or simply the variance of x, and it is denoted by , var(x), there fore from the above:  for discrete random variable.  for continuous random variable.
  • 44. 1-44 2.6.2 Moment Generating Function The moment generating function of a real valued random variable is an alternative specification of its probability distribution. It is a function often used to characterize the distribution of a random variable. The moment generating function (MGF) of a random variable is a function of defined as: We say that MGF of X exists, if there exists a positive constant number , such that is finite for all .
  • 45. 1-45 Cont... Example: Let be a continuous random variable with support and probability density function Where is strictly positive number. The expected value can be computed as follows;
  • 46. 1-46 Cont...  Furthermore, the above expected value exists and is finite for any provided that . As a consequence, passes a MGF:  If a random variable possesses MGF , then moment of denoted by , exists and finite for any . That is;
  • 47. 1-47 Cont... When is the derivative of with respect to . evaluated at the point  Example: In the previous example we have demonstrated that the MGF of an exponential random variable is.
  • 48. 1-48 Cont... The expected value of can be computed by taking the first derivative of the MGF: And evaluated at
  • 49. 1-49 Cont... The second moment of X can be computed by taking the second derivative of the MGF: And evaluating it at And so on for higher moments.