Professional Documents
Culture Documents
TOUIJAR 15/03/2016
2015-16
Méthodes Econométries
Module M2:
-Econométrie I
Parcours :
Economie et Gestion
S6 -Section B-
Vol. Horaire : 50h = 34 C + 12.5 Td +3.5 éval
TOUIJAR 1 TOUIJAR 2
1
D.TOUIJAR 15/03/2016
CH 0 Introduction
Soit X1, X2, …, Xn un échantillon aléatoire
θ), où θ ∈ Θ
Rappels relatif à la V.A. parente X de loi L (θ
est un paramètre réel inconnu.
I Le semestre précédent, on cherchait à estimer
θ. Mais il arrive qu’on ait une idée préconçue sur
LES TESTS sa valeur: θ = θ 0
On désire alors tester la validité de cette
STATISTIQUES hypothèse, en la confrontant à une hypothèse
alternative.
TOUIJAR 9 TOUIJAR 10
2
D.TOUIJAR 15/03/2016
H0 devient H0 : « θ = θ 0 » et sera
appelée l’hypothèse simple.
TOUIJAR 13 TOUIJAR 14
T.B. # • Cette règle de décision peut
conduire à deux types d’erreurs:
H :"θ ≠ θ "
1 0
TOUIJAR 17 TOUIJAR 18
3
D.TOUIJAR 15/03/2016
4
D.TOUIJAR 15/03/2016
0 TOUIJAR +zα Z
- Notation : TOUIJAR 25 26
Loi de Loi de
F sous α F sous
H1 H0
zα p0 q0
n
R0
cα p 0 R0 p1 cα p0 F
F−p c − p0
α = P0 (RH 0 ) = P0 (F < cα ) = P0 0
< α β
p q
0 0 p0 q0
n n
cα − p0
⇒ = − zα ⇒ cα = p0 − zα p0 q0
p0 q0 n
TOUIJAR 27 TOUIJAR 28
n p1 cα p0
P0 (F < f ) = α 0
rejeter H0 :
α0 < 0,01 very strong evidence against H0
5
D.TOUIJAR 15/03/2016
• D’où:
R0 R0 • R.D
c1 p0 c2 p0q0
Si f − p0 > zα / 2 on rejette H0
n
R0
Si f − p ≤ z p0 q0
or f ∈ [c1 , c2 ] ⇔ f ∈ [ p0 − c , p0 + c ] ⇔ f − p0 ≤ c 0 α/2 on ne rejette pas H0
n
d ' où f ∉ [c1 , c2 ] ⇔ f − p0 > c
• Ou
F−p Si z > zα /2 on rejette H 0
α = P0 (RH 0 ) = P0 ( F − p0 > c ) = P0
c
0
>
Si z ≤ zα /2 on ne rejette pas H 0
p0 q0 p0 q0
n n
• avec f − p0
c p0 q0 z =
⇒ = zα ⇒ c = zα p 0q 0
p0 q0 2 2
TOUIJAR
n 35 TOUIJAR 36
n n
6
D.TOUIJAR 15/03/2016
•i)-
H 0 :" µ = µ 0 " • 1)- Détermination de c en fonction du
risque α :
T .U .D.#
H 1 :" µ > µ 0 "
a)Si σ est connu et (X est normale ou n ≥ 30 )
•ii)-On adopte ensuite une Règle de
décision basée sur la statistique X et qui
c − µ0
α = P0 (RH 0 ) = P0 ( X > c ) = P0 Z > n ×
répondra à la question: à partir de quelle
réalisation de X décidera-t-on du rejet de σ
H0 pour un risque α ?
7
D.TOUIJAR 15/03/2016
Si x − µ0 > c on rejette H0
R0 R0
c1 µ0 c2 Si x − µ0 ≤ c on ne rejette pas H0
TOUIJAR 47 TOUIJAR 48
R0
8
D.TOUIJAR 15/03/2016
RD.
III- Tests Relatifs à Une Si s 2 > cα on rejette H 0
Si s ≤ cα
2
on ne rejette pas H 0
Variance
• Dans ce paragraphe on supposera la χ2 (n-1)
normalité de la population
9
D.TOUIJAR 15/03/2016
Si s 2 ∈ χ 2 σ 02 σ 02
H1 :"σ 2 ≠ σ 02 " n −1;1−α / 2 ; χ n2−1;α / 2
n −1 n − 1
on ne rejette pas H 0
TOUIJAR 55 TOUIJAR 56
10
D.TOUIJAR 15/03/2016
•Où
S =
ˆ 2 (n1 − 1)S12 + (n2 − 1)S 22
Si x1 − x2 > zα / 2
s12 s22
+ on rejette H0
(n1 − 1) + (n2 − 1) n1 n 2
s12 s22
•c)Si σ1 et σ2 inconnus et n1 ≥ 50 , n2 ≥ 50 Si x1 − x2 ≤ zα / 2 + on ne rejette
alors la R.D. est la suivante : n1 n 2
pas H
0
TOUIJAR 63 TOUIJAR 64
• RAPPELS
• Moments Conditionnels :
• On suppose que Y est une V.A.R. mais que X
CH 0 peut être qualitative;
11
D.TOUIJAR 15/03/2016
• Propriétés : • De là on peut définir la V.A. variance
conditionnelle :
• 1) Linéarité: E (Y 1 + Y 2 X ) = E (Y 1 X ) + E (Y 2 X ) V (Y X ) = E (Y − E (Y X ))
2
/X
• 2) Théorème de l’espérance Totale :
• Théorème de la variance Totale :
E E (Y TOUIJAR
X ) = E (Y ) 67 V (Y ) = E V (Y
TOUIJAR / X ) +V E (Y X ) 68
Introduction :
• La RLS (régression linéaire simple)
permet d’étudier la liaison (supposée
linéaire) entre deux variables quantitatives
X et Y; où Y (variable endogène) sera
expliquée par X (variable exogène).
• Autrement, on cherche à prévoir le
comportement moyen de Y en fonction de
la V.A. X : Y= ϕ (X) tel que cet estimateur
soit sans biais : E(Y)=E(Y), et à mesurer
TOUIJAR 71 l’erreur de prévision : V(Y-Y)
TOUIJAR 72
12
D.TOUIJAR 15/03/2016
E (Y ) = E E (Y / X ) + E (W ) ⇒ E (W ) = 0
TOUIJAR 73 = E (Y ) TOUIJAR 74
⇒V (W ) = σ (W ) = 1 −η Y V (Y )
2
2
X + E W ( X − E ( X ) )
=0
Cov ( X ,Y ) = ρ σY
⇒ Cov ( X ,Y ) = α 1V ( X )TOUIJAR
⇒ α1 =
TOUIJAR 75
V (X ) σ X76
13
D.TOUIJAR 15/03/2016
y i = α0 + α1x i +w i ∀i = 1,…, n
14
D.TOUIJAR 15/03/2016
TOUIJAR 85 TOUIJAR 86
TOUIJAR 87 TOUIJAR 88
15
D.TOUIJAR 15/03/2016
f (Y/X)
Remarques
σ
Y
• 1)- La normalité des erreurs W i entraîne celle x1
des Yi ; en effet σ
x2
σ
• Wi N (0,σ2) Y
⇒ i
X i = xi N (α0 +α1xi ; σ2 ) x3
X
• Graphiquement : E (Y / X = x ) = α0 + α1x
TOUIJAR 93 TOUIJAR 94
16
D.TOUIJAR 15/03/2016
∂F (α0 , α1 ) n
• Notons par l’équation de la = 0 ⇔ −2∑ ( y i − α0 − α1x i ) = 0 (1)
droite de régression recherchée
∂α0 i =1
⇔ y = α0 + α1x
• Et la valeur résiduelle. • Donc la droite passe par le point moyen G ( x ; y )
∂F (α0 , α1 ) n
= 0 ⇔ −2∑ x i ( y i − α0 − α1x i ) = 0 ( 2)
• On désire calculer les valeurs qui ∂α1 i =1
n n n
minimisent la somme des carrés des résidus :
n n
⇔ ∑ x i y i − α0 ∑ x i − α1 ∑ x i2 = 0
∑e = ∑ ( y − αˆ0 − αˆ1x i ) = F (αˆ0 , αˆ1 )
2 2 i =1 i =1 i =1
i i
i =1 i =1 ⇔ xy − α0 x − α1 x = 0 2
• Et d’autre part : 0
=
− 0
=
−
(xi )( y i − y )
αˆ1 = ∑
−x
et αˆ0 = y − αˆ1x d’où A1 s’écrit
∑(xi − x )
2
∑
=1 0
0
1 =
• α̂ 1 s’écrit aussi ∑
=1 0
2
n (x y ) − x
αˆ1 = ∑ i i 2 ∑ i ∑2 i
y
TOUIJAR
n ∑ (xi ) − (∑ xi ) 99 TOUIJAR 100
X Y X0 X02 Y0 X0 Y0 Y^ ei ei xi ei2
17
D.TOUIJAR 15/03/2016
∑(X − X )
2
demande moyenne des biens de 1ère nécessité
i
pour un PNB x.
• Rem : 1)- si x (PNB)=0 alors valeur Où E x (Y ) désignera E (Y X =x)
qui n’a aucune signification concrète.
• 2) si x’=x+1, alors ; une augθ de 1 • Remarque :
E x i ( A1 ) =
∑(x i −x )E xi
((Y i − Y) )
α1
Or E x i (Y i ) = α0 + α1x i
(
⇒ E E x i ( A0 ) = E ( A0 ) = α0)
d’où
E x i ( Y ) = α0 + α1x ⇒ E x i (Y i − Y ) = α1 ( x i − x )
⇒ E x i ( A1 ) = α1 TOUIJAR 105 TOUIJAR 106
18
D.TOUIJAR 15/03/2016
=σ ∑ ( k − ω + ω ) = σ ∑ ( k − ω ) + σ ∑ (ω )
i
∑X
2 2 2 2 2 2 2
i i i i i i N 0i
+ 2σ ∑ ω ( k − ω )
2
i i i ∑ X 0iY i − Y∑X 0i
= σ ∑ ( k − ω ) + σ ∑ (ω ) − 2σ ∑ (ω ) 1 1
∑Y i − X = ∑ − X Ωi Y i
2 2 2
= =0
2 2 2
∑ X 0i 2
i i i i
+ 2σ ∑ ω k 2 N N
i i
une réalisation de A0 est :
2σ 2 2σ 2
= σ 2 ∑ ( k i − ωi ) − σ 2 ∑ (ωi ) + 2 ∑ i i
∑ x 02i ∑
2 2
x k − x k
∑ x 0i i 1
V ( A1 ) =1 =0 αˆ0 = ∑ − x ωi yi
2V ( A1 ) N
= σ 2 ∑ ( k i − ωi ) + 2V ( A1 ) −V ( A1 )
2
On vient de voir que A0; est une
combinaison linéaire des Yi et qu’il est sans
= σ ∑ ( k i − ωi ) +V ( A1 ) ≥V ( A1 )
2 2
On calcule maintenant la variance de A0: • Considérons un autre estimateur linéaire sans biais
(désormais, on travaille avec les xi fixées et V au lieu de Vxi) A’ de α0, d’où
2 2
1 1
V ( A 0 ) = ∑ − x ωi V (Y i ) = σ 2 ∑ − x ωi
N N A ′ = ∑ k iY i et E ( A ′ ) = α0 ⇒ ∑ k i E (Y i ) = α0
2
⇒ ∑ k i (α0 + α1x i ) = α0
= σ 2∑ 2 + x 2
1 x 0i x
− 2 ω
N N
2
2
N
i
⇒ α0 ∑ k i + α1 ∑ k i x i = α0
∑ xoi
i =1 ⇒ ∑ k i = 1 et ∑k x i i =0
∑ x0i
2 1 1 x =σ +1 x 2
=σ +x 2
−2 =0 2
N N
2 N N
2 N N
2
∑ x 0i ∑ x 0i ∑ x 0i
i =1 i =1
TOUIJAR i =1 113 TOUIJAR 114
19
D.TOUIJAR 15/03/2016
1
• Or posons f i = − x ωi • Théorème 3 :
N n
V ( A ′ ) = ∑ k i V (Y i ) = σ 2 ∑ k i2 ∑( y − yˆi )
2 2
i
σˆ =
2 i =1 est une estimation sans Biais de σ2
= σ 2 ∑ (ki − f i + f i ) = σ 2 ∑ (ki − f i ) + σ 2 ∑ (f i )
2 2 2
n −2
+ 2σ 2 ∑ f i ( k i − f i )
= σ 2 ∑ ( k i − f i ) −V ( A0 ) + 2σ 2 ∑ f i k i
2
Dém : en injectant Y dans la différence, on a :
2σ 2 2σ 2
=σ ∑(k − fi ) −V ( A0 ) + ∑ x ∑ xi ki
2
ki −
∑ (Y ) = ∑ (Y )
2 n n
2 2
N ∑ x 02i −Y
ˆ −Y+Y−Y
ˆ ;
i
i i i i
=1 =0 i =1 i =1
2σ 2 x 2
= σ 2 ∑ ( k i − f i ) −V ( A0 ) + 2V ( A0 ) et puisque Y = Y
ˆ d'où :
2
+
∑ 0i
x 2
( ) ( )
n n n
= ∑ (Y i − Y ) + ∑ Y ˆ − 2∑ (Y − Y ) Y
2
2
ˆ −Y ˆ −Y
ˆ
= σ 2 ∑ ( k i − f i ) +V ( A0 ) ≥V ( A0 )
2 i i i
i =1 i =1
i =1
(1)
≥0
TOUIJAR 115 ( 2) TOUIJAR (3) 116
∑ (Y − Y ) = ∑ (W i − W ) + α12 ∑ ( x i − x )
2 2
) )
2
( (
n n n
= ∑ (Y i − Y ) + ∑ Y ˆ − 2∑ (Y − Y ) Y
2
2 i
ˆ −Y ˆ −Y
ˆ i =1 i =1 i =1
i i i
i =1 i =1
i =1
+2 ∑ (W i − W ) ( x i − x
n
() ( 2) (3)
)
1
i =1
D’autre part : pour calculer (1), on a :
⇒ ∑ E (Y i − Y ) = ∑ E (W i − W ) + α12 ∑ ( x 0 i
n n n
)
2 2 2
i =1
i =1 i =1
y i = α0 + α1x i +w i n
+2 ∑ ( x i − x ) E (W i − W )
⇒ y i − y = (w i −w ) + α1 ( x i − x )
y = α0 + α1x +w i =1
=0
n n n
= ∑ E W i 2 + n E W 2 − 2 ∑ E W i W + α12 ∑ ( x 0 i )
2
∑ (Yˆ − Yˆ ) = ∑ (Yˆ − Yˆ )
σ2 n 1 n n n n
− 2∑ E W i W i + ∑W j + α12 ∑ ( x 0i ) = A12 ∑ ( xi − x )
2 2
= nσ 2 + n
2 2
i i
n i =1 n j ≠i i =1 i =1 i =1 i =1
2 n
n
i =1
2 n
i =1
(2
⇒ E ∑ Yˆi − Yˆ = ∑ (xi − x ) E A12
) ( )
= nσ 2 + σ 2 − ∑ E W i 2 + E ∑W iW j
n i =1
=σ 2
j ≠i
n 2
= ∑ (x0i ) × V A1 + α12 (( ) )
=0 i =1
n
+α12 ∑ ( x 0i )
2
n 2 σ2 n 2
i =1
n n
( )
= ∑ x0i × n
+ α1 = σ 2 + α12 ∑ ( x0i )
2
∑ ( x0 i )
= nσ 2 + σ 2 − 2σ 2 + α12 ∑ ( x 0i ) = ( n − 1) σ 2 + α12 ∑ ( x 0i )
2 2 i =1 2 i =1
i =1 TOUIJAR i =1 119 i =1 TOUIJAR 120
20
D.TOUIJAR 15/03/2016
∑( )
n 2
E Yi − Yˆi = ( n − 2)σ 2
i i i i i
i =1 i =1 i =1
n n
i =1
= A1 ∑ Yi ( xi − x ) − A1 Y ∑ ( xi − x )
i =1
= ∑ ( x0 i ) ∑ ωi Yi
n 2
i =1
=0
1 n
n−2∑ i
⇒ E Y − Yˆi( )2 = σ 2
i =1
i =1
n
i =1
( n
i =1
)2
⇒ E ∑ (Yi − Y ) Yˆi − Yˆ = E A1 ∑ ( x0i ) A1
CQFD
On pose donc :
n 2
(( ) n 2
= ∑ (x0i ) × V A1 + α12 = σ 2 + α12 ∑ ( x0i ) ) 1
i =1 TOUIJAR
i =1 121
Sσ2 =
n−2
∑ ei2 ESB de σ 2
TOUIJAR 122
∑(x ) 0i
2
)
( n − 2 ) S σ2 = ∑ e i2 χ 2 ( n − 2)
1 σ2 σ2
A0 N (α 0 , σ
2
+
x2
)
N ∑ ( x 0i )
2
est indépendante de A 0 , A1 et Y
1
Ŷi N (α α
1 xi + 0 ,TOUIJAR
σ2 +
x 02i
N ∑ ( x )2
)
123 TOUIJAR 124
0i
II- Tests sur les coefficients du MRLS i)- Formulation des Hypothèses :
H 0 : α1 = 0
• 1- Test sur la régression #
H : α1 ≠ 0
• On veut tester si la régression de Y sur X est
1
significative ?
21
D.TOUIJAR 15/03/2016
A1
N (0 , 1 ) sous H0 σˆ 2 =
1
∑ ( yi − αˆ 0 − αˆ1 xi )2 = 1 ∑ ei2
σ n−2 n−2
∑x 0i
2
• Le n-2 vient du nombre de paramètres estimés
• D’où, la statistique du test sera, sous H0
• Or σ est inconnu, on doit l’estimer;
• Si α 0 et α 1étaient connus, la meilleure
TA1 =
A1
; où sA1 =
σˆ
=
∑e
i
2
estimation de σ2 est : S A1
∑(x ) n − 2 ∑(x )
2 2
0i 0i
1 1
∑w i2 = ∑ ( y i − α0 − α1 x i )
2
qui suit une loi de student à n-2 d.d.l.
n n • Sous H0, T devient :
A1
• Sinon, En remplaçant α0 et α1 par A 0 et A1, on T A1 = tn −2
obtient une bonne estimation
TOUIJAR de σ2 : 127 TOUIJAR
S A1 128
1
#
H
: α ≠ 0
Si t A1 ≤ t n −2 ; α /2 on ne rejette pas H0
1 1
A1
Estimateur et sa loi TA1 = t(10)
S A1
Exercice : R.D.
Si tαˆ > t10 ;0,025 on rejette H0
Pour l’exemple du PNB, 1
Si tαˆ1 ≤ t10 ; 0,025 on ne rejette pas H0
Tester si la régression est significative à 5% ?
TOUIJAR 129 TOUIJAR 130
0, 2074 10 752
= ≈ 4, 06 et t10;0,025 = 2, 23
19, 638 • A.N. 19, 638
t10;0,025 = 2, 23 αˆ1 = 0, 2074 sαˆ1 = 10 = 0, 05
752
•On a t calculé supérieur au t tabulé donc
I C (α1 ) = [ 0, 2074 − 2, 23 × 0, 05 ; 0, 2074 + 2, 23 × 0, 05]
on RH0 la régression est donc significative
= [ 0,096 ; 0,319]
TOUIJAR 131 TOUIJAR 132
22
D.TOUIJAR 15/03/2016
# ⇔
E(SCR/n-2); on a : H
1 : α1 ≠ 0
SCE
E
1
( 2
)
= E A1 ∑ x 0 i = σ + α1 ∑ x 0i
2 2 2 2
H
0 : E (S C E 1 ) = E ( S C R n − 2 ) ( ré g n o n s ig n .)
SCR ∑ e i2 #
E = E = σ
2
n −2 n −2
H
1 : E (S C E 1 ) > E (S C R n − 2 ) ( ré g s ig n .)
•De là, on peut affirmer que si la régression est • La statistique utilisée est SCE
SCR
significative(α 1 ≠ 0 ) alors:E(SCE /1) > E(SCR/n-2) • Sa loi sous H0?
•Par contre, si la régression n’est pas significative On montre que
23
D.TOUIJAR 15/03/2016
= αˆ12
∑x 2
0i
n−2 n−2 SCT
n−2
n−2
∑ x ∑Y 2
0i
2
0i ∑Y 2
0i Et sous H0
R n−2
αˆ12 ∑ x02i SCE F = Tαˆ21 ⇒ Tαˆ 1 = tα / 2 (n − 2 )
=
SCT
=
SCT R.D. (1 − R ) 2
• Car
( )
Si r > rα / 2;n − 2 on rejette H 0
( )
2
SCE = ∑ = ∑ Yˆi − Yˆ
2
Yˆi − Y
Si r ≤ rα / 2;n − 2 on ne rejette pas H 0
= ∑ (αˆ1 ( xi − x )) = αˆ12 ∑ x02i
2
TOUIJAR 143 r α/
α/22; n-2 se trouve sur la tableTOUIJAR
du coefficient de corrélation144
24
D.TOUIJAR 15/03/2016
n ∑ ( x − x )2
= (α 0 + α 1 x ) + (x k − x )α 1 = E (Yk ) i
( )
V Yˆk = V(Y ) + (xk − x ) V(αˆ1 ) =
2 D’où
+ (x k − x )
1 2
σ 2
σ 2 1 ( x − x )2 I C (E (Yk )) = Ŷk − σˆ tα / 2 (n − 2 ) ;
+ ( xk − x ) 2
= σ 2 + k 2
n
n ∑ ( x − x )2
∑x ∑ x0i
2 i
n 0i
1 (x k − x )2
• Or σ2est inconnue, on l’estime par
σ̂ 2
=
∑e 2
i Ŷk + σˆ tα / 2 (n − 2 ) +
(xi − x )2
n ∑TOUIJAR
TOUIJAR
n−2
147
148
+ (xk − x )
1 2
I C (E (Yk )) = Ŷk − σˆ zα / 2 ;
n ∑ ( x − x )2 y
i
b.sup Ŷ = A0 + A1X
+ (xk − x )
1 2
Ŷk + σˆ zα / 2
n ∑ ( x − x )2
i
b.inf
TOUIJAR 149
x
TOUIJAR
X
150
25
D.TOUIJAR 15/03/2016
1 ( 78 − 62 )2
I C ( E (Y 78 ) ) = 13,319 − 2, 23 1,964 + ;
10 752
1 ( 78 − 62 )2
13,319 + 2, 23 1,964 +
10 752
= [11, 287 ;15,352] TOUIJAR 152
12
Soit xk une valeur non observée de X (exple k=n+1)
10
alors la prévision naturelle de Yk est
Y
8
Yˆk = A0 + A1 xk
6
Or Yk =(Y/X=xk ) N (α1 xk + α 0 , σ2)
Vu que les 2 V.A. Yk(ne dépend que de εk) et Ŷk
4
TOUIJAR
X
153 TOUIJAR 154
Actives Modèle Int. de conf. (Moyenne 95%) Int. de conf. (Obs. 95%) on a :
∑ (xi − x )2
n n
− Yˆ
I p (Y 78 ) = [9,568 ;17, 07 ]
Yk ( p )
⇒ ֏ tα / 2 (n − 2 ) )
Sσ
1 + 1 + (x k − x )2
n ∑ (xi − x )2 TOUIJAR 155 TOUIJAR 156
26
D.TOUIJAR 15/03/2016
Introduction : Le modèle :
y i = α 0 + α1x i 1 + α 2 x i 2 + ⋯ + α p x ip + w i 1≤ i ≤ n
TOUIJAR 161 TOUIJAR 162
27
D.TOUIJAR 15/03/2016
∑ (y )
2
n
= i − α 0 − α 1 x i 1 − α 2 x i 2 + ⋯ − α p x ip
ˆ = Y − X αˆ
où e = Y − Y ∂F
= 0 ⇔ − 2 X ′Y + 2 X ′X α = 0
∂α
⇔ α = ( X ′X ) X ′Y
TOUIJAR 167 −1 168
28
D.TOUIJAR 15/03/2016
• Où:
n ∑ x i1 ∑ x i 2 ⋯ ∑ x ip 1
X =
1 1.5
Y = ⇒ 2observations :(1,1.5) et ( 2,2)
∑ x i1 ∑ x i 1 ∑ x i 1 x i 2 ⋯ ∑ x i 1 x ip 1
2 2 2
X ′X = ⋮ ⋮ 3.5 2 3 5 −3
⇒ ( X′X ) =
⋮ ⋮ ⋮ −1
X′Y = X′X =
∑ x ip ∑ x ip x i 1 ⋯ ∑ x ip
2 5.5 3 5 −3 2
1
αˆ = ( X′X ) X′Y =
−1
ˆ = X αˆ = 1.5
Y
( p + 1, p + 1 )
0.5
2
yˆi =1+0.5x i
∑ yi
1.5 1.5 0
X ′Y =
∑ x i1y i e = − =
2 2 0
⋮
• e=0R2 : signifie que la droite estimée passe par les
∑ ip y i
x TOUIJAR 169 TOUIJAR
deux points (1 , 1.5) et (2 , 2).
170
5 • Remarque :
5.5
αˆ = ( X′X ) X′Y = = 1.1 Y
−1
ˆ = X αˆ = 1.1 αˆ ; αˆ ; αˆ ;⋯ ; αˆ sont des fonctions linéaires des Y
2.2 0 1 2 p i
5 yˆi =1.1x i
La matrice Var-Cov (variance-covariance) de αˆ ,
1.5 1.1 0.4
e = − =
notée Ωαˆ , s'écrit : Ωαˆ =σ 2 ( X′X )
−1
2 2.2 −0.2
n
E (W2 )
E (WW2 1)
2
′
ΩW =Ω= E WW =
Ωαˆ = kV (Y ) k ′ = k (σ 2 I n ) k ′ = σ 2 kk ′
I
⋮ ⋱
= σ 2 ( X′X )
−1
X′ X ( X′X )
−1
E (WnW1 )
E (Wn )
2
E (W12 ) 0
= σ 2 ( X′X ) [ X′X ] ( X′X ) = σ 2 ( X′X ) ⋯
−1 −1 −1 0
0 E (W2 )
2
Rem : on peut utiliser la définition : = =σ 2I n
⋮ ⋱
′
Ωαˆ = E (α − αˆ )(α − αˆ )
0
E (Wn )
2
173
TOUIJAR 174
29
D.TOUIJAR 15/03/2016
Γ
⇒ ∑ e i2 = e ' e = W ' Γ W ⇒ E (e ' e ) = σ 2T r ( Γ ) (à développer )
Ωαˆ =σ 2 ( X′X ) ˆ ˆ =σˆ 2 ( X′X )
−1 −1
E (e ' e ) ∑e 2 ⇒Ω α
= σ 2 ( n − ( p + 1) ) ⇒ σ 2 = ⇒ σˆ 2 = i
n − p −1 n − p −1
S CR
= est donc un estimateur san s Biais de σ 2
n − p −1 TOUIJAR 175 TOUIJAR 176
∑ (Y − Y ) = ∑ (Yˆ − Y ) + ∑ (Y − Yˆ )
2 2 2
i i i i
SCT SCE
TOUIJAR SCR = ∑ ei2
177 TOUIJAR 178
30
D.TOUIJAR 15/03/2016
T-test ⋱
F.H. H 0 : α i = 0 σˆ α2ˆ
p
#
=
∑e i
2
( X ′X )
−1
H : α ≠ 0 n − p −1
1 i
( X ′X )
−1
• S.U. si o n p o se d ii le s é lé m e n t d ia g o n a u x d e
αˆi
• Tαˆi = t(n-p-1) a lo rs : σˆ α2ˆ i =
∑e i
2
× d ii
σˆαˆ
i
TOUIJAR 183 n − p −1 TOUIJAR 184
31
D.TOUIJAR 15/03/2016
• INTERVALLE DE PREVISION de yk
TOUIJAR 187
32