Docsity

Probabilidad y Estadística: Teoría de la Probabilidad y Distribuciones Discretas, Resúmenes de Matemáticas

Toggle sidebar
bg1
ESTAD´
ISTICA, CURSO 2008–2009 1
TEMA 2:
DISTRIBUCIONES DE PROBABILIDAD
1 LEYES DE PROBABILIDAD
1.1 SUCESOS ALEATORIOS
•Experimentos aleatorios, espacio muestral.
•Sucesos elementales y compuestos.
•Suceso imposible (Ø), suceso seguro (S) y suceso probable.
•Operaciones con sucesos: uni´on (A∪B), intersecci´on (A∩B), suceso complementario (A0) y sucesos
incompatibles (A∩B= Ø).
1.2 DEFINICION Y PROPIEDADES DE LA PROBABILIDAD
1.2.1 Concepto cl´asico de probabilidad
P(A) = lim
n→∞
nA
n
P(A) = Casos favorables
Casos posibles =a
N
1.2.2 Definici´on axiom´atica de la probabilidad
1. P(A)≥0
2. P(S) = 1
3. A∩B= Ø ⇒P(A∪B) = P(A) + P(B)
1.2.3 Propiedades de la probabilidad
P(A0)=1−P(A)
P(Ø) = 0
0≤P(A)≤1
A⊂B⇒P(A)≤P(B)
P(A∪B) = P(A) + P(B)−P(A∩B)
P(A∪B∪C) = P(A) + P(B) + P(C)−P(A∩B)−P(B∩C)−P(C∩A) + P(A∩B∩C)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Vista previa parcial del texto

¡Descarga Probabilidad y Estadística: Teoría de la Probabilidad y Distribuciones Discretas y más Resúmenes en PDF de Matemáticas solo en Docsity!

TEMA 2:

DISTRIBUCIONES DE PROBABILIDAD

1 LEYES DE PROBABILIDAD

1.1 SUCESOS ALEATORIOS

  • Experimentos aleatorios, espacio muestral.
  • Sucesos elementales y compuestos.
  • Suceso imposible (Ø), suceso seguro (S) y suceso probable.
  • Operaciones con sucesos: uni´on (A ∪ B), intersecci´on (A ∩ B), suceso complementario (A ′ ) y sucesos incompatibles (A ∩ B = Ø).

1.2 DEFINICION Y PROPIEDADES DE LA PROBABILIDAD

1.2.1 Concepto cl´asico de probabilidad

P (A) = lim n→∞

nA

n

P (A) =

Casos favorables

Casos posibles

a

N

1.2.2 Definici´on axiom´atica de la probabilidad

1. P (A) ≥ 0

2. P (S) = 1

3. A ∩ B = Ø ⇒ P (A ∪ B) = P (A) + P (B)

1.2.3 Propiedades de la probabilidad

P (A

′ ) = 1 − P (A)

P (Ø) = 0

0 ≤ P (A) ≤ 1

A ⊂ B ⇒ P (A) ≤ P (B)

P (A ∪ B) = P (A) + P (B) − P (A ∩ B)

P (A ∪ B ∪ C) = P (A) + P (B) + P (C) − P (A ∩ B) − P (B ∩ C) − P (C ∩ A) + P (A ∩ B ∩ C)

1.3 PROBABILIDAD CONDICIONADA

1.3.1 Definici´on de probabilidad condicionada

  • Probabilidad de A condicionada a B:

P (A|B) =

P (A ∩ B)

P (B)

  • Se cumplen los tres axiomas:

P (A|B) ≥ 0

P (S|B) =

P (S ∩ B)

P (B)

P (B)

P (B)

  1. Si A 1 ∩ A 2 = Ø:

P (A 1 ∪ A 2 |B) =

P ((A 1 ∪ A 2 ) ∩ B)

P (B)

P ((A 1 ∩ B) ∪ (A 2 ∩ B))

P (B)

P (A 1 ∩ B) + P (A 2 ∩ B)

P (B)

P (A 1 ∩ B)

P (B)

P (A 2 ∩ B)

P (B)

⇒ P (A 1 ∪ A 2 |B) = P (A 1 |B) + P (A 2 |B)

1.3.2 Sucesos dependientes e independientes

P (A ∩ B) = P (A|B)P (B)

P (A ∩ B ∩ C) = P (A|B ∩ C)P (B|C)P (C)

Sucesos independientes:

P (A|B) = P (A) ; P (A ∩ B) = P (A)P (B)

P (A ∩ B ∩ C) = P (A)P (B)P (C)

