Professional Documents
Culture Documents
Week-04-Mathematical Expectations Update
Week-04-Mathematical Expectations Update
Week – 4
MKT3802 Statistical and Experimental Methods for Engineers
Example
Let X be the random variable that denotes the life in hours of a certain
electronic device. The probability density function is
20000
f (x) = x > 100
x3
=0 otherwise
Definition
Let X be a random variable with probability distribution px (xi ) or
f (x). The mean, or expected value, of a new variable g(X) is
X
µg(X) = E(g(X)) = g(xi )px (xi ) for discrete X
i
Z ∞
µg(X) = E(g(X)) = g(x)f (x) dx for continuous X
−∞
Example
Suppose that the number of cars X that pass through a car wash on
any sunny Friday has the following probability distribution:
Definition
Let X be a random variable with probability distribution px (xi ) or
f (x) and mean µX . The variance of X is:
X
2
σX = E[(X − µX )2 ] = (xi − µX )2 px (xi ) for discrete X
i
Z ∞
2
σX = E[(X − µX )2 ] = (x − µX )2 f (x) dx for continuous X
−∞
Alternative way
An alternative and preferred formula for finding variance is
2
σX = E[X 2 ] − µ2X
Definition (STD)
The positive square root of the variance, σx , is called the standard
deviation of X. q
σX = σX 2
Definition (CV)
The ratio of the standard deviation to mean is called a coefficient of
variation of X.
σX
CvX =
µX
Definition
For a new variable Y = g(X) the variance is defined as follows:
2
X
σg(X) = E[(g(X) − µg(X) )2 ] = (g(x) − µg(X) )2 px (xi ) for discrete X
i
Z ∞
2
σg(X) = E[(g(X) − µg(X) )2 ] = (g(x) − µg(X) )2 f (x) dx for continuous X
−∞
f (x, y)
f (y|x) = provided g(x) > 0
g(x)
f (x, y)
f (x|y) = provided h(y) > 0
h(y)
Definition
Let X and Y be two random variables, discrete or continuous, with
joint probability distribution f (x, y) and marginal distributions g(x)
and h(y), respectively. The random variables X and Y are said to be
statistically independent if and only if
f (x, y) = g(x)h(y)
Alternative way
The alternative and preferred formula for covariance is
σXY = E(XY ) − µX µY
Alternative way
Covariance provide simple information regarding the nature of the
relationship between X and Y
The magnitude of covariance does not indicate anything
It is not dimensionless
Magnitude depends on units selected
Dimensionless version of the covariance called as the correlation
coefficient
σXY
ρXY =
σX σY
for k = 2,
X has a probability of at least 3/4 of falling within two standard
deviations of the mean.
Alternatively, 3/4 or more of the observations of any distribution lie
in the interval µX ± 2σX
for k = 3
at least eight-ninths of the observations of any distribution fall in
the interval µX ± 3σX
Example
A random variable X has a mean of 8, a variance of 9, and an unknown
probability distribution. Find P (−4 > X > 20) and P (|X − 8| ≥ 6)
Questions?