Formula
Formula
Formula
P(
Ai ) =
P (Ai Aj ) +
P (Ai Aj Ak )
P (A) / P (A)
Conditional probability
P (A B) =
Chain rule
P (A B C) = P (A) P (B A) P (C A B)
Bayes rule
P (A B) =
P (B A) = P (B)
P (A B) = P (A)P (B) ,
2.
P (Ai )
P (A B)
P (B)
P (A) P (B A)
P (A) P (B A) + P (A) P (B A)
Expectation
E(X) = =
1 X
xk
n k
Sample mean x =
1
s2 =
n1
X
1
x2k
n
sd (X) =
X
y
ny ,
xk =
E{g(X)} =
yny ,
X
xj
2
x2k =
estimates 2
y 2 ny
g(x)px
X 3
X 4
= E
3
Skewness
1 = E
Kurtosis
1 X xi x 3
n1
s
1 X xi x 4
is estimated by
3
n1
s
is estimated by
x2 px
Sample median xe . If the sample values x1 , . . . , xn are ordered x(1) x(2) x(n)
xe = x( n+1 ) if n is odd, and xe =
2
1
2
3.
F (x) = P (X x) =
x f (x)dx ,
f (x) =
dF (x)
dx
x0 =
f (x0 )dx0
where E(X ) =
4.
Z x
x2 f (x)dx
= 12 (n + 1) , 2 =
1
12
(n2 1)
n
x
x (1 )nx (x = 0, 1, 2, . . . , n)
= n , 2 = n(1 )
x e
x!
(x = 0, 1, 2, . . .) (with > 0)
= , 2 =
5.
1
1
, 2 =
( < x < ),
(otherwise).
= 12 ( + ) , 2 =
1
12
( )2
ex
(0 < x < ),
= 1/ ,
( < x 0).
2 = 1/2 .
Normal distribution N (, 2 )
f (x) =
1
exp
2 2
1 x
2
2
( < x < )
6.
X
is N (0, 1)
Reliability
For a device in continuous operation with failure time random variable T having pdf
f (t) (t > 0)
7.
R(t)
= P (T > t)
h(t)
= f (t)/R(t)
H(t)
H(t)
Z t
0
h(t0 ) dt0 =
ln{R(t)}
= t
System reliability
For a system of k devices, which operate independently, let
Ri = P (Di ) = P (device i operates)
The system reliability, R, is the probability of a path of operating devices
A system of devices in series operates only if every device operates
R = P (D1 D2 Dk ) = R1 R2 Rk
A system of devices in parallel operates if any device operates
R = P (D1 D2 Dk ) = 1 (1 R1 )(1 R2 ) (1 Rk )
8.
Sxy =
X
k
Sxx =
X
k
9.
x2k
1
(
n
xi )2 ,
Syy =
X
k
1
Sxy
n1
yk2
Sample covariance
sxy =
Correlation coefficient
= corr (X, Y ) =
Sxy
Sxx Syy
xk yk
X
1 X
(
xi )(
yj )
n i
j
1 X 2
(
yj )
n j
estimates
10.
bias(t)
= E(T )
Standard error of t
se (t)
= sd (T )
11.
MSE(t)
Likelihood
The likelihood is the joint probability as a function of the unknown parameter .
For a random sample x1 , x2 , . . . , xn
`(; x1 , x2 , . . . , xn ) = P (X1 = x1 ) P (Xn = xn ) (discrete distribution)
`(; x1 , x2 , . . . , xn ) = f (x1 )f (x2 ) f (xn ) (continuous distribution)
The maximum likelihood estimator (MLE) is b for which the likelihood is a maximum.
12.
Confidence intervals
If x1 , x2 , . . . , xn are a random sample from N (, 2 ) and 2 is known, then
13.
14.
y (y) (y)
(y) (y)
(y)
.9 .266
2.8
.997
.1 .397 .540
1.0 .242
3.0
.998
.2 .391 .579
1.1 .218
0.841 .8
.3 .381 .618
1.2 .194
1.282 .9
.4 .368 .655
1.3 .171
1.645 .95
.5 .352 .691
1.4 .150
1.96
.6 .333 .726
1.5 .130
2.326 .99
.7 .312 .758
1.6 .111
2.576 .995
.8 .290 .788
1.7 .094
3.09
.399 .5
Student t table
p .10
(y) (y)
.975
.999
.02
0.01
.10
.05
.02
0.01
1.83
2.26 2.82
3.25
2 2.92 4.30
6.96
9.92
10 1.81
2.23 2.76
3.17
3 2.35 3.18
4.54
5.84
12 1.78
2.18 2.68
3.05
4 2.13 2.78
3.75
4.60
15 1.75
2.13 2.60
2.95
5 2.02 2.57
3.36
4.03
20 1.72
2.09 2.53
2.85
6 1.94 2.45
3.14
3.71
25 1.71
2.06 2.48
2.78
7 1.89 2.36
3.00
3.50
40 1.68
2.02 2.42
2.70
8 1.86 2.31
2.90
3.36
15.
Chi-squared table
Values 2k,p of x for which P (X > x) = p , when X is 2k and p = .995, .975, etc
.995 .975
.05
.025
.01
.005
.995
.975
.05
.025
.01
.005
.000 .001
3.84
5.02
6.63
7.88
18
6.26
8.23
.010 .051
5.99
7.38
9.21
10.60
20
7.43
9.59
.072 .216
7.81
9.35
11.34 12.84
22
8.64
.207 .484
9.49
24
9.89
26
28
30
40
50
60
70
80
16 5.14 6.91 26.30 28.85 32.00 34.27 100 67.33 74.22 124.3 129.6 135.8 140.2
16.
17.
Let
px
Continuous distribution
Z x
Z y
f (x, y) =
d2 F (x, y)
dx dy
fX (x) =
f (x, y0 ) dy0
Joint cdf
Joint pdf
Marginal pdf of X
Conditional pdf of X given Y = y
18.
fX|Y (x|y) =
x0 =
y0 =
f (x, y)
fY (y)
Linear regression
b
b + x
from observations
To fit the linear regression model y = + x by ybx =
(x1 , y1 ), . . . , (xn , yn ) , the least squares fit is
b
var ()
ybx =
b
b + x
,
b
sc
e ()
19.
RSS
b = Sxy /Sxx
= Syy
2
Sxy
Sxx
n 2 c2
is from 2n2
2
RSS
,
n2
b = ,
E()
b = y xb ,
b = ,
E()
P 2
x
i
n Sxx
2 ,
b
var ()
=
E(ybx ) = + x ,
b
,
b
sc
e ()
ybx x
sc
e (ybx )
X =
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
,
Sxx
b
b )
cov (,
=
var (ybx ) =
x 2
Sxx
1 (x x)2
+
n
Sxx
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1