SlideShare a Scribd company logo
1 of 3
Download to read offline
An Alternative Expression for the Log-Likelihood Ratio of the Multivariate Normal Distribution
Cole Arora
April 1, 2014
Theorem Suppose prior distribution P(i) = gi for all i ∈ {1, . . . , m} and multivariate normal model X|i ∼ Nk(µi
, Σ) for the k-vector of data X =
[ X1 ··· Xk ] , where the mean vector µi
= E[X|i] = [ E[X1|i] ··· E[Xk|i] ] = [ µi
1 ··· µi
k ] and the common, symmetric covariance matrix Σ is positive definite.
Then the log-likelihood ratio, computed posterior to making the observation x = [ x1 ··· xk ] , has the form
log
f(x|j)
f(x|i)
= x −
µi
+ µj
2
Σ−1
(µj
− µi
). (1)
Proof The left-hand side of Equation (1) can be expanded using the definition of the joint probability density function of the multivariate normal
distribution — which exists only because Σ is positive definite — as follows:
log
f(x|j)
f(x|i)
= log
1√
(2π)k|Σ|
exp −1
2 (x − µj
) Σ−1
(x − µj
)
1√
(2π)k|Σ|
exp −1
2 (x − µi) Σ−1
(x − µi)
= log exp
1
2
(x − µi
) Σ−1
(x − µi
) −
1
2
(x − µj
) Σ−1
(x − µj
)
=
1
2
(x − µi
) Σ−1
(x − µi
) −
1
2
(x − µj
) Σ−1
(x − µj
). (2)
For expediency, let
Σ−1
=





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk





.
1
Substitution for x, µi
, µj
, and Σ−1
in Equation (2) gives
1
2
x1 − µi
1 · · · xk − µi
k





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk








x1 − µi
1
...
xk − µi
k


 −
1
2
x1 − µj
1 · · · xk − µj
k





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk








x1 − µj
1
...
xk − µj
k



=
1
2
k
a=1
(xa − µi
a)(Σ−1
a1 ) · · ·
k
a=1
(xa − µi
a)(Σ−1
ak )



x1 − µi
1
...
xk − µi
k


 −
1
2
k
a=1
(xa − µj
a)(Σ−1
a1 ) · · ·
k
a=1
(xa − µj
a)(Σ−1
ak )



x1 − µj
1
...
xk − µj
k



=
1
2
k
b=1
k
a=1
(xa − µi
a)(Σ−1
ab )(xb − µi
b) −
1
2
k
b=1
k
a=1
(xa − µj
a)(Σ−1
ab )(xb − µj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab ) (xa − µi
a)(xb − µi
b) − (xa − µj
a)(xb − µj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab )(xaxb − xaµi
b − xbµi
a + µi
aµi
b − xaxb + xaµj
b + xbµj
a − µj
aµj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab )(−xaµi
b − xbµi
a + µi
aµi
b + xaµj
b + xbµj
a − µj
aµj
b)
=
1
2
k
b=1
k
a=1
(Σ−1
ab ) xa(µj
b − µi
b) + xb(µj
a − µi
a) + µi
aµi
b − µj
aµj
b . (3)
There are two key (and somewhat trivial) points that must be realized at this point about the terms under double summation; failure to do so makes
finishing the proof in this way impossible. The first point:
k
b=1
k
a=1
xa(µj
b − µi
b)(Σ−1
ab ) =
k
b=1
k
a=1
xb(µj
a − µi
a)(Σ−1
ba ) =
k
b=1
k
a=1
xb(µj
a − µi
a)(Σ−1
ab ),
where the first equality simply represents a renaming of the indices, and where the second equality holds because the matrix inverse of a symmetric matrix
2
is symmetric. So from this point forward, it is justified to replace xb(µj
a −µi
a) with xa(µj
b −µi
b) in the summand of Equation (3). The second point is similar:
k
b=1
k
a=1
(µi
bµj
a − µi
aµj
b)(Σ−1
ab ) =
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab ) −
k
b=1
k
a=1
(µi
aµj
b)(Σ−1
ab )
=
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab ) −
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ba )
=
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab ) −
k
b=1
k
a=1
(µi
bµj
a)(Σ−1
ab )
= 0,
so the addition of the quantity (µi
bµj
a − µi
aµj
b) into the right-most term in the summand of Equation (3) would change absolutely nothing, which turns out
to be useful.
Using these two insights, Equation (3) can be rewritten as follows:
1
2
k
b=1
k
a=1
(Σ−1
ab ) 2xa(µj
b − µi
b) + µi
bµj
a − µi
aµj
b + µi
aµi
b − µj
aµj
b =
k
b=1
k
a=1
xa −
µi
a + µj
a
2
(Σ−1
ab )(µj
b − µi
b)
=
k
a=1
xa −
µi
a + µj
a
2
(Σ−1
a1 ) · · ·
k
a=1
xa −
µi
a + µj
a
2
(Σ−1
ak )



