Professional Documents
Culture Documents
Chap0 Contineous
Chap0 Contineous
anis.rezguii@gmail.com
INSAT
Mathematics Department
Table of contents
1 Expected learning outcomes
2 Definitions
The probability density function
The cumulative distribution function
The mathematical expectation
The variance and the standard deviation
3 The Normal distribution
4 The Exponential distribution
5 The Gamma distribution
6 The ”Chisquare” distribution
7 The Td distribution of Student
8 The Fisher distribution
anis.rezguii@gmail.com Continuous Random Variable
Expected learning outcomes
Definitions
The Normal distribution
The Exponential distribution
The Gamma distribution
The ”Chisquare” distribution
The Td distribution of Student
The Fisher distribution
Note
Note
Definition
Let X be a continuous random variable with a PDF given by fX .
We associate to X its Cumulative Distribution Function (CDF) FX ,
defined by:
FX : R −→ [0, 1] Z x
x 7−→ P{X ≤ x} = fX (t)dt.
−∞
Check that:
0x − a
if x < a
FU ([a,b]) (x) = if x ∈ [a, b]
b−a
if x > b.
1
Note
1 The CDF, FX , of a given continuous random variable X
satisfies:
i. It is non-decreasing.
ii. lim FX (x) = 1 and lim FX (x) = 0.
x→+∞ x→−∞
2 The CDF of a given continuous random variable, X , is
differentiable wherever the associated PDF is, and we have:
dFX (x)
= fX (x).
dx
3 The latter relation shows that the CDF determines the PDF,
so, we can say that the CDF and the PDF are simply
equivalent.
anis.rezguii@gmail.com Continuous Random Variable
Expected learning outcomes
Definitions
The Normal distribution The probability density function
The Exponential distribution The cumulative distribution function
The Gamma distribution The mathematical expectation
The ”Chisquare” distribution The variance and the standard deviation
The Td distribution of Student
The Fisher distribution
Exercise
Definition
Let X be a continuous random variable X ,→ fX (x)dx, its
mathematical expectation is the quantity:
Z
E(X ) = xfX (x) dx.
R
Notes
1 If any random experiment is repeated many times we expect,
in the ”usual” cases, that most of X’s values are ”close” to
the mathematical expectation E(X ). Thus the mathematical
expectation of a d.r.v is considered as a parameter of central
tendency.
2 If X = c is constant, then its expectation E(X ) = c.
3 E(λX + c) = λE(X ) + c for any real numbers λ and c.
4 Let g : R −→ R be a continuous function, then the
mathematical expectation of the new random variable
Y = g (X ) is given by:
Z −∞
E(g (X )) = g (x)fX (x)dx.
+∞
Examples
a+b
E(X ) = .
2
1 −|x|
2 Let X ,→ e dx, then its expectation is:
2
E(X ) = 0.
E(X )
P{X ≥ λ} ≤ .
λ
E(X )
P{X ≥ λ} ≤ .
λ
The variance
Definition
Let X be a c.r.v with as a PDF fX (x). Its variance, denoted by
V(X ) or σX2 , is the following non negative quantity:
Z
V(X ) = σX2 = (x − E(X ))2 fX (x)dx.
R
Its standard deviation is
p
σX = V(X ).
Notes
1 We expect, after many repetitions of the experiment, and in
the ”usual” cases, that most of X’s values lies in the interval
[E(X ) − σX , E(X ) + σX ].
Theorem
Let (Ω, Σ, P) be a probability space, and X a c.r.v, then for any
λ > 0 we have
V(X )
P{|X − E (X )| ≥ λ} ≤ .
λ2
Note
Tchebychev inequality is often stated as follows:
1
P{|X − E (X )| ≥ nσ} ≤
n2
which can be read
1
P {X ∈ [E(X ) − nσ, E(X ) + nσ]} > 1 −
n2
If for example we take n = 6 we obtain that for any random
variable X , which means for any phenomenon we have the
following estimation:
1
P {X ∈ [E(X ) − 6σ, E(X ) + 6σ]} > 1 − = 97.22%
n2
.
anis.rezguii@gmail.com Continuous Random Variable
Expected learning outcomes
Definitions
The Normal distribution The probability density function
The Exponential distribution The cumulative distribution function
The Gamma distribution The mathematical expectation
The ”Chisquare” distribution The variance and the standard deviation
The Td distribution of Student
The Fisher distribution
V(X ) = E (X 2 ) − E (X )2
Z b 2
a+b
= x 2 dx −
a 2
(b − a)2
=
12
Definition
Let µ ∈ R, σ ∈ R∗+ and X a continuous random variable. We say
that X follows a normal distribution of parameters µ and σ and we
denote X ,→ N(µ, σ), if its probability density function is given by:
1 (x−µ)2
fµ,σ (x) = √ e − 2σ2 .
2πσ
ϕ(x) + ϕ(−x) = 1.
0123456
789
28
8
106
45
6
anis.rezguii@gmail.com
Continuous
Random
Variable
Expected learning outcomes
Definitions
The Normal distribution
The Exponential distribution
The Gamma distribution
The ”Chisquare” distribution
The Td distribution of Student
The Fisher distribution
Linear transformations
Z −µ
,→ N(0, 1)
σ
If Z ,→ N(0, 1) then
σ × Z + µ ,→ N(µ, σ).
P{Z ≤ 4} = P{ Z −10
2 ≤ 4−10
2 } = ϕ(−3) = 0.13%
is acceptable.
2 Do the same thing for the dimensiony .
Solution
1. The dimension x is acceptable if x ∈ [649.9 ; 650.1]. The
theoretical distribution of x is normal N(650, 01 ; 0.05). Then
649.9 − 650.01 x − x̄
P{649.9 ≤ x ≤ 650.1} = P ≤
0.05 σx
650.1 − 650.01
≤
0.05
x − x̄
= P −2.2 ≤ ≤ 1.8
σx
x − x̄
or ,→ N(0, 1) so
σx
P{649.9 ≤ x ≤ 650.1} = ϕ(1, 8) − ϕ(−2, 2)
= ϕ(1, 8) + ϕ(2, 2) − 1 = 95%
anis.rezguii@gmail.com Continuous Random Variable
Expected learning outcomes
Definitions
The Normal distribution
The Exponential distribution
The Gamma distribution
The ”Chisquare” distribution
The Td distribution of Student
The Fisher distribution
Still solution
2. We do the same for the dimension y :
Exponential distribution
Definition
Let X be a continuous random variable and λ ∈ R∗+ a given
parameter. X is said to follow an exponential distribution if its
probability density function is given by:
λe −λx if x ∈ R+
fX =
0 otherwise
we denote X ,→ E(λ).
0.45
0.4
λ = 0.5
0.35
λ = 0.33
0.3
0.25
0.2
0.15
0.1
0.05
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
1 − e −λx
if x ∈ R+
FX =
0 elsewhere
2
1
V(X ) = .
λ2
Exercise
3 Prove that
lim
+
Γ(r ) = +∞.
0
lim Γ(r ) = +∞.
+∞
Variance
V(X ) = E(X 2 ) − E(X )2
Z +∞
1
= x r +1 e −x dx − r 2
Γ(r ) 0
Γ(r + 2)
= − r 2 = r (r + 1) − r 2 = r
Γ(r )
anis.rezguii@gmail.com Continuous Random Variable
Expected learning outcomes
Definitions
The Normal distribution
The Exponential distribution
The Gamma distribution
The ”Chisquare” distribution
The Td distribution of Student
The Fisher distribution
Definition
Let U1 , U2 , · · · , Ud , d independent variables that follow all the
standard normal distribution N(0, 1). We call the ”Chisquare”
distribution with d degrees of freedom and denote χ2d the
distribution of the sum:
E(χ2d ) = d, V(χ2d ) = 2d
Case d=1
Let U ,→ N(0, 1) and x ≥ 0, the CDF of U 2 is given by
FU 2 (x) = P{U 2 ≤ x}
√ √
= P{− x ≤ U ≤ x}
Z √x −t 2 /2 Z √x −t 2 /2
e e
= √
√ t=2 √ dt
− x 2π 0 2π
this leads to
√ 2
∂FU 2 e − x /2 1 1 1
g1 (x) = (x) = 2 √ √ = √ e −x/2 √ 1R (x)
∂x 2π 2 x 2π x +
Case d=2
Let U1 and U2 two independent r.v such that U1 , U2 ,→ N(0, 1),
then
FU 2 +U 2 (x) = P{U12 + U22 ≤ x}
1 2
ZZ
1 1 2 2
= exp − (u1 + u2 ) du1 du2
2π {u12 +u22 ≤x} 2
Z √xZ 2π Z √x
1 2
− r2 r2
= re drdθ = re − 2 dr
2π 0 0 0
Z √x 2
r
= −d e − 2 = 1 − e x/2 1R (x)
+
0
E(Td ) = 0
T -distribution
Exercise
1 Suppose d = 1 show that T1 follows the Cauchy distribution
given by:
1 1
f1 (x) =
π 1 + x2
The F-distribution
Definition
Let A and B two independent random variable that follows
respectively χ2d1 and χ2d2 for d1 and d2 two given integers. Then
the random variable
A/d1
F =
B/d2
defines the so-called Fisher distribution of degrees of freedom d1
and d2 . We denote
A/d1
= F ∼ F(d1 , d2 ).
B/d2
The F-distribution