1.3.3 Teorema de la probabilidad total

  • Conjunto completo de sucesos:

⋃^ n

i=

Ai = S ; Ai ∩ Aj = Ø para i 6 = j

  • Teorema de la probabilidad total:

P (B) =

∑^ n

i=

P (Ai)P (B|Ai)

1.4.3 Combinaciones

  • Combinaciones de m elementos tomados de n en n:

Cm,n =

Vm,n

Pn

m(m − 1)(m − 2)... (m − n + 1)

1 × 2 ×... × n

m!

(m − n)! n!

m n

  • Combinaciones con repetici´on de m elementos tomados de n en n:

C

n m =^ Cm+n−^1 ,n^ =

m + n − 1 n

(m + n − 1)!

(m − 1)! n!

2 VARIABLES ALEATORIAS

2.1 DESCRIPCION DE LAS VARIABLES ALEATORIAS

2.1.1 Concepto de variable aleatoria

2.1.2 Variable aleatoria discreta

  • Funci´on de probabilidad o distribuci´on de probabilidad f (x):

f (x) ≡ P (X = x)

siendo f (xi) ≥ 0 y

i

f (xi) = 1

x x 1 x 2 · · · xi · · · P (X = x) f (x 1 ) f (x 2 ) · · · f (xi) · · ·

  • Funci´on de distribuci´on F (x):

F (x) ≡ P (X ≤ x)

siendo F (−∞) = 0 y F (∞) = 1

F (x) =

xi≤x

f (xi) = F (xi− 1 ) + f (xi) ; f (xi) = F (xi) − F (xi− 1 )

F (x) =

0 x < x 1 f (x 1 ) x 1 ≤ x < x 2 f (x 1 ) + f (x 2 ) x 2 ≤ x < x 3 . . .

∑n i=1 f^ (xi) = 1^ xn^ ≤^ x

  • C´alculo de probabilidades:

P (xi < X ≤ xj ) =

∑^ j

k=i+

f (xk) = F (xj ) − F (xi)

P (X > xi) = 1 − F (xi)

2.1.3 Variable aleatoria continua

  • Funci´on de densidad, o distribuci´on de probabilidad f (x):

f (x) ≥ 0 ;

−∞

f (x) dx = 1

P (x 1 < X < x 2 ) =

∫ (^) x 2

x 1

f (x) dx

  • Funci´on de distribuci´on F (x):

F (x) = P (X < x)

F (x) =

∫ (^) x

−∞

f (t) dt

P (x 1 < X < x 2 ) = F (x 2 ) − F (x 1 ) =

∫ (^) x 2

x 1

f (x) dx

f (x) =

dF (x)

dx

F (−∞) =

−∞

f (x) dx = 0 ; F (∞) =

−∞

f (x) dx = 1

2.2 MEDIDAS CARACTERISTICAS DE UNA VARIABLE ALEATORIA

2.2.1 Media o esperanza matem´atica

  • Variable discreta:

μ = E(X) =

i

xif (xi)

lim N →∞

x = lim N →∞

∑^ k

i=

xini

N

∑^ k

i=

xi

lim N →∞

ni

N

∑^ k

i=

xiP (X = xi) =

∑^ k

i=

xif (xi) = μ

  • Variable continua:

μ = E(X) =

−∞

xf (x) dx

  • Media de una funci´on g(X)

μg(X) = E(g(X)) =

∫ (^) ∞^ i^ g(xi)f^ (xi) −∞ g(x)f (x) dx

μaX+b =

−∞

(ax + b)f (x) dx = a

−∞

xf (x) dx + b

−∞

f (x) dx = aμX + b

μb = E(b) = b ; μaX = E(aX) = aμX

2.3 VARIABLE ALEATORIA BIDIMENSIONAL

2.3.1 Distribuci´on de probabilidad conjunta y marginal

  • Funci´on de probabilidad conjunta y funci´on de densidad conjunta f (x, y):

f (x, y) = P (X = x, Y = y)

P (x 1 < X < x 2 , y 1 < Y < y 2 ) =

∫ (^) x 2

x 1

∫ (^) y 2

y 1

f (x, y) dx dy

f (x, y) ≥ 0

i

j

f (xi, yj ) = 1 ;

−∞

−∞

f (x, y) dx dy = 1

X \ Y y 1 y 2 · · · ym Total

x 1 f (x 1 , y 1 ) f (x 1 , y 2 ) · · · f (x 1 , ym) f 1 (x 1 )