µj
1 − µi
1
...
µj
k − µi
k



= x1 −
µi
1 + µj
1
2
· · · xk −
µi
k + µj
k
2





Σ−1
11 Σ−1
12 · · · Σ−1
1k
Σ−1
21 Σ−1
22 · · · Σ−1
2k
...
...
...
...
Σ−1
k1 Σ−1
k2 · · · Σ−1
kk








µj
1 − µi
1
...
µj
k − µi
k



= x −
µi
+ µj
2
Σ−1
(µj
− µi
).
3

More Related Content

What's hot

Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_coursePedro Correia
 
Index notation
Index notationIndex notation
Index notationMERTEKMEN
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)krishnapriya R
 
A brief survey of tensors
A brief survey of tensorsA brief survey of tensors
A brief survey of tensorsBerton Earnshaw
 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration methodAkhtar Kamal
 
Toukei ~20210605
Toukei ~20210605Toukei ~20210605
Toukei ~20210605RyuichiSeto
 
Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong
 
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...James Smith
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integrationlightspeed2
 
Change of order in integration
Change of order in integrationChange of order in integration
Change of order in integrationShubham Sojitra
 
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityAn Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityIRJESJOURNAL
 
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.Alex (Oleksiy) Varfolomiyev
 

What's hot (18)

Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
 
Tl
TlTl
Tl
 
Index notation
Index notationIndex notation
Index notation
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
A brief survey of tensors
A brief survey of tensorsA brief survey of tensors
A brief survey of tensors
 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration method
 
Toukei ~20210605
Toukei ~20210605Toukei ~20210605
Toukei ~20210605
 
Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6
 
08lowess
08lowess08lowess
08lowess
 
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
 
Math 2 Application of integration
Math 2 Application of integrationMath 2 Application of integration
Math 2 Application of integration
 
Change of order in integration
Change of order in integrationChange of order in integration
Change of order in integration
 
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear PiezoelectricityAn Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
An Asymptotic Approach of The Crack Extension In Linear Piezoelectricity
 
Caculus
CaculusCaculus
Caculus
 
Triple integrals and applications
Triple integrals and applicationsTriple integrals and applications
Triple integrals and applications
 
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
 
Double & triple integral unit 5 paper 1 , B.Sc. 2 Mathematics
Double & triple integral unit 5 paper 1 , B.Sc. 2 MathematicsDouble & triple integral unit 5 paper 1 , B.Sc. 2 Mathematics
Double & triple integral unit 5 paper 1 , B.Sc. 2 Mathematics
 
Plank sol
Plank solPlank sol
Plank sol
 

Similar to Log Likelihood Ratio Expression for Multivariate Normal Distribution

Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manualamnahnura
 
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...BRNSS Publication Hub
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionPedro222284
 
