Sst204 Lesson 4
Sst204 Lesson 4
( ) ∑ ( )
Example 4.1
Let X be a discrete random variable with probability distribution given by
( ) {
Obtain ( ).
Solution
( ) ∑ ( )
∑ ( )
1
Let us now consider a new random variable ( ) which depends on a
discrete random variable X. Then the expectation of ( ) is defined by
[ ( )] ∑ ( ) ( )
Example 4.2
The following table shows the probability distribution of a discrete
random variable X.
x 0 1 2 3
f(x)
Solution
(i) ( ) ∑ ( )
∑ ( )=
∑ ( ) ( )
( ) ( ) ( ) ( ) ( ) ( )
( ) ( ) .
2
4.3.2: Expectation of a continuous random variable
( ) ∫ ( ) .
[ ( )] ∫ ( ) ( ) .
Example 4.3
Let X be a continuous random variable with p.d.f
( )
( ) {
Compute ( ) and ( ).
Solution
( ) ∫ ( ) .
∫ ( )
and
( ) ∫ ( ) .
∫ ( ) .
Example 4.4
3
Let X be a continuous random variable with p.d.f given by
( ) { ( )
( ) ∫ ( ) =∫ .
( )
But ∫ ( ) ∫ ( )
* ( )+
[ ( )] ∫ ( ) ( ) .
∫ ( ) ( ) .
∫ ( ) ∫ ( )
( ) …………………………………….. (1)
Let g(X) and ( ) be any two real valued functions of X. Then for any
constants a and b
4
[ ( ) ( )] ∫ ( ( ) ( )) ( ) .
∫ ( ) ( ) ∫ ( ) ( )
[ ( )] [ ( )]……………………… (2)
Example 4.5
Let X be a discrete random variable with probability distribution
( ) {
Compute [ ].
Solution
[ ] ( ) ( )
But ( ) ∑ ( ) ∑ and
( ) ∑ ( ) ∑
Therefore
[ ] ( ) ( )
4.5 Assessment
1. Let X be a discrete random variable with probability distribution given by
( ) {
Show that ( ) .
5
2. The following table shows the probability distribution function of a discrete
random variable X
x -5 -2 1 3
f(x) 0
Compute ( ) , ( ) and ( ).
1. Suppose the p.d.f of a continuous random variable is defined by
( ) {
( )
( ) {
Compute ( ) , ( ) ( )
References
1. Introduction to the Theory of Statistics by A.M. Mood, F.A. Graybill and
D.C. Boes .
2. Probability and Statistics by Rao V. Dukkip.
3. Statistical Methods by S.P. Gupta