x 2 f (x 2 , y 1 ) f (x 2 , y 2 ) · · · f (x 2 , ym) f 1 (x 2 ) . . .

xn f (xn, y 1 ) f (xn, y 2 ) · · · f (xn, ym) f 1 (xn)

Total f 2 (y 1 ) f 2 (y 2 ) · · · f 2 (ym) 1

  • Funciones de probabilidad marginal y funciones de densidad marginal f 1 (x), f 2 (y):

f 1 (x) = P (X = x) =

j

f (x, yj ) ; f 2 (y) = P (Y = y) =

i

f (xi, y)

i

f 1 (xi) = 1 ;

j

f 2 (yj ) = 1

f 1 (x) =

−∞

f (x, y) dy ; f 2 (y) =

−∞

f (x, y) dx

  • Funci´on de distribuci´on conjunta F (x, y):

F (x, y) = P (X ≤ x, Y ≤ y) =

xi≤x

yj ≤y

f (xi, yj )

F (x, y) = P (X < x, Y < y) =

∫ (^) x

−∞

∫ (^) y

−∞

f (u, v) du dv

f (x, y) =

2 F

∂x ∂y

  • Funciones de distribuci´on marginal F 1 (x), F 2 (y):

F 1 (x) = P (X ≤ x) =

xi≤x

f 1 (xi) ; F 2 (y) = P (Y ≤ y) =

yj ≤y

f 2 (yj )

F 1 (x) =

∫ (^) x

−∞

−∞

f (u, v) du dv ; F 2 (y) =

−∞

∫ (^) y

−∞

f (u, v) du dv

2.3.2 Distribuci´on condicionada e independencia estad´ıstica

  • Funci´on de probabilidad condicionada y funci´on de densidad condicionada:

f (x|y) =

f (x, y)

f 2 (y)

; f (y|x) =

f (x, y)

f 1 (x)

P (a ≤ X ≤ b|Y = y) =

a≤xi≤b

f (xi|y) ; P (a < X < b|Y = y) =

∫ (^) b

a

f (x|y) dx

  • Variables independientes:

f (x|y) = f 1 (x) ; f (y|x) = f 2 (y)

f 1 (x) =

−∞

f (x, y) dy =

−∞

f (x|y)f 2 (y) dy = f (x|y)

−∞

f 2 (y) dy = f (x|y)

f (x, y) = f 1 (x)f 2 (y) ; F (x, y) = F 1 (x)F 2 (y)

2.3.3 Medias, varianzas y covarianza

  • Medias de X e Y :

μX = E(X) =

i

j

xif (xi, yj ) ; μY = E(Y ) =

i

j

yj f (xi, yj )

μX = E(X) =

−∞

−∞

xf (x, y) dx dy ; μY = E(Y ) =

−∞

−∞

yf (x, y) dx dy

Media de una funci´on g(X, Y ):

μg(X,Y ) = E(g(X, Y )) =

i

∫ j^ g(xi, yj^ )f^ (xi, yj^ ) ∞ −∞

−∞ g(x, y)f^ (x, y)^ dx dy

μaX+bY = aμX + bμY y en concreto : μX+Y = μX + μY

Para variables independientes:

μXY = E(XY ) = E(X)E(Y ) = μX μY

μXY =

−∞

−∞

xyf (x, y) dx dy =

−∞

−∞

xyf 1 (x)f 2 (y) dx dy =

−∞

xf 1 (x) dx

−∞

yf 2 (y) dy = μxμy

3.2 DISTRIBUCION BINOMIAL

  • Funci´on de probabilidad:

f (x) = b(x; n, p) =

n x

p x q n−x donde x = 0, 1 ,... , n

(q + p) n =

n 0

q n

n 1

pq n− 1

n 2

p 2 q n− 2 +... +

n n

p n =

∑^ n

x=

n x

p x q n−x

(q + p) = 1 ⇒

∑^ n

x=

b(x; n, p) =

∑^ n

x=

n x

p x q n−x = 1

  • Funci´on de distribuci´on:

B(x; n, p) =

∑^ x

r=

b(r; n, p)

  • Distribuci´on de Bernoulli:

f (x) =

x

p x q 1 −x = p x q 1 −x =

q ; x = 0 p ; x = 1

μ =

∑^1

xi=

xif (xi) = 0q + 1p = p

σ 2 =

∑^1

xi=

x 2 i f^ (xi)^ −^ μ

2 = 0 2 q + 1 2 p − p 2 = p − p 2 = p(1 − p) = pq

  • Media y varianza de la distribuci´on binomial:

