Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
x p
X
It may be noted that if in a particular case, it is certain that the outcome is only c, then
( ) | | 1 p c P X c
X
= = = . In the case of mutually exclusive outcomes,
, , ......
1 2
x x x
n
,
( ) ( ) ( ) ( ) ... ...
1 2 1 2
p x x x p x p x p x
n n
X X X
= + + + .
Example problem of PMF
Prob. The number of floods recorded per year at a gauging station in Italy are given in the Table
1. Find the PMF and plot it. (Kottegoda and Rosso, 2008)
2
=
}
Fig. 3 Probability Density Function (pdf) of X
It may be noted that when a pdf is graphically portrayed, the area under the curve between two
limits, x
1
and x
2
(such that x
2
>
x
1
) gives the probability that the random variable X lies in the
interval x
1
to x
2
. In figure 4, the shaded portion gives the probability of the random variable X
lying in the interval
1
x to x
2
.
( ) ( ) ( )
1 2
2
1
1 1
x
P x X x f x dx
X
x
s s = s
}
5
Fig. 4 Probability Density Function (pdf) of X
Example problem on pdf
Prob. (Ang and Tang,1975) A random variable X has a pdf of the form
( )
elsewhere
x x x f
X
0
10 0
2
=
s s =o
(a) Under what condition is this function a valid pdf ?
(b) What is the probability of X being greater than 5?
Solution:
(a) To satisfy all properties of pdf,
1000
3
,
1
3
,
1
10
0
3
10
0
2
=
=
(
=
}
o
o
o
or
x
or
dx x
(b) Now the probability
( ) ( ) 875 . 0
1000
5
1
1000
3
1 5 1 5
3
5
0
2
= = = s = >
}
dx
x
X P X P
6
x for e x f
x
X
2
2
2
2
2
1
o
to
Figure 5 shows 3 normal distribution functions with different parameters.
Fig. 5 Normal distribution functions
Exponential Distribution
Exponential Distribution is the probability distribution function with parameter , and its
probability density function is expressed as:
( )
otherwise
x for e x f
x
X
0
0
=
> =
Figure 6 shows 3 exponential distribution functions with different parameters.
( ) x f
X
x
7
Fig. 6 Exponential distribution functions
Gamma Distribution
Gamma distribution is the probability distribution function with parameters and (where >0,
>0) and its probability density function is expressed as,
( )
( )
otherwise
x for e
x
x f
x
X
0
0
/
1
=
>
I
=
|
o
o
| o
where ( )
}
= I
0
1
dx e x
x o
o
When is an positive integer, ( ) ( )! 1 = I o o
Figure 7 shows 3 gamma distribution functions with different parameters.
8
Fig. 7 Gamma distribution functions