Explorer les Livres électroniques
Catégories
Explorer les Livres audio
Catégories
Explorer les Magazines
Catégories
Explorer les Documents
Catégories
variables
Mathématiques Générales B
Université de Genève
Sylvain Sardy
8 mai 2008
1
1. Distributions conjointes
Comment généraliser les fonctions de probabilité et de densité à plus d’une
variable aléatoire ?
Variables aléatoires discrètes :
Considérons 2 variables discrètes : X = utilité des mathématiques et Y =
branche d’étude.
X\Y Pharma SdlT Bio Chimie Total
Math1 5 2 16 8 31
Math2 19 4 24 12 59
Math3 2 2 6 4 14
Total 26 8 46 24 104
Tableau de contingence (2007)
Distributions
2
Distributions
3
RR
où f (x, y) > 0 et f (x, y)dx dy = 1.
Exemple :
exp(−y) 0 < x < y < ∞
f (x, y) =
0 sinon
Est-ce bien une fonction de densité ?
Distributions
4
f(x,y)
Distributions
5
F (x, y) = P(X 6 x, Y 6 y)
Distributions
6
Exemple : On tire deux boules sans remise d’une urne qui contient 8 Rouge,
6 Bleue et 4 Verte. Soit X = le nombre de boules Rouge et Y = le nombre de
boules Bleue. Trouver la distribution conjointe de X et Y .
X\Y 0 1 2
6 24 15
0 153 153 153
32 48
1 153 153 0
28
2 153 0 0
Distributions
7
(1)
R 1/2 R 1
(2) P(X < 1/2) = P(X < 1/2, Y ∈ [0, 1]) = (x + y) dy dx =
0 0
R 1 R 1−y
(3) P(X + Y < 1) = P(X < 1 − Y, Y ∈ [0, 1]) = 0 0 (x + y) dx dy =
Distributions
8
2. Distributions marginales
Comment trouver les distributions marginales de X et de Y à partir de la
distribution conjointe de (X, Y ) ?
Cas discret
X
P(X = x) = P(X = x, Y = y)
y
est la distribution marginale de X.
X
P(Y = y) = P(X = x, Y = y)
x
est la distribution marginale de Y .
Distributions
9
Exemple :
Distributions
10
Exemple :
X\Y 0 1 2 P(X = x)
6 24 15 45
0 153 153 153 153
32 48 80
1 153 153 0 153
28
2 153 0 0 ...
72
P(Y = y) ... 153 ... ...
Distributions
11
Cas continu
Z
fX (x) = f (x, y)dy
est la distribution marginale de X.
Z
fY (y) = f (x, y)dx
est la distribution marginale de Y .
Distributions
12
Exemple :
exp(−y) 0 < x < y < ∞
f (x, y) =
0 sinon
On trouve :
Z Z ∞
fX (x) = f (x, y)dy = exp(−y)dy = exp(−x)
x
fY (y) =
Distributions
13
1.0
0.3
0.8
0.6
0.2
f(x)
f(y)
0.4
0.1
0.2
0.0
0.0
0 2 4 6 8 10 0 2 4 6 8 10
x y
Distributions
14
3. Indépendance
Définition
Distributions
15
Exemple :
X\Y 0 1 2 P(X = x)
6 24 15 45
0 153 153 153 153
32 48 80
1 153 153 0 153
28 28
2 153 0 0 153
72
P(Y = y) ... 153 ... ...
Puisque
P(X = 2, Y = 2) 6= P(X = 2)P(Y = 2),
on déduit que X et Y ne sont pas indépendantes.
Distributions
16
Exemple :
exp(−y) 0 < x < y < ∞
f (x, y) =
0 sinon
On a trouvé :
Z Z ∞
fX (x) = f (x, y)dy = exp(−y)dy = exp(−x)
x
fY (y) = y exp(−y)
Distributions
17
P(S = s) = P(X + Y = s)
X
= P(X = x, Y = s − x)
x
X
= P(X = x)P(Y = s − x).
x
Distributions
18
ind
Donc on peut écrire ”Poi(λ) + Poi(µ) = Poi(λ + µ)”.
Distributions
20
Cas continu
ind
”N(µ1, σ12) + N(µ2, σ22) = N(µ1 + µ2, σ12 + σ22)”.
Distributions
21
5. Distributions conditionnelles
Cas discret
P(X = x, Y = y)
P(X = x | Y = y) =
P(Y = y)
Cas continu
f (x, y)
f (x | Y = y) =
fY (y)
Ainsi f (x, y) = f (x | Y = y)fY (y). Donc si X et Y sont indépendants, on
obtient (page 14) :
f (x, y) = fX (x)fY (y).
Distributions
22
Exemple :
Distributions
23
Exemple :
exp(−y) 0 < x < y < ∞
f (x, y) =
0 sinon
f (x,y) exp(−y) 1
f (x | Y = y) = f (y) = y exp(−y) = y pour 0 < x < y
Donc X | Y = y ∼ . . ..
f (x,y) exp(−y)
f (y | X = x) = f (x) = exp(−x) = exp(−(y − x)) pour y > x.
Donc Y − X | X = x ∼ Exp(1).
Distributions
24
f(y|X=1)
0 1 2 3 4 5 0 1 2 3 4 5
x y
f(y|X=3)
0 1 2 3 4 5 0 1 2 3 4 5
x y
Distributions