μX = μX 1 +X 2 +...+Xn = μX 1 + μX 2 +... + μXn =

n ︷ ︸︸ ︷ p + p +... + p ⇒ μ = np

σ 2 X =^ σ

2 X 1 +X 2 +...+Xn =^ σ

2 X 1 +^ σ

2 X 2 +^...^ +^ σ

2 Xn =

n ︷ ︸︸ ︷ pq + pq +... + pq ⇒ σ 2 = npq

3.3 DISTRIBUCION DE POISSON

  • Relaci´on con la distribuci´on binomial:

b(x; n, p) =

n x

p x q n−x =

n(n − 1)... (n − x + 1)

x!

p x (1 − p) n−x

lim n→∞

b(x; n, p) = lim n→∞

n(n − 1)... (n − x + 1)

x!

λ

n

)x (

1 −

λ

n

)n−x

=

= lim n→∞

n(n − 1)... (n − x + 1)

nx

λx

x!

λ

n

)n (

1 −

λ

n

)−x

=

λx

x!

e −λ

pues:

lim n→∞

n(n − 1)... (n − x + 1)

nx^

= lim n→∞

n

x − 1

n

lim n→∞

λ

n

)−x

= 1

lim n→∞

λ

n

)n

=

lim n→∞

n/(−λ)

)n/(−λ))−λ

= e −λ

  • Funci´on de probabilidad:

f (x) = p(x; λ) =

λx

x!

e −λ donde x = 0, 1 , 2 ,...

∑^ ∞

x=

p(x; λ) =

∑^ ∞

x=

λx

x!

e −λ = e −λ

λ

1!

λ^2

2!

= e −λ e λ = 1

  • Funci´on de distribuci´on:

P (x; λ) =

∑^ x

r=

p(r; λ) =

∑^ x

r=

λr

r!

e −λ

  • Media:

μ =

∑^ ∞

x=

xp(x; λ) =

∑^ ∞

x=

x

λx

x!

e −λ =

∑^ ∞

x=

x

λx

x!

e −λ = λ

∑^ ∞

x=

λx−^1

(x − 1)!

e −λ

y = x − 1 ⇒ μ = λ

∑^ ∞

y=

λy

y!

e −λ = λ

∑^ ∞

y=

p(y; λ) = λ1 = λ

  • Varianza:

E (X(X − 1)) =

∑^ ∞

x=

x(x − 1)

λx

x!

e −λ =

∑^ ∞

x=

x(x − 1)

λx

x!

e −λ = λ 2

∑^ ∞

x=

λx−^2

(x − 2)!

e −λ

y = x − 2 ⇒ E (X(X − 1)) = λ 2

∑^ ∞

y=

λy

y!

e −λ = λ 2

∑^ ∞

y=

p(y; λ) = λ 2

σ 2 = E (X(X − 1)) + μ − μ 2 = λ 2

  • μ − μ 2 = μ 2
  • μ − μ 2 = μ

⇒ σ 2 = λ ; σ =

λ

  • Funci´on de distribuci´on:

F (x) = P (X < x) =

σ

2 π

∫ (^) x

−∞

e

− (t−μ)

2 2 σ^2 dt

P (x 1 < X < x 2 ) =

σ

2 π

∫ (^) x 2

x 1

e

− (x−μ)

2 2 σ^2 dx

  • Media y varianza:

E(X) =

−∞

xf (x) dx =

σ

2 π

−∞

xe

− (x−μ)

2 2 σ^2 dx =

2 π

−∞

(μ + σz)e − z

2 (^2) dz

E(X) =

μ √ 2 π

−∞

e − z

2 (^2) dz +

σ √ 2 π

−∞

ze − z

2 (^2) dz =

μ √ 2 π

2 π +

σ √ 2 π

[

−e − z

2 2

]∞

−∞

= μ

Var(X) =

−∞

(x − μ)

2 f (x) dx =

σ

2 π

−∞

(x − μ)

2 e

− (x−μ)^2 2 σ^2 dx =

σ 2 √ 2 π

−∞

z

2 e

− z 2 (^2) dz

Var(X) =

σ^2 √ 2 π

−ze − z

2 2

∞

−∞

−∞

e − z

2 (^2) dz

σ^2 √ 2 π

2 π

= σ 2

4.2.2 Distribuci´on normal tipificada

  • Definici´on:

Z =

X − μ

σ

f (x) =

σ

2 π

e − (x−μ)^2 2 σ^2 ⇒ f (z) =

2 π

e − z

2 (^2) = N (0, 1)

  • C´alculo de probabilidades:

