How to derive the multivariate normal distribution

Click For Summary
SUMMARY

The discussion focuses on deriving the density function of the multivariate normal distribution given an invertible covariance matrix \(\mathbf{\Sigma}\). The density function is expressed as \(f(\mathbf{x}) = \frac{1}{(\sqrt{2\pi})^n\sqrt{\det(\mathbf{\Sigma})}}\exp\left(-\frac{1}{2}(\mathbf{x}-\mathbf{\mu})^T\mathbf{\Sigma}^{-1}(\mathbf{x}-\mathbf{\mu})\right)\). The derivation begins with a standard independent Gaussian vector and involves a transformation using \(\mathbf{X} = \mathbf{A}\mathbf{Y} + \mathbf{\mu}\). The correct formulation of the determinant in the denominator is clarified as \(\det(\mathbf{AA^T})\), which aligns with the properties of covariance matrices.

PREREQUISITES
  • Understanding of multivariate normal distribution
  • Knowledge of covariance matrices and their properties
  • Familiarity with transformations of random variables
  • Proficiency in differentiation and integration of probability density functions
NEXT STEPS
  • Study the properties of covariance matrices in multivariate statistics
  • Learn about transformations of random variables in probability theory
  • Explore the derivation of the multivariate normal distribution in detail
  • Investigate the relationship between determinants and volume in linear algebra
USEFUL FOR

Statisticians, data scientists, and mathematicians interested in multivariate statistics and probability theory will benefit from this discussion, particularly those focused on deriving and understanding the multivariate normal distribution.

jone
Messages
4
Reaction score
0
If the covariance matrix \mathbf{\Sigma} of the multivariate normal distribution is invertible one can derive the density function:

f(x_1,...,x_n) = f(\mathbf{x}) = \frac{1}{(\sqrt(2\pi))^n\sqrt(\det(\mathbf{\Sigma)}}\exp(-\frac{1}{2}(\mathbf{x}-\mathbf{\mu})^T\mathbf{\Sigma}^{-1}(\mathbf{x}-\mathbf{\mu}))

So, how do I derive the above?
 
Physics news on Phys.org
Start with a normal distribution where all the variables are independent and then do a change of variables.
 
I was on that track before, make use of the CDF and then differentiate back to get the PDF. This is how far I get: Let Y be a standard i.i.d. Gaussian vector. Then use the transformation

<br /> \mathbf{X} = \mathbf{A}\mathbf{Y} + \mathbf{\mu}<br />

<br /> P(\mathbf{X} &lt; \mathbf{x}) = P(\mathbf{A}\mathbf{Y} + \mathbf{\mu} &lt; \mathbf{x}) = P(\mathbf{Y} &lt; \mathbf{A}^{-1}(\mathbf{x}-\mathbf{\mu}))<br />
Now I differentiate this to get the PDF

<br /> f_{\mathbf{X}}(\mathbf{x}) = f_{\mathbf{Y}}(\mathbf{A}^{-1}\mathbf{x-\mu})\det(\mathbf{A}^{-1}) = f_{\mathbf{Y}}(\mathbf{A}^{-1}\mathbf{x-\mu})\frac{1}{\det(\mathbf{A})} = \frac{1}{(2\pi)^{n/2}\det(A)}\exp\left(\frac{1}{2}(\mathbf{x-\mu})^{T}(\mathbf{AA^T})^{-1}(\mathbf{x-\mu})\right)<br />

So \det(\mathbf{A})} pops out in the denominator, instead of \det(\mathbf{AA^T})} it as it should be. Something is wrong in my differentiation here but I can't figure it out.
 
jone said:
So \det(\mathbf{A})} pops out in the denominator, instead of \det(\mathbf{AA^T})} it as it should be. Something is wrong in my differentiation here but I can't figure it out.

Why do you think the denominator should be \det(\mathbf{AA^T})}.

That would give you something analogies to the variance while the denominator of the Gaussian function is the standard deviation.

You want:

\sqrt{|\mathbf{AA^T}|}=\sqrt{|\mathbf{A}|}\sqrt{|\mathbf{A^T}|}=|\mathbf{A}|
 
Ok, so now it works out. \mathbf{\Sigma} = \mathbf{A}\mathbf{A}^T is the covariance matrix. Thank you for your help!
 
jone said:
Ok, so now it works out. \mathbf{\Sigma} = \mathbf{A}\mathbf{A}^T is the covariance matrix. Thank you for your help!

exactly! And, your welcome :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
5K