Docsity

Esercizi di statistica: stimatori puntuali, data reduction, proprietà campioni casuali, Formulari di Probabilità e Statistica

Toggle sidebar
bg1
Stimatori puntuali Data reduction Proprietà campioni
casuali
Campione casuale :X1, … , X nvariabili aleatorie iid → f
(
x1, … , x n
)
=f
(
x
)
=∏
i=1
n
f
(
xi
)
Statistica:variabile aleatoria
(
o vettore aleatorio
)
T
(
X1, … , X n
)
=T
(
X
)
Media campionaria :X=1
n∑
i=1
n
Xise XiN
(
μ , σ2
)
⇒X N
(
μ , σ2
n
)
Varianzacampionaria :S2=1
n−1∑
i=1
n
(
Xi−X
)
2
(
n−1
)
S2
σ2χn−1
2
(
Xi−μ
σ
)
2
χn
2XiN
(
μ , σ2
)
⇒X−μ
σ
√
n
N
(
0,1
)
σ sconosciuta
→
X−μ
S
√
n
Distribuzione Student :X−μ
S
√
n
=T tn−1
(
n−1gradi di libertà
)
Fisher
(
oSnedecor
)
:
SX
2
SY
2
σX
2
σY
2
=
SX
2
σX
2
SY
2
σY
2
F
(
n−1
)
,
(
m−1
)
Statisticad'ordine :campione casuale ∈ordine crescente→ X
(
1
)
=min
1≤i ≤ n
Xi≤ X
(
2
)
≤ … ≤ X
(
n
)
=max
1≤i ≤ n
XiRange :R=X
(
n
)
−X
(
1
)
Statistica sufficiente per θ :X∨T
(
X
)
=t non dipende da θ
(
f
(
x , t
)
non dipende da θ
)
T
(
X
)
statistica sufficiente per θ ⇔ ∃ g , h t . c . f
(
x∨θ
)
=g
(
T
(
x
)
∨θ
)
h
(
x
) (
g dipende daθ solotramite t , h non dipende da θ
)
Statistica sufficiente e minimale(più grossolana ):T
(
X
)
funzione di T '
(
X
)
→T '
(
x
)
=T'
(
y
)
⇒T
(
x
)
=T
(
y
)
Statistica sufficiente e minimale per θ :f
(
x∨θ
)
f
(
y∨θ
)
non dipende daθ ⇔T
(
x
)
=T
(
y
)
Statistica ancillare per θ :se lasua distribuzione non dipende da θ
Funzione di verosimiglianza:L
(
θ
|
x¿=f
(
x∨θ
)
=
se iid ∏
i=1
n
f
(
xi∨θ1, … , θk
)
(è una funzione di θ , non una probabilità)
Stimatore puntuale :funzione W
(
X1,… X n
)
di un campione
(
→ statistiche sono stimatori puntuali
)
Stima :funzione delle realizzazioni
Metodo dei momenti:
{
1
n∑
i=1
n
Xi
⏞
m1
=E
[
X
]
1
n∑
i=1
n
Xi
2=E
[
X2
]
=Var
[
X
]
+E
[
X
]
2
⋮
1
n∑
i=1
n
Xi
k
⏟
mk
=E
[
Xk
]
Stimatoredi massima verosimiglianza
(
MLE
)
:
^
θ=max L
(
θ
|
x¿¿¿=0¿(poi guardare estremi)¿¿
Funzione di verosimiglianzaindotta :L¿
(
η
|
x¿=¿
{
θ:η=τ
(
θ
)
}
L
(
θ
|
x¿¿⇒se
^
θ è MLE di θ , τ
(
^
θ
)
è MLE di τ
(
θ
)
∀τ
(
θ
) (
anche non 1a1
)
Per verificare se una funzione ha massimo loc∈
(
^
θ1,
^
θ2
)
:•∂
∂θ i
=0•∂2
∂θ 1
2<0oppure ∂2
∂θ 2
2<0• det J =
|
∂2
∂θ 1
2
∂2
∂θ 1∂ θ2
∂2
∂θ2∂ θ1
∂2
∂ θ2
2
|
>0
Errore quadratico medio
(
MSE
)
:E
[
(
W−θ
)
2
]
=Var
(
W
)
+
(
Bias
(
W
)
)
2
Distorsione:Bias
(
W
)
=E
(
W
)
−θ →non distorto :E
(
W
)
=θ
(
se entrambi non distorti, si prende quello con Var minore
)
Miglior stimatore non distorto W ¿di θ :E
(
W¿
)
=θ e ∀W con E
(
W
)
=θ , Var
(
W¿
)
≤ Var
(
W
)
pf3

Anteprima parziale del testo

Scarica Esercizi di statistica: stimatori puntuali, data reduction, proprietà campioni casuali e più Formulari in PDF di Probabilità e Statistica solo su Docsity!

Stimatori puntuali

Data reduction

Proprietà campioni

casuali

Campione casuale : X 1

, … , X

n

variabili aleatorie iid → f

x 1

, … , x

n )

=f ( x) = ∏

i= 1

n

f

x

i )

Statistica :variabile aleatoria ( o vettore aleatorio ) T ( X

1

, … , X

n

) =T^ (^ X^ )

Media campionaria : X=

n

∑

i= 1

n

X

i

se X i

N (^ μ , σ

2

) ⇒ X N

(

μ ,

σ

2

n

)

Varianzacampionaria :S

2

=

n− 1

∑

i= 1

n

( Xi −X^ )

2

( n− 1 ) S

2

σ

2

χ n− 1

2

(

X

i

−μ

σ

)

2

χ n

2

X i

N ( μ , σ

2

X−μ

σ

√n

N ( 0,1 ) σ sconosciuta

→

X−μ

S

√ n

Distribuzione Student :

X−μ

S

√n

=T t n− 1

( (^) n− 1 gradi di libertà) (^) Fisher ( (^) o Snedecor ) (^) :

S

X

2

S

Y

2

σ X

2

σ Y

2

S

X

2

σ X

2

S

Y

2

σ Y

2

F

( n− 1 ) ,( m− 1 )

Statistica d

'

ordine :campione casuale∈ordine crescente → X ( 1 )

= min

1 ≤i ≤ n

X

i

≤ X

( 2 )

≤ … ≤ X

(n )

=max

1 ≤i ≤n

X

i

Range :R=X (n )

−X

( 1 )

Statistica sufficiente per θ : X∨T ( X )=t non dipende daθ ( f ( x , t ) non dipende da θ)

T ( X ) statistica sufficiente per θ ⇔

p ( x ∨θ)

q ( T ( x )∨θ)

non dipende daθ

T ( X ) statistica sufficiente per θ ⇔ ∃ g , h t. c. f ( x∨θ )=g ( T ( x )∨θ ) h( x ) ( g dipende daθ solotramite t , h non dipende daθ )

Statistica sufficiente e minimale( più grossolana ):T (^ X )^ funzione di T

'

( (^) X ) (^) →T

'

( (^) x )=T

'

( (^) y ) (^) ⇒ T ( (^) x )=T ( (^) y )

Statistica sufficiente e minimale per θ:

f ( x∨θ )

f ( y∨θ)

non dipende da θ ⇔ T ( x )=T ( y )

Statistica ancillare per θ :se lasua distribuzione non dipende da θ

Funzione di verosimiglianza : L( θ|x ¿=f ( x∨θ) =

se iid

∏

i= 1

n

f

x i

∨θ 1

, …, θ

k )^

( è una funzione diθ , non una probabilità)

Stimatore puntuale :funzione W

X

1

,… X

n )^

diun campione ( → statistiche sono stimatori puntuali) Stima : funzione delle

Metodo dei momenti:

n

∑

i= 1

n

X

i

⏞

m 1

=E [ X ]

n

∑

i= 1

n

X

i

2

=E [ X

2

]=Var [ X ] +E [ X ]

2

n

∑

i = 1

n

X

i

k

⏟

m k

=E [^ X

k

]

Stimatoredi massima verosimiglianza ( MLE ) :

^

θ=max L ( θ|x ¿ ¿

Funzione di verosimiglianza indotta : L

¿

( η|x ¿=

¿

{θ :η=τ (^ θ)^ } L(^ θ|x ¿ ¿ ⇒ se

^

θ è MLE diθ , τ (^

^

θ )^ è MLE di τ (^ θ)^ ∀ τ (θ )^ (^ anche n

Per verificare se una funzione ha massimo loc∈(

^

θ 1

^

θ 2

) :•^

∂θ i

2

∂θ 1

2

< 0 oppure

2

∂θ 2

2

< 0 • det J=

2

∂θ 1

2

2

∂θ 1

∂ θ 2

2

∂θ 2

∂ θ 1

2

∂ θ 2

2

Errore quadratico medio ( MSE) : E [ ( W −θ )

2

]=Var ( W ) +( Bias( W ) (^) )

2

Distorsione : Bias (W )=E ( W ) −θ →non distorto : E ( W ) =θ ( se entrambi non distorti , si prende quello con Var minore)

Miglior stimatore non distortoW

¿

di θ : E ( W

¿

)=θ e ∀ W con E (W )=θ , Var ( W

¿

) ≤ Var ( W )

Modello regressivo

Stima intervallaria

Test d'ipotesi

P

θ

( X ∈ RR)

⏟

rifiuto H 0

{

probabilità diun errore di I specie se θ ∈

1 −probabilità diun errore di II specie se

Cramer−Rao:

d

dθ

E ( W ( X ) ) =

∫

X

∂ θ

[ W^ (^ x^ )^ f^ (^ x∨θ^ )^ ] d^ x

e

Var ( W ( X ) ) <∞

⇒ Var ( W ( X ) ) ≥

(

d

dθ

E ( W ( X ) )

)

2

E

(

(

∂θ

log f (^ X∨θ)^ )

2

)

Cramer−Rao( X

i

iid ) :

d

dθ

E ( W ( X ) )=

∫

X

∂ θ

[ W^ (^ x^ )^ f^ (^ x∨θ)^ ] d^ x

e

Var ( W ( X ) )<∞

⇒ Var ( W ( X )) ≥

(

d

dθ

E ( W ( X ) )

)

2

n E

(

(

∂ θ

log f (^ X∨θ ) )

2

)

d

dθ

E

(

∂θ

log f ( X∨θ)

)

∫

∂ θ [

(

∂ θ

log f ( x ∨θ)

)

f ( x ∨θ)

]

dx ⇒ E

((^

∂θ

log f ( X∨θ)

)

2

)

=−E

(

2

∂ θ

2

log f ( X∨θ )

)

W ( X ) raggiunge Cramer−Rao ⇔ a ( θ) [ W ( x )−θ]=

∂ θ

log L ( θ|x ¿ ¿ se raggiungeCramer−Rao è unico

Rao−Blackwell :T statistica sufficiente , ϕ ( T )=E ( W|T ¿ ⇒ E ( ϕ ( T ) ) =θ ,Var ( ϕ ( T ) ) ≤ Var ( W ) ⇒ ϕ ( T ) miglior stimatore no

Test rapporto di verosimiglianza ( LRT ) : λ ( x )= ¿

Θ 0

L (θ|x ¿

Θ

L ( θ|x ¿

¿ Regione dirifiuto ( RR) : (^) { x : λ ( x ) ≤c (^) }

T ( X ) statistica sufficiente , λ

¿

( t ) e λ ( x ) LRT ⇒ λ

¿

( T^ (^ x^ )^ ) =λ^ (^ x^ )

Test unione−intersezione : H 0

:θ ∈ ¿ γ ∈ Γ Θ γ

→ RR : ¿ γ ∈ Γ (^) { x :T γ

( x ) ∈ R R γ

} con^ R^ R γ

regione di rifiuto diuna sottoipo

Test intersezione−unione: H 0

:θ ∈ ¿ γ ∈ Γ Θ γ

→ RR : ¿ γ ∈ Γ {

x :T γ

( x ) ∈ R R γ }^

con R R γ

regione di rifiuto diuna sottoipo

Funzione potenza: β ( θ) =P θ

( X ∈ RR) α=massimo della propabilità di avere un errore di I specie

Test di dimensione α :

¿

θ ∈ Θ 0

β ( θ)=α Test dilivello α :

¿

θ ∈ Θ 0

β ( θ) ≤ α

Test uniformemente più potente (^ UMP)^ : β (^ θ )^ ≥ β

'

( (^) θ) (^) ∀ θ ∈ Θ 0

C

Neyman−Pearson: H 0

:θ=θ 0

vs H 1

:θ=θ 1

  • x ∈ RR se f (^) ( x∨θ 1

) >kf^ ( x∨θ

0

  • x ∈ R R

C

se f ( x∨θ

1

) <^ kf^ ( x∨θ

0

  • α=P θ 0

( X ∈ RR) ⇒ UMP dilivello α

Rapporto di verosimiglianza monotona( MLR ) :

g

t∨θ

g (t∨θ

1

funzione monotona di t su g ( t∨θ

1

)>^0 o^ g^ ( t^ ∨θ

2

) >^0

Karlin−Rubin : H 0

:θ ≤θ 0

vs H 1

: θ>θ 0

,T statistica sufficiente con MLR → ∀ t 0

, test che rifiuta H 0

⇔ T >t 0

è UMP di livell

p−value p ( X ) : statisticatest t. c. 0 ≤ p ( x ) ≤ 1 , se assume valori piccoli da supporto ad H 1

, valido se P θ

( p^ (^ X^ )^ ≤^ α^ ) ≤^ α

→ W ( X ) statistica test t. c. se assume valori grandida supporto ad H 1

⇒ p ( x )=

¿

θ ∈ Θ 0

P

θ

( W ( X ) ≥W ( x ) ) valido

Accetto H 0

Rifiuto H 0

H

0

vera

Corretto Errore di I specie

H

1

vera

Errore di II specie Corretto