Convergence Criteria
Convergence CriteriaConvergence Criteria
Convergence CriteriaTarun Gehlot
 
Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesMark Brandao
 
Simplification of Boolean Function
Simplification of Boolean FunctionSimplification of Boolean Function
Simplification of Boolean FunctionHeman Pathak
 
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...Ashley Smith
 
Fast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationFast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationPantelis Sopasakis
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life OlooPundit
 
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappingsStrong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappingsAlexander Decker
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsFrank Nielsen
 
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Tomoya Murata
 
dhirota_hone_corrected
dhirota_hone_correcteddhirota_hone_corrected
dhirota_hone_correctedAndy Hone
 

Similar to Log Likelihood Ratio Expression for Multivariate Normal Distribution (20)

Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
 
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
On the Seidel’s Method, a Stronger Contraction Fixed Point Iterative Method o...
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability Distribution
 
maths convergence.pdf
maths convergence.pdfmaths convergence.pdf
maths convergence.pdf
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
PhotonModel
PhotonModelPhotonModel
PhotonModel
 
Convergence Criteria
Convergence CriteriaConvergence Criteria
Convergence Criteria
 
Natural and Clamped Cubic Splines
Natural and Clamped Cubic SplinesNatural and Clamped Cubic Splines
Natural and Clamped Cubic Splines
 
Bayes gauss
Bayes gaussBayes gauss
Bayes gauss
 
Maths04
Maths04Maths04
Maths04
 
Simplification of Boolean Function
Simplification of Boolean FunctionSimplification of Boolean Function
Simplification of Boolean Function
 
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
 
Fast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimizationFast parallelizable scenario-based stochastic optimization
Fast parallelizable scenario-based stochastic optimization
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappingsStrong convergence of an algorithm about strongly quasi nonexpansive mappings
Strong convergence of an algorithm about strongly quasi nonexpansive mappings
 
A new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributionsA new implementation of k-MLE for mixture modelling of Wishart distributions
A new implementation of k-MLE for mixture modelling of Wishart distributions
 
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
 
AJMS_389_22.pdf
AJMS_389_22.pdfAJMS_389_22.pdf
AJMS_389_22.pdf
 
dhirota_hone_corrected
dhirota_hone_correcteddhirota_hone_corrected
dhirota_hone_corrected
 

Recently uploaded

Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 

Recently uploaded (20)

Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 

