Professional Documents
Culture Documents
Cuprins:
Concepte
Procedura
Tipuri de erori
Etape
(estimarea valorilor
colectivitii generale).
necunoscute
ale
parametrilor
Concepte
Procedura
Tipuri de erori
Exist 2 tipuri de erori:
Eroarea de tip 1 apare atunci cnd respingem o ipotez
nul adevrat.
P(eroare de tip 1) = [de obicei 0.05 sau 0.01]
reprezint riscul de tipul 1, nivel sau prag de
semnificaie.
(1-) este nivelul de ncredere, probabilitatea de
garantare a rezultatelor.
Tipuri de erori
Tipuri de erori
Rezultatul
H0 Adevrat
testului
H0 Adevrat Decizie corect (nivelul
de ncredere = 1- )
H0 Fals
H0 Fals
Eroare de tip II
(Probabilitate = )
Eroare de tip I
Decizie corect
(prag de semnificaie = ) (probabilitate = 1-)
Etape
1. Stabilirea ipotezelor statistice H0 i H1.
2. Identificarea naturii distribuiei eantionului i
stabilirea testului statistic potrivit.
3. Determinarea tipului de test statistic: dac testul
este bilateral, unilateral dreapta sau unilateral
stnga.
4. Calcularea valorii testului statistic cu ajutorul
datelor in eantion.
Etape
5. Lund n considerare nivelul de semnificaie
specificat () se identific valoarea critic (dou
valori critice pentru testul bilateral) din tabelul
statistic potrivit.
6. Stabilirea regulii de decizie pentru respingerea
ipotezei H0.
7. Folosind regula de decizie de la pasul anterior, se
respinge H0 sau se respinge H1.
General
Ipoteza nul
Ipoteza alternativ
Date
Mecanismul de decizie
Accept ipoteza nul H0
Exemplu
H0: =28 ( este media
necunoscut din
colectivitatea general)
H0: 28
Eantionul x1, x2, ,xn
Testul statistic
Decid =28
Decid 28
Eroarea de tip I
Decid 28 cnd n
realitate H0 este
adevrat.
Decid =28 cnd n
realitate H0 este fals
Eroarea de tip II
Proces n justiie
Acuzatul este nevinovat.
Sursa: Gary Simon, 2007, Hypothesis Testing, Documents prepared for use in course B01.1305, New York University,
Stern School of Business.
Exemplu:
Un
productor
de
bomboane
preambaleaz produsele la cutii ce trebuie s aib
n medie 120 de grame. El dorete s verifice
corectitudinea ambalrii i organizeaz un sondaj
de n=100 observaii (cutii), pentru care se
obine o greutate medie de 118,5g, cu o
abatere medie ptratic de 5g. S se testeze
ipoteza conform creia, n medie, cutiile au cte
120g, cu alternativa c greutatea este diferit de
120g (< 120g sau > 120g) pentru o probabilitate
de 95%.
H 0 : 0
(test bilateral)
H1 : 0
H 0 : 0
H1 : 0
x 0
zcalculat
x 0
x 0
x
n
sx
n
x 0
sx / n
3. Regula de decizie
se
Resping H0
se
se
H 0 : 0
/2
H1 : 0
- z /2
/2
z/2
Exemplu:
H 0 : p p0
H1 : p p0 ; p p0 saup p0
H 0 : p p0
H1 : p p0
H 0 : p p0
H1 : p p0
(test bilateral)
p(1 p) / n)
f (1 f ) / n
zcalculat
f p0
f (1 f ) / n
3. Regula de decizie
Resping H0
Resping H0
Dac
z calculat zcritic
H 0 : p p0
H1 : p p0
- z /2
z /2
/2
Exemplu:
x 0
x 0
sx
n
unde
tcalculat
x x
2
x
n 1
x 0
sx / n
Exemplu:
n2 30
x1 12 ,55 miiRON
x2 13,30 miiRON
s x1 2,15 miiRON
s x 2 2,38 miiRON
1 x2
1 x2
x21
n1
x22
n2
s x21 s x22
n1 n2
1 1
1 1
n1 n2
n1 n2
x2 D
1 x2
n2 12
x1 5,696 suteRON
x2 5,273 suteRON
s x1 0,485 suteRON
s x2 0,635 suteRON
ambele colectiviti generale din care s-au extras eantioanele sunt normal sau
aproximativ normal distribuite;
x21 x22
x2 D
1 1
sc2
n1 n2
unde
s
2
c
1s 2x1 n 2 1s 2x 2 n 1 1s 2x1 n 2 1s 2x 2
n 1 1 n 2 1
n1 n 2 2
x21 x22
t
unde
cu gradele de libertate:
( x1 x2 ) D
s12 s 22
n1 n2
n1 1
n2 1
2
1
H 0 : 2 20
Ipoteze
H1 :
2
H1 : 2 2 0
H1 :
2
Test
Regiune
de respingere
(test bilateral)
(n 1) s 2
2
1 , n 1
(test bilateral)
(test unilateral dreapta)
(test unilateral stnga)
Ipoteze
Test
Regiune
de respingere
H 0 : 12 / 22 1
H 1 : 12 / 22 1
(test bilateral)
H 1 : 12 / 22 1
H 1 : 12 / 22 1
s12 / 12 s12
F 2 2 2
s2 / 2 s2
F F1 / 2,n1 1,n2 1 sauF F / 2,n1 1,n2 1
F F ,n1 1,n2 1
F F1 / 2,n1 1,n2 1
(test bilateral)
Test bilateral
Test unilateral
dreapta
11.30
Bibliografie