














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Concept of A Random Variable
Distribution Functions
Density Functions
Mean Values and Moments
Reading:
G. R. Cooper & C. D. McGillem 2.1 - 2.
EE/STAT 322, #
space, or, a function mapping sample space into the real line. Mathematically: An assignment of a real number to each point in sample
Random variable X
Sample Space
Ω
Real number line
x
Idea
Randomness is in the sample space and probability assignment.
of the experiment yields a specific sample pointrandom variable just assigns a number to each sample point. A performance
ω
, which produces a sample
value, say
x = X ( ω )
, of the random variable.
EE/STAT 322, #
Function:
x ( t ) , where the whole set of
t
is called the
domain
of function
x ( t ) , and the set of
x
is called the
range
of the function.
For example,
x ( t ) =
t 2
is a function, where
t
, and
x
Definition of a random variable (RV): an RV
x
is a process of assigning
a number
x ( ξ )
to every outcome
ξ .
represents a subset of
consisting of all outcomes
ξ
such
that
x ( ξ ) ≤ x.
Thus
x }
is not a set of numbers but a set of
experimental outcomes.
EE/STAT 322, #
Example:
Define an RV
f i ) = 10
i
for the die experiment, where
i
is the number
of the die.
Thus,
f 1 ) = 10
f 2 ) = 20
f 6 ) = 60
The set
consists of elements
f 1 , f
2 , f
3
only.
The set
consists of
f 2 , · · ·
, f
6 .
Alternatively, if we defined
f 1 ) =
f 3 ) =
f 5 ) = 0
, and
f 2 ) =
f 4 ) =
f 6 ) = 2
Then set
{ X ≤ 1 } = { f 1
, f
3 , f
5 } ,
and set
{ X ≥ 2 } = { f 2
, f
4 , f
6 } .
EE/STAT 322, #
Definition:
the probability distribution function of the RV
is
X
(^) ( x ) =
x } ,
where
x
Example:
In the fair die experiment, define an RV
such that
x ( f i ) =
i ,
the distribution function of
is then a staircase function
x ) =
b x c / 6 0 ≤
x <
x <
x
For
example,
f 1 , f
2 , f
3 , f
and
f 1 , (^) · · ·
, f
6 ) = 1
Notation
: upper case letters for RVs and lower ones for their values.
EE/STAT 322, #
7
First, we define
x
)
and
x −
)
as
x
) = lim
ε →
0 F
(^) ( x
ε )
and
x −
) = lim
ε →
0 F
(^) ( x
ε ) .
0 ≤ F x ( x ) ≤ 1 ,
< x <
and
Because
x 1
< x
2 , then
x 1 )
≤
x 2 ) .
Because
X ≤ x 2 } = P
X ≤ x 1 } + P
x 1
< X
x 2 } .
x 1
< X
x 2 ) =
x 2 )
−
x 1 ) .
Because
x 1
< X
x 2 ) =
X ≤ x 2 ) − F
X ≤ x 1 ).
EE/STAT 322, #
density function (pdf), as shown by Definition: the derivative of the distribution function is called the probability
f (^) ( x ) =
d F
x )
d x
lim
∆
x →
0
F
(^) ( x
x )
−
x )
x
f The integral of pdf relates to the distribution function. x ( x ) dx
x < X
x
dx
f x ( x ) ≥ 0 ,
< x <
∞ −∞
f x ( x ) dx
x ( x ) =
x −∞
f x ( u ) du
x 2
x 1 f x ( u )
du
x 2 )
−
x 1 ) =
x 1
< X
x 2 ) .
EE/STAT 322, #
Abbreviation: PMF; Suitable for description of discrete RVs
For continuous RVs, will use Probability Density Function (pdf).
Definition and Notation
p X
(^) ( x ) =
x }
Random variable X )
Sample Space
Ω
Real number line
x
0
1
Probability Law
EE/STAT 322, #
Example:
Let
be the number of heads obtained from two independent
p tosses of a fair coin X
(^) ( x ) =
if
x
or
x
if
x
otherwise
X
EE/STAT 322, #
p X
(^) ( x )
≤
for all
x
x
p X
(^) ( x ) = 1
say that a random variable is a Random variables are often referred to according to their PMF’s. E.g., we
Bernoulli RV
if its PMF is
p X
(^) ( x ) =
p,
if
x
p,
if
x
EE/STAT 322, #
Example:
2 , and
has a density
f X
(^) ( x )
. Determine the distribution
function and PDF of
If Solution:
y
, then
x 2
≤
y
corresponds to
− √ y ≤ x ≤ √ y
, and
Y
( y ) =
√ y ≤ x ≤ √ y } = F X
√ y ) − F X
y ) ,
If
y <
0 , x 2 ≤ y
has no solution for a real RV
x , and
Y
( y ) =
Differentiating
Y
( y ) , we get
f Y
( y ) =
1
2 √
y (^) ( f X
(^) ( √
y ) +
f X
(^) ( −
√
y ))
y
≥
y <
EE/STAT 322, #
Mean of RV
−∞∞
xf
x ) dx
Mean of function
g ( X
g ( x )] =
∞ −∞
g ( x ) f (^) ( g ( x ))
dg
x ) ;
g ( X
∞ −∞
g ( x ) f X
x ) dx
g ( X
y
yp
Y
( y ) =
y
y
{ x | g ( x )=
y } p X
(^) ( x )
y
{ x | g ( x )=
y } yp
X
(^) ( x ) =
y
{ x | g ( x )=
y } g ( x ) p X
x ) =
∑ x g ( x ) p X
x )
EE/STAT 322, #
Linearity of the expectation
E [ g 1 ( X
g 2 ( X
g 1 ( X
E [ g 2 ( X
m
] =
1 ] +
2 ] +
g 2 ( X
g m
( X
E [ g 1 ( X
E [ g 2 ( X
But generally
EE/STAT 322, #
19
Variance var
σ x 2
=
2 ] =
2 ]
2
2
2 ] −
2
Moments:
n ] =
∑ x x n p X
x )
Mean and variance of a linear function of a RV
Let
aX
b
aE
b,
var
{ Y } = a 2
var
EE/STAT 322, #