Log Likelihood Ratio Expression for Multivariate Normal Distribution

  • 1. An Alternative Expression for the Log-Likelihood Ratio of the Multivariate Normal Distribution Cole Arora April 1, 2014 Theorem Suppose prior distribution P(i) = gi for all i ∈ {1, . . . , m} and multivariate normal model X|i ∼ Nk(µi , Σ) for the k-vector of data X = [ X1 ··· Xk ] , where the mean vector µi = E[X|i] = [ E[X1|i] ··· E[Xk|i] ] = [ µi 1 ··· µi k ] and the common, symmetric covariance matrix Σ is positive definite. Then the log-likelihood ratio, computed posterior to making the observation x = [ x1 ··· xk ] , has the form log f(x|j) f(x|i) = x − µi + µj 2 Σ−1 (µj − µi ). (1) Proof The left-hand side of Equation (1) can be expanded using the definition of the joint probability density function of the multivariate normal distribution — which exists only because Σ is positive definite — as follows: log f(x|j) f(x|i) = log 1√ (2π)k|Σ| exp −1 2 (x − µj ) Σ−1 (x − µj ) 1√ (2π)k|Σ| exp −1 2 (x − µi) Σ−1 (x − µi) = log exp 1 2 (x − µi ) Σ−1 (x − µi ) − 1 2 (x − µj ) Σ−1 (x − µj ) = 1 2 (x − µi ) Σ−1 (x − µi ) − 1 2 (x − µj ) Σ−1 (x − µj ). (2) For expediency, let Σ−1 =      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk      . 1
  • 2. Substitution for x, µi , µj , and Σ−1 in Equation (2) gives 1 2 x1 − µi 1 · · · xk − µi k      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk         x1 − µi 1 ... xk − µi k    − 1 2 x1 − µj 1 · · · xk − µj k      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk         x1 − µj 1 ... xk − µj k    = 1 2 k a=1 (xa − µi a)(Σ−1 a1 ) · · · k a=1 (xa − µi a)(Σ−1 ak )    x1 − µi 1 ... xk − µi k    − 1 2 k a=1 (xa − µj a)(Σ−1 a1 ) · · · k a=1 (xa − µj a)(Σ−1 ak )    x1 − µj 1 ... xk − µj k    = 1 2 k b=1 k a=1 (xa − µi a)(Σ−1 ab )(xb − µi b) − 1 2 k b=1 k a=1 (xa − µj a)(Σ−1 ab )(xb − µj b) = 1 2 k b=1 k a=1 (Σ−1 ab ) (xa − µi a)(xb − µi b) − (xa − µj a)(xb − µj b) = 1 2 k b=1 k a=1 (Σ−1 ab )(xaxb − xaµi b − xbµi a + µi aµi b − xaxb + xaµj b + xbµj a − µj aµj b) = 1 2 k b=1 k a=1 (Σ−1 ab )(−xaµi b − xbµi a + µi aµi b + xaµj b + xbµj a − µj aµj b) = 1 2 k b=1 k a=1 (Σ−1 ab ) xa(µj b − µi b) + xb(µj a − µi a) + µi aµi b − µj aµj b . (3) There are two key (and somewhat trivial) points that must be realized at this point about the terms under double summation; failure to do so makes finishing the proof in this way impossible. The first point: k b=1 k a=1 xa(µj b − µi b)(Σ−1 ab ) = k b=1 k a=1 xb(µj a − µi a)(Σ−1 ba ) = k b=1 k a=1 xb(µj a − µi a)(Σ−1 ab ), where the first equality simply represents a renaming of the indices, and where the second equality holds because the matrix inverse of a symmetric matrix 2
  • 3. is symmetric. So from this point forward, it is justified to replace xb(µj a −µi a) with xa(µj b −µi b) in the summand of Equation (3). The second point is similar: k b=1 k a=1 (µi bµj a − µi aµj b)(Σ−1 ab ) = k b=1 k a=1 (µi bµj a)(Σ−1 ab ) − k b=1 k a=1 (µi aµj b)(Σ−1 ab ) = k b=1 k a=1 (µi bµj a)(Σ−1 ab ) − k b=1 k a=1 (µi bµj a)(Σ−1 ba ) = k b=1 k a=1 (µi bµj a)(Σ−1 ab ) − k b=1 k a=1 (µi bµj a)(Σ−1 ab ) = 0, so the addition of the quantity (µi bµj a − µi aµj b) into the right-most term in the summand of Equation (3) would change absolutely nothing, which turns out to be useful. Using these two insights, Equation (3) can be rewritten as follows: 1 2 k b=1 k a=1 (Σ−1 ab ) 2xa(µj b − µi b) + µi bµj a − µi aµj b + µi aµi b − µj aµj b = k b=1 k a=1 xa − µi a + µj a 2 (Σ−1 ab )(µj b − µi b) = k a=1 xa − µi a + µj a 2 (Σ−1 a1 ) · · · k a=1 xa − µi a + µj a 2 (Σ−1 ak )    µj 1 − µi 1 ... µj k − µi k    = x1 − µi 1 + µj 1 2 · · · xk − µi k + µj k 2      Σ−1 11 Σ−1 12 · · · Σ−1 1k Σ−1 21 Σ−1 22 · · · Σ−1 2k ... ... ... ... Σ−1 k1 Σ−1 k2 · · · Σ−1 kk         µj 1 − µi 1 ... µj k − µi k    = x − µi + µj 2 Σ−1 (µj − µi ). 3