Professional Documents
Culture Documents
g Probability
n Definition of probability
n Axioms and properties
n Conditional probability
n Bayes Theorem
g Random Variables
n Definition of a Random Variable
n Cumulative Distribution Function
n Probability Density Function
n Statistical characterization of Random Variables
g Random Vectors
n Mean vector
n Covariance matrix
g The Gaussian random variable
probability
A2
A1 Probability
Law
A3 A1 A2 A3 A4 event
A4
g Axioms of probability
n Axiom I: 0 P[A i ]
n Axiom II: P[S] = 1
n Axiom III: if A i I A j = , then P[A i U A j ] = P[A i ] + P[A j ]
A B C
g I shuffle the three cards, then pick one and show you one side only.
The side visible to you is RED
n Obviously, the card has to be either A or C, right?
g I am willing to bet $1 that the other side of the card has the same color,
and need someone in the audience to bet another $1 that it is the other
color
n Obviously, on the average we will end up even, right?
n Lets try it!
PROPERTY 2 : P[A] 1
PROPERTY 3 : P[] = 0
A AB B B has A AB B
occurred
g Interpretation
n The new evidence B has occurred has the following effects
g The original sample space S (the whole square) becomes B (the rightmost circle)
g The event A becomes AB
n P[B] simply re-normalizes the probability of events that occur jointly with B
B3
B1 BN-1
B2 BN
B4
Recognition
False-positive True-negative
FREE OF CONDITION P(POS|COND) P(NEG|COND)
COLUMN TOTAL
g PROBLEM
n Assume a population of 10,000 where 1 out of every 100 people has the condition
n Assume that we design a test with 98% specificity and 90% sensitivity
n Assume you are required to take the test, which then yields a POSITIVE result
n What is the probability that you have the condition?
g SOLUTION A: Fill in the joint frequency table above
g SOLUTION B: Apply Bayes rule
g PROBLEM
n Assume a population of 10,000 where 1 out of every 100 people has the condition
n Assume that we design a test with 98% specificity and 90% sensitivity
n Assume you are required to take the test, which then yields a POSITIVE result
n What is the probability that you have the condition?
g SOLUTION A: Fill in the joint frequency table above
g SOLUTION B: Apply Bayes rule
P[COND | POS] =
0.90 0.01
= =
0.90 0.01 + (1 0.98) 0.99
= 0.3125
P(X<x)
as the probability of the event {Xx}
P(X<x)
lim FX (x) = 1 3/6
x
2/6
lim FX (x) = 0 1/6
x
1 2 3 4 5 6 x
FX (a) FX (b) if a b cdf for rolling a dice
FX (b) = lim FX (b + h) = FX (b + )
h0
pdf
dFX (x)
fX (x) =
dx
100 200 x(lb)
300 400 500
g For discrete random variables, the equivalent to pdf for a persons weight
the pdf is the probability mass function:
FX (x)
Properties fX (x) =
x
g
fX (x) > 0 1
b 5/6
P[a < x < b] = fX (x)dx 4/6
a
3/6
pmf
x
FX (x) = fX (x)dx 2/6
1/6
+
1 = fX (x)dx 1 2 3 4 5 6 x
pmf for rolling a (fair) dice
d P[{X < x} I A]
fX (x | A) = FX (x | A) where FX (x | A) = if P[A] > 0
dx P[A]
2/6 rolling a fair dice is the same for all numbers, and equal to 1/6, a
1/6 very legitimate answer
The pmf DOES NOT need to be integrated to obtain the
1 2 3 4 5 6 x probability (it cannot be integrated in the first place)
pmf for rolling a (fair) dice
g The square root of the variance. It has the same units as the random variable.
+
n Nth moment E[X ] = x NfX (x)dx
N
NFX ( x )
fX ( x ) =
x1x 2 ...x N
g The term marginal pdf is used to represent the pdf of a subset of all the random
vector dimensions
n A marginal pdf is obtained by integrating out the variables that are not of interest
n As an example, for a two-dimensional problem with random vector X=[x1 x2]T, the marginal
pdf for x1, given the joint pdf fX1X2(x1x2), is
x 2 = +
fX1(x1 ) = f
x 2 =
X1X 2 (x1x 2 )dx 2
n Covariance matrix
Xi Xi Xi Xi Xi
C ik=-ik C ik=-ik C ik=0 C ik=+ik Cik=ik
ik=-1 ik=- ik=0 ik=+ ik=+1
x2 x2
(x1-1)( x2-2)
(x1-1)( x3-3)
(x2-2)( x3-3)
Example
(x2-2) 2
(x1-1)2
(x3-3)2
x1 x3
x1-1
x2-2
x3-3
x1
x2
x3
1 x1
2
3
4
Average
x3
Introduction to Pattern Analysis 21
Ricardo Gutierrez-Osuna
Texas A&M University
The Normal or Gaussian distribution
g The multivariate Normal or Gaussian distribution N(,)
is defined as
1 1
f X (x) = 1/2
exp (X )T 1(X )
(2 )
n/2
2
1 1 X - 2
f X (x) = exp
2 2