Documente Academic
Documente Profesional
Documente Cultură
6. Testarea statistic
6.1. Aspecte generale ale testrii statistice
6.1.1. Obiectivele testrii statistice
6.1.2. Demersul testrii statistice
6.1.3. Teste parametrice versus teste neparametrice
6.2. Testarea ipotezelor asupra unui eantion
6.2.1 Testarea ipotezelor asupra mediei: testul t, testul Z
6.2.2 Testarea ipotezelor asupra proporiei: testul t, testul Z
6. Testarea statistic
6.3. Testarea ipotezelor privind dou eantioane (cazul
eantioanelor independente)
- verificarea egalitii mediilor.
6.4. Testarea ipotezelor privind 3 i mai multe eantioane
independente (Testul Fisher ANOVA)
Erori de testare
Decizia testului se ia cu o anumit eroare, care poate fi:
eroare de tip I (eroare de prim spe, notat )
eroare de tip II (eroare de a doua spe, notat )
t=
0
' / n
x 0
/
t calculat =
x 0
s' / n
Exemplu
Exemplu
a)
Demersul testrii:
Formularea ipotezelor statistice
H0 : = 0
H1 : 0
c)
Testul statistic
t calculat =
d)
p 0
p( 1 p ) / n
Regula de decizie
H 1 : 1 2 0
6.3. Testarea
eantioane
atunci cnd 12 22
t calculat =
ipotezelor
privind
x1 x 2
s' 12 s' 22
+
n1
n2
atunci cnd
12 = 22
x1 x2
t calculat =
s' p
1
1
+
n1 n2
dou
6.3. Testarea
eantioane
ipotezelor
privind
dou
unde:
s' p =
s' 12 ( n1 1 ) + s' 22 ( n 2 1 )
n1 + n 2 2
Exemplu
Pentru dou eantioane extrase aleator simplu de volum
n1=n2=625 persoane s-a nregistrat vrsta i s-au obinut
urmtoarele rezultate:
x1 = 35 ani, x2 = 32 ani
s' 1 = 2 ani , s' 2 = 4 ani
6.3. Testarea
eantioane
ipotezelor
privind
dou
VT = V E + V R
-
Variaia total
TSS = ( xi x ) 2
i
Variaia explicat
ESS = ( x j x ) 2
i =1
Variaia rezidual
nj k
RSS = ( xij x j ) 2
i =1 j =1
H 0 : 1 = 2 = K = k
H 1 : mediile a cel putin doua populatii sunt diferite
VE / k 1
F=
V / n k
R
ESS / k 1 ESS n k
=
RSS / n k RSS k 1
Between Groups
Within Groups
Total
Sum of
Squares
149.400
64.800
214.200
df
2
17
19
Mean Square
74.700
3.812
F
19.597
Sig.
.000