Escolar Documentos
Profissional Documentos
Cultura Documentos
1.
Probability distributions
2.
3.
4.
Probability Distributions
Probability distribution
Determines probability of particular events
Discrete distributions: random variables are discrete
quantities
Continuous distributions: random variables are
continuous quantities
p j P( X x j ) if x x j
f ( x)
0
otherwise
F ( x)
f (x ) p
x j x
x j x
Properties
P (a X b) F (b) F (a )
p
j
a x j b
j
F ( x) f (v)dv
dF ( x)
f ( x)
dx
Properties
b
f (v)dv 1
F ( x)
x 1
1 x 1
x 1
0
0.5 0.75 x 0.25 x 3
1
Probability of events
P (0.5 x 0.5) F (0.5) F (0.5)
0.5
0.5
Discrete distribution
x j f (x j )
Mean
Variance 2 ( x j ) 2 f ( x j )
j
Continuous distribution
Mean
xf ( x)dx
Variance 2 ( x ) 2 f ( x)dx
Symmetric distribution
xf ( x)dx E ( X ) ( x ) 2 f ( x)dx E ([ X ]2 )
2
E ( X ) x k f ( x)dx
kth moment
E ([ X ]k ) ( x ) k f ( x)dx
1
1
1
2
1
4
4 1
1
1
3
1
5
5 1
1
0.2
Binomial Distribution
P ( X A) p P ( X A) q 1 p
np 2 npq
Poisson Distribution
x
f ( x)
e
x!
x 0,1,2,
p 0 n np constant
Example
j
0
1
2
P ( X 2) F ( 2) f ( x j )
e e 1 10! 11! 12! 0.9197
j 0
j 0 x j !
P ( X 2) 1 P ( X 2) 8.03%
2
Number
0
1
2
3
4
5
Binomial Poisson
0.366032 0.367879
0.735762 0.735759
0.920627 0.919699
0.981626 0.981012
0.996568 0.99634
0.999465 0.999406
0.6
0.5
0.4
0.5
1.5
2.5
3.5
4.5
2
2
f ( x)dx 1
1 v
dv
2
exp
1
( z )
2
2
2
du
F ( x )
Computing Probabilities
Interval probabilities
b
a
P(a X b) F (b) F (a )
Sigma limits
P( X ) 68%
P ( 2 X 2 ) 95.5%
P( 3 X 3 ) 99.7%
Example
X is a random variable with and 2 = 4
Use Table A7 in text
2.44 0.8
P ( X 2.44) F ( 2.44)
(0.82) 0.7939 79%
2
6.6688 10.2507
p=normcdf([29.5 30.5],30,1)
p = [0.3085 0.6915]
p(2) p(1)
0.3829
0.3
0.2
0.1
0
25
26
27
28
29
30
31
Temperature
32
33
34
35
Discrete distributions
F ( x, y ) f ( xi , y j )
xi x y j y
f ( x , y ) 1
i
Continuous distribution
F ( x, y )
Y b )
f ( x*, y*)dx * dy *
P(a1 X b1 , a2
b2 b1
a 2 a1
Marginal distributions
Discrete
f1 ( x) P ( X x, Y arbitrary) f ( x, y j )
j
Continuous
f1 ( x) f ( x, y )dy
Basic property
F ( x, y ) F1 ( x) F2 ( y )
f ( x, y ) f1 ( x) f 2 ( y )
E( X1 X 2 X n ) E( X1) E( X 2 ) E( X n )
E ( X 1 X 2 X n ) E ( X 1 ) E ( X 2 ) E ( X n )
Addition of variance
X : {1 , 1} Y : { 2 , 2 } X Y Z : { , }
E ( X Y ) E ( X ) E (Y ) 1 2
2 12` 22` 2 XY
Covariance
XY E ( XY ) E ( X ) E (Y )
E ( XY ) E ( X ) E (Y )
Independent variables
2 12 22