













Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!














n
a+ bX
0 p= 0 cm p=2.54 cm→ cm=0.3937 p
o c
=28.35 g → g=
o c
(
x
)
( 1 )
(n)
n= ∑
n j
f j
)
n j
n
dove ∑
f j
j
∑
h= 1
j
n h
j
∑
h= 1
j
f h
h j
f j
c j
−c j− 1
(
frequenza relativa
apiezza classe
)
(
x
) =arg max n
x=
n
∑
x i
x=
n
∑
c j
∗n j
∑
c j
∗f j
n
∑
c j− 1
∗n j
∑ c j
∗n j
{
x
= ⌈ n∗0.25 ⌉ =x n
=x ¿
x
= ⌈ n∗0.5 ⌉ =x n
=x ¿
(mediana)
x
= ⌈ n∗0.75 ⌉ =x n
=x ¿
Scarto : ∑
i= 1
n
(
x i
−x )
m r
n
∑ (
x i
r
m r
n
∑
i= 1
n
(
x i
−x )
r
m r
n
∑
i= 1
n
(
x i
−x )
r
∗c j
∑
i= 1
n
(
x i
−x )
r
∗f j
(
ω x )
=x n
−x 1
x
=x
−x
u i
2
(
x i
−x )
2
=m 2 x
s x
2
n
∑
i= 1
n
(
x i
−x )
2
=m 2 x
−x
2
s x
2
n
∑
i= 1
n
( c j
−x )
2
∗nj=
n
∑
i= 1
n
( c j
−x )
2
∗fj
s x
2
n
∑
i= 1
n
( c j
−x )
2
∗nj= ∑
i= 1
n
( c j
−x )
2
∗fj
s x
2
=s w
2
2
w
2
n
∑
n= 1
h
s
2
∗n h
b
2
n
∑
n= 1
h
(
x h
−x )
2
∗n h
s y
2
=b
2
∗s x
2
z=a+b x=
−x
s x
s x
x= 0
s z
2
(
s x
)
2
∗s x
2
s x )
√
s x
2
y ¿ x=c j
n j.
∑
l= 1
h
d l
∗n jl
s
y
2
n j
∑
l= 1
h
(
d
l
− y
¿ x=c j
)
2
n
jl
η y∨x
2
s b
2
s y
2
s y
2
−s w
2
s y
2
s w
2
s y
2
s b
2
n
∑
j= 1
k
(
y ¿ c j
− y )
2
n j.
s b
2
η y∨x
2
s w
2
n
∑
j= 1
k
s y
2
∗n j.
s w
2
η y∨x
2
s xy
n
∑
l= 1
n
(
x i
− x ) (
y i
− y )
s xy
n
∑
j= 1
k
∑
l = 1
h
(
c j
−x ) (
d l
− y )
n jl
∑
j= 1
k
∑
l= 1
h
(
c j
−x ) (
d l
− y )
f jl
s xy
n
∑
j= 1
k
∑
l= 1
h
(
c j
−x ) (
d l
− y )
n jl
∑
j= 1
k
∑
l= 1
h
(
c j
−x ) (
d l
− y )
f jl
s xy
=m xy
−x∗y
m xy
n
∑
(x i
∗y i
s wz
bd∗ 1
n
∑
l= 1
n
( x i
−x ) ( y i
− y ) =bd∗s xy
s wx
2
= 2 s x
2
r xy
s xy
s x
s y
r wz
=segno opposto r xy
Y =a+bX → r xy
b
β 0
β 1
β 1
∑ ( y i
− y ) x i
∑ (
x i
−x )
x i
s xy
s x
2
m xy
−x y
m 2 x
− x
2
β 0
= y −
β 1
x
^y= y
s ^y
2
β 1
2
s y
2
=r xy
2
s y
2
e= y −^y
e= 0
s e
2
n
∑
i= 1
n
( y i
−^y i
)
2
s e
2
xy
2
s y
2
s y
2
=s ^y
2
2
xy
2
s ^y
2
s y
2
s y
2
−s e
2
s y
2
s e
2
s y
2
xy
2
=r xy
2
wz
2
xy
2
(
n
k
)
n!
k !∗( n−k )!
dove n !=n∗( n− 1 )∗( n− 2 )∗…∗n−(n− 1 )
c
c
c
c
c
c
B=¿ i= 1 ¿ n ( B∩ E i
)=¿ (E ∩ B) ∪ ( E
c
) ¿
N
(
1
2 )
(
1 )
(
2 )
( E
c
) = 1 → P ( E
c
) = 1 −P ( E)
(
1 )
(
2 )
(
1
2 )
(
1
2
)
(
1
)
(
2
)
(
1
2
)
∑
i ∈ I E
p i
(
x 1
)
∫
x 1
X
f (x ) du=
lunghezzaintervallo
ampiezza intervallo
x 2
−x
X −x 1
(
x 1
¿
≤ X ≤ x 2
¿
)
∫
x 1
x 2
f ( x ) du=
lunghezzaintervallo
ampiezza intervallo
x 2
−x 1
x
2
¿
−x
1
¿
(
x p )
=p
μ 0
=argmax f (
x i )
μ 0
=argmax f ( x )
E ( X ) =μ x
∑
x i
f (
x i )
E ( X ) =μ x
∫
f ( x ) dx
(
)
∑
(
x i )
f (
x i )
(
)
∫
T ( x ) f ( x ) dx
Y =a+bX → E ( X )=a+ bE(X )
E ( X
r
)=μ
r
∑
x i
r
f ( x i
)
E ( X ) =μ
r
∫
x
r
f ( x ) dx
[ ( X−μ x
)
r
]
=μ rx
∑ ( x i
−μ x
)
r
f ( x i
)
μ xr
∫ (
x−μ x )
r
f ( x ) dx
σ x
2
=μ 2
−( E ( X ) )
2
σ y
2
=b
2
σ x
2
( Y )= X−μ x
E ( Y ) = 0 Var ( Y )=Var ( X )
X−μ x
σ x
E ( Z )= 0 σ z
2
(
x
)
σ x
μ x
( a 3
)=
μ 3 x
σ x
3
( a 4
) =
μ 4 x
σ x
4
Variabili Casuali discrete
∑
x i
≤ x
∑
y i
≤ y
p (
x i
, y i )
( x i
, y i
) =f ( x i
, y i
)
f x ( x i
∑
y j
∈ Y
f ( x i
, y i )
f y ( y i )
∑
x j ∈ X
f ( x i
, y i )
f (
x i
, y i )
=f x (
x i )
∗f y (
y i )
(
( g ( X , Y ) ) )
∑
x i ∈ X (Ω )
∑
y j ∈ Y (Ω )
g (
x i
, y j )
f (
x i
, y j )
(
) =μ xy
∑
x i ∈ X (Ω )
∑
y j ∈ Y ( Ω )
x i
y j
f ( x i
, y j
)
Variabili Casuali Continue
F ( x , y )= ∫
−∞
x
∫
−∞
y
f (u , v ) dudv
Funzione di densità congiunta : ∫
−∞
x
∫
−∞
y
f ( u , v ) dudv= 1
f x
∫
−∞
+∞
f ( x , y ) dy = ∫
Y (Ω)
f ( x , y ) dy
f y
∫
−∞
f ( x , y ) dx= ∫
X (Ω)
f ( x , y ) dx
Sia Discreta che Continua
Z=a+b 1
1
+b 2
2
E ( Z ) =a+ ∑ b i
(
i
)
σ Z
2
∑ b i
2
σ X i
2
∑
i= 1
k
∑
j ≠i
b i
b j
σ X i , X j
σ X i , X j
)
σ z
2
∑
b i
2
σ X i
2
π=P
ω s
{
ω s
,ωi }
(
ω s )
(
ω i )
P ( X= 0 )= 1 −π
P ( X= 1 )=π
( f ( x ) ) =P ( X=x )=π
x
( 1 −π )
1 − x
f ( 0 )=P ( X= 0 )= 1 −π
f ( 1 ) =P( X= 1 )=π
E ( X ) =π
E ( X
r
)=π
σ X i
2
=π ( 1 −π )
x
√
σ x
2
π ( 1 −π )
π
π
X Bernoulli ( π )
Si usa solo in caso di ripetizione/reinserimento o presenza di n elementi con Beroulli
π=P
{ ω s }
{ ω s
,ωi }
F ( X )= prob. cululate f (x )
n
f ( x )=P ( X =x )=
(
n
x
)
π
x
∗( 1 −π )
n−x
(
n
x
)
n!
x! ( n−x )!
∑
i
)=nπ
σ Y
2
=σ
2
∑
i
∑ σ X i
2
=nπ
1 −π
X B ( n , π )
x , μ ,σ
σ √ 2 π
∗e
− 1
2
x−μ
σ
a 4
( μ , σ
2
)
Normale standard
2
z
√ 2 π
∗e
−
z
2
2
∫
−∞
x
√ 2 π σ
e
− 1
2
t− μ
σ
dt= ∫
−∞
x−μ
σ
√ 2 π
∗e
−
z
2
2
dz=Φ
(
x−μ
σ
)
x p
=μ+ σ z p
z
x
→ z p
χ k
2
∑
i= 1
k
i
2
E ( X ) =μ
2
σ
2
n
2
n
oppure
c
2
n
2
n− 1
n
σ
2
c
2
n
n− 1
2
n− 1
∑ (
i
)
2
(
) =E ( X )=π
σ
2
π∗ 1 −π
n
f n
( x 1
, x 2
, … , x n
, θ )
∏
i= 1
n
f ( x i
, θ )
( θ | x 1
, … , x n
)
θ :
( θ | x 1
, … , x n
)
∂ θ
∂ log L ( θ | x 1
, … , x n
)
∂ θ
( π | x 1
, … , x n
) =π
∑ x i
( 1 −π )
1 −∑ x i
^π=x
μ , σ
2
| x 1
, … , x n
∏
i= 1
n
√ 2 π σ
e
− 1
2
(
x i −μ
σ
) 2
^μ= x
Intervallo di confidenza generale : [
τ
− 1
( x 1
, … , x n
, q 1 ) ; τ
− 1
( x 1
,… , x n
, q 2 ) ]
a=a 1
→ a 1
=a 2
a
( simmetriche)
2
q 1
=−z
1 −
a
2
q 2
=z
1 −
a
2
(
μ ,
σ
2
n
)
x−μ
σ
√ n
[
x−
z
1 −
a
2
∗σ
√ n
; x +
z
1 −
a
2
∗σ
√ n
]
=x ∓
z
1 −
a
2
∗σ
√ n
(
z
1 −
a
2
∗σ
√ n
)
(
z
1 −
a
2
∗σ
√ n
)
2
e n≤ 30
q 1
=−t
n−1,1−
a
2
q 2
=t
n−1,1−
a
2
x−μ
c
√n
≅ t n− 1
c
2
n
1 −n
2
[
x−
t
n−1,1−
a
2
c
√n
; x+
t
n−1,1−
a
2
c
√ n
]
=¿ x ∓
t
n −1,1−
a
2
c
√n
2
q 1
=−z
1 −
a
2
q 2
=z
1 −
a
2
x−μ
c
√ n
[
z
1 −
a
2
c
√ n
z
1 −
a
2
c
√ n
]
q 1
=−z
1 −
a
2
q 2
=z
1 −
a
2
x−μ
c
√n
[
z
1 −
a
2
c
√n
z
1 −
a
2
c
√n
]
|
x−μ 0
c
√ n
|
z
1 −
a
2
|
x−μ 0
c
√ n
|
≤ z
1 −
a
2
0 X N ( μ , σ
2
)
n ≥ 50
x−μ
c
√ n
|
x−μ 0
c
√n
|
z
1 −
a
2
|
x−μ 0
c
√ n
|
≤ z
1 −
a
2
0
:π =π
(
π 0
π 0 (
1 −π 0 )
n
)
(
P−π 0
)
√
π 0 ( 1 −π 0 )
n
^p=
π
n
( ^p−π 0
)
√
π 0
( 1 −π 0
)
n
(
P−π 0
)
√
π 0
( 1 −π 0
)
n
≤ z
1 −
a
2
(
P−π 0
)
√
π 0
( 1 −π 0
)
n
z
1 −
a
2
Verifica di ipotesi di eguaglianza di 2 valori attesi
1
(
μ 1
σ 1
2
n 1
)
e X 2
(
μ 2
σ 2
2
n 2
)
1
2
(
μ 1
−μ 2
σ 1
2
n 1
σ 2
2
n 2
)
0
→ μ 1
−μ 2
1
2
(
σ 1
2
n 1
σ 2
2
n 2
)
|
1
2
√
σ 1
2
n 1
σ 2
2
n 2
|
1 −
a
2
1 −
a
2
|
1
2
√
1 c
2
n 1
2 c
2
n 2
|
1 −
a
2
1 −
a
2
1
(
μ 1
σ 1
2
n 1
)
e X 2
(
μ 2
σ 2
2
n 2
)
1
2
(
μ 1
−μ 2
σ 1
2
n 1
σ 2
2
n 2
)
0
→ μ 1
−μ 2
1
2
(
σ 1
2
n 1
σ 2
2
n 2
)
|
1
2
√
σ
1
2
n 1
σ
2
2
n 2
|
1 −
a
2
1 −
a
2
d= ∑
j= 1
k
(
n j
−n π j )
n π j
2
=n
(
∑
(
f j
−π j )
2
π j
)
d
≤ χ k−1,1−a
2
d
χ k−1,1−a
2
Test d’indipendenza
d= ∑
l= 1
k
∑
j= 1
h (
n jl
n j
.−n .l
n
)
n j
.−n
. l
n
2
d
≤ χ (k − 1 )(h− 1 ), 1 −a
2
d
χ (k− 1 )(h− 1 ), 1 −a
2
∫
−∞
+∞
x
a
dx=
[
x
a+ 1
a+ 1
]
−∞
+∞
∫
−∞
+∞
−∞
+∞
con n ∈ R
∫
−∞
+∞
x
a
n
dx=
[
x
a + 1
n∗(a+ 1 )
]
−∞
Proprietà
∫
−∞
+∞
[ f ( x ) +g ( x ) ] dx= ∫
−∞
f ( x ) dx + ∫
−∞
+∞
g ( x ) dx
∫
−∞
+∞
[ f ( x ) −g ( x ) ] dx= ∫
−∞
+∞
f ( x ) dx− ∫
−∞
g ( x ) dx
∫
−∞
+∞
kf ( x ) dx=k ∫
−∞
+∞
f ( x ) dx