P (x 1 < X < x 2 ) = P (z 1 < Z < z 2 ) con z 1 =

x 1 − μ

σ

y z 2 =

x 2 − μ

σ

P (Z > zα) = α =

2 π

zα

e − z

2 (^2) dz

P (Z < zα) = 1 − P (Z > zα) = 1 − α

P (Z > (−zα)) = 1 − P (Z < (−zα)) = 1 − P (z > zα) = 1 − α

P (z 1 < Z < z 2 ) = P (Z > z 1 ) − P (Z > z 2 )

P (μ − σ < X < μ + σ) = P (− 1 < Z < 1) = P (Z > −1) − P (Z > 1) =

= (1 − P (Z > 1)) − P (Z > 1) = 1 − 2 P (Z > 1) = 1 − 2 × 0 .1587 = 0. 6826

P (μ − 2 σ < X < μ + 2σ) = P (− 2 < Z < 2) = 0. 9544

P (μ − 3 σ < X < μ + 3σ) = P (− 3 < Z < 3) = 0. 9973

4.2.3 Relaci´on con otras distribuciones

  • Teorema del l´ımite central: Si X 1 , X 2 ,... , Xn son variables aleatorias independientes con medias μi, desviaciones t´ıpicas σi, y distribuciones de probabilidad cualesquiera y se define Y = X 1 +X 2 +.. .+Xn, entonces, cuando n crece, la variable:

Z =

Y −

∑n i=1 μi √∑n i=1 σ

2 i

tiende hacia una distribuci´on normal est´andar N (0, 1).

  • Relaci´on con la distribuci´on binomial: Si X es binomial y n → ∞ ⇒

Z =

X −

∑n i=1 μi √∑n i=1 σ

2 i

X −

∑n i=1 p √∑n i=1 pq^

X − np √ npq

sigue la distribuci´on N (0, 1). De forma pr´actica, se utiliza esta aproximaci´on cuando np ≥ 5 y nq ≥ 5.

  • Relaci´on con la distribuci´on de Poisson: Si X es una variable aleatoria de Poisson y λ → ∞ ⇒

Z =

X − λ √ λ

sigue la distribuci´on N (0, 1). De forma pr´actica, se utiliza esta aproximaci´on cuando λ ≥ 5.

4.3 DISTRIBUCION χ

2

DE PEARSON

  • Definici´on:

χ 2 n =^ X

2 1 +^ X

2 2 +^...^ +^ X

2 n donde^ Xi^ son^ N^ (0,^ 1) independientes

f (x) =

2 n/^2 Γ(n/2) x (n/2)− 1 e −x/ 2 x > 0

0 x ≤ 0

Γ(α) =

0

x α− 1 e −x dx con α > 0

  • Media y varianza:

μ = E(χ 2 n) =^ E

∑n

i=

X

2 i

∑^ n

i=

E

X

2 i

σ 2 = Var(χ 2 n) = Var

∑n

i=

X

2 i

∑^ n

i=

Var

X

2 i

σ 2 Xi =^ E^

X

2 i

− μ 2 Xi ⇒^ 1 =^ E^

X

2 i

− 0 ⇒ E

X

2 i

Var

X

2 i

= σ 2 X i^2 =^ E^

X

4 i

− μ 2 X^2 i^ =^

2 π

−∞

x 4 e − x

2 (^2) dx − E

X

2 i

4.5 DISTRIBUCION F DE FISHER

  • Definici´on:

Fn 1 ,n 2 =

χ^2 n 1 n 1 χ^2 n 2 n 2

donde χ 2 n 1 y^ χ

2 n 2 son^ χ

2 independientes

f (x) = fn 1 ,n 2 (x) =

n 1 +n 2 2 )

( (^) n 1 n 2

)n 1 / 2

Γ( n 21 )Γ( n 22 )

( x(n^1 /2)−^1 1+ n 1 n 2 x

)(n 1 +n 2 )/^2 x >^0

0 x ≤ 0

Fn 1 ,n 2 =

Fn 2 ,n 1

  • Media y varianza:

μ =

n 2

n 2 − 2

(n 2 > 2) ; σ 2 =

2 n^22 (n 1 + n 2 − 2)

n 1 (n 2 − 4)(n 2 − 2)^2

(n > 4)

  • C´alculo de probabilidades:

P (Fn 1 ,n 2 > Fα;n 1 ,n 2 ) = α y P (Fn 1 ,n 2 < Fα;n 1 ,n 2 ) = 1 − α

F 1 −α;n 2 ,n 1 =

Fα;n 1 ,n 2