Documente Academic
Documente Profesional
Documente Cultură
- Curs 11-
Tematic C11
Ipoteze statistice
Ipoteza de normalitate
Ipoteza de necorelare sau de
independen a erorilor
1. Formularea problemei
erorile urmeaz o lege normal de medie 0
i varian 2:
i ~ N ( 0 , 2 )
2. Efectele nclcrii acestei ipoteze
ipoteza de normalitate a erorilor este
important pentru stabilirea proprietilor
estimatorilor parametrilor modelului de
regresie.
a.
-
Exemplu:
H
i
s
t
o
g
r
a
m
D
e
p
n
d
e
V
i
b
l
e
:
g
r
e
u
t
,2
3
0
5
1
,,5
0
F
re
q
u
n
c
y
M
e
a
n
=
1
,
8
5
E
1
5
-R
2
1
0
1
2
S
t
d
.
D
v
.
0
9
4
3
e
g
rs
io
n
S
ta
n
d
riz
e
d
R
e
s
id
u
a
lN0
b. Box-plot
Ipoteze statistice:
H0: ipoteza de normalitate
H1: distribuia erorilor nu urmeaz o lege normal
Regula de decizie:
Exemplu:
Mean
Std. Deviation
Absolute
Positive
Negative
Kolmogorov-Smirnov Z
Asymp. Sig. (2-tailed)
a. Test distribution is Normal.
b. Calculated from data.
10
58,5000
7,83511
,276
,161
-,276
,873
,432
b. Testul Jarque-Bera
Ipoteze statistice
H0: ipoteza de normalitate
H1: distribuia erorilor nu urmeaz o lege normal
n
k
2
JB sw
6
4
unde: sw este
(Skewness):
sw 33
coeficientul
de
asimetrie
k este coeficientul
de boltire (Kurtosis):
4
k 2 3
2
Regula de decizie:
2
, 2
Statistica JB urmeaz o lege
-
Exemplu
n
k2
2
JB sw
6
4
JBcalc
0.752
406
0.4682
6
4
24.38
2 , 2 5.991
JBcalc 2 , 2 : se respinge H 0
Noiuni
relaia:
cov( i , i 1 ) cov( i , i 1 )
i i 1
2
i i k
2
c. Funcia de autocorelaie
Ipoteze statistice
t calc
k M (k )
sk
M( k ) 2
n1 n2
1
n1 n2
2n1n2 n1 n2
s 2n1n2
(n1 n2 ) 2 (n1 n2 1)
2
k
Regula de decizie:
- dac |tcalc|
ta/2,n-2 sau
accept ipoteza H0.
, katunci
M (k ) se
1,96 s
Exemplu:
Nr.crt.
xi
yi
ei
20
-3,07508
21
-3,05303
22
-3,03099
24
-2,00894
25
-1,98689
27
-1,94280
29
-,92075
30
-,89871
10
32
,12334
10
12
35
1,16743
11
13
37
2,18948
12
15
39
2,23357
13
17
40
1,27766
14
19
43
2,32176
15
20
45
3,34380
16
22
47
3,38790
17
23
48
3,40994
18
25
49
2,45403
19
27
50
1,49813
20
29
52
1,54222
21
30
54
2,56427
22
32
55
1,60836
23
35
57
,67450
24
37
58
-,28141
25
39
59
-1,23732
26
40
61
-,21527
27
43
62
-2,14913
28
45
63
-3,10504
29
47
66
-2,06094
30
50
70
-,99481
31
52
71
-1,95071
32
55
75
-,88457
Rezolvare:
-
(---------)(++++++)((---------)
(primele 8 valori ale erorilor ei sunt negative,
urmtoarele 15 valori sunt pozitive iar
ultimele 9 valori sunt negative).
se
parcurg
Ipoteze statistice
H0: erorile nu sunt autocorelate
H1: erorile sunt autocorelate
Calculul statisticii test:
t calc
k M (k )
sk
unde:
M (k ) 2
n1 n 2
1
n1 n 2
M (k ) 2
n1 n2
15 17
1 2
1 16,94
n1 n2
15 17
s k2 2n1 n2
2n1 n 2 n1 n 2
2 15 17 15 17
15
17
7,6796
2
2
(n1 n2 ) (n1 n2 1)
(15 17) (15 17 1)
s k 7,6796 2,7712
tcalc
k M (k )
4,85
sk
Regula de decizie:
|tcalc |=4,85>ttab=1,96 : se respinge ipoteza Ho,
deci erorile sunt autocorelate ntre ele.
SAU
Runs Test 2
Test Valuea
Cases < Test Value
Cases >= Test Value
Total Cases
Number of Runs
Z
Asymp. Sig. (2-tailed)
a. Mean
Unstandardiz
ed Residual
,0000000
17
15
32
3
-4,849
,000
Ipoteze statistice:
H0: erorile nu sunt autocorelate ( = 0)
H1: erorile sunt autocorelate ( 0 )
Calculul statisticii test:
DW d
)
i i1
i2
i 1
2
i
2
2
i i i1 i1
i
i
i
i i i1
i
i
i
i i 1
i
2 1
2( 1 )
2
i
Interpretare:
Regula de decizie:
Model Summaryb
Model
1
R
,985a
R Square
,970
a. Predictors: (Constant), X
b. Dependent Variable: Y
Adjusted
R Square
,960
Std. Error of
the Estimate
2,41523
DurbinWatson
1,429
Interpretare:
Din tabelul Durbin Watson se citesc
valorile: dL=0,610; dU=1,400.
n exemplul dat:
(du=1,400)<(dcalc=1,429)<(4-1,4), ceea
ce arat c se accept ipoteza Ho,
erorile nu sunt autocorelate.