Draswa Chapter4randomvariableandprobabilitydistribution 28week5 29
Draswa Chapter4randomvariableandprobabilitydistribution 28week5 29
Calculate E(X).
Solution:
Variance and Standard Deviation
9Variance of a Continuous Random Variable
If X is a continuous random variable with probability distribution f(x)
then the variance of X is given by :
2
Var( X ) ( X x ) f (x)dx
E ( X
2 2 2
) [ E ( X )]
Example: Calculate the variance and standard deviation for a continuous
random variable X with probability density function :
Solution:
Cumulative Distribution Function
Discrete RV
Continuous RV
which satisfies :
* is an increase function
which the max value is 1.
which the min value is 0.
Cumulative Distribution Function
Discrete RV
Example:
Consider tossing a fair coin 3 times. Define X = the number of heads
obtained. Find the cumulative distribution function of X.
Value, x 0 1 2 3
Probability, P(X=x) 1/8 3/8 3/8 1/8
Solution :
Cumulative Distribution Function
• The cumulative distribution function :
Cumulative Distribution Function
Continuous RV
Example 1:
The continuous random variable, X has the probability distribution
function
By using CDF:
(b) Compute answer : 0.1406
(c) Compute answer : 0.7243
(d) Compute answer :0.875