Multivariate Gaussian Definition when Covariance matrix is singular, What's wrong?












6












$begingroup$


Given
$$mathbf{Sigma} in mathbb R^{k times k}$$
$$mathbf{u} in mathbb R^k$$
The multivariate Gaussian pdf can be determined By definition:
$$f(mathbf{x})=frac{1}{2pi^{frac{-k}{2}}|Sigma|^{frac{1}{2}}}e^{frac{1}{2}(mathbf{x-u})^Tmathbf{Sigma}^{-1}(mathbf{x-u})}$$



The Covariance matrix is only limited to be positive semidefinite.



So it could be singular (Non-invertible)



This will also lead to a zero in the denumerator, and also the$Sigma^{-1}$ doesn't exist.



What we do in that case to write the joint pdf?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    This MO question might help you.
    $endgroup$
    – Artem Mavrin
    Dec 27 '15 at 8:03
















6












$begingroup$


Given
$$mathbf{Sigma} in mathbb R^{k times k}$$
$$mathbf{u} in mathbb R^k$$
The multivariate Gaussian pdf can be determined By definition:
$$f(mathbf{x})=frac{1}{2pi^{frac{-k}{2}}|Sigma|^{frac{1}{2}}}e^{frac{1}{2}(mathbf{x-u})^Tmathbf{Sigma}^{-1}(mathbf{x-u})}$$



The Covariance matrix is only limited to be positive semidefinite.



So it could be singular (Non-invertible)



This will also lead to a zero in the denumerator, and also the$Sigma^{-1}$ doesn't exist.



What we do in that case to write the joint pdf?










share|cite|improve this question











$endgroup$








  • 2




    $begingroup$
    This MO question might help you.
    $endgroup$
    – Artem Mavrin
    Dec 27 '15 at 8:03














6












6








6


1



$begingroup$


Given
$$mathbf{Sigma} in mathbb R^{k times k}$$
$$mathbf{u} in mathbb R^k$$
The multivariate Gaussian pdf can be determined By definition:
$$f(mathbf{x})=frac{1}{2pi^{frac{-k}{2}}|Sigma|^{frac{1}{2}}}e^{frac{1}{2}(mathbf{x-u})^Tmathbf{Sigma}^{-1}(mathbf{x-u})}$$



The Covariance matrix is only limited to be positive semidefinite.



So it could be singular (Non-invertible)



This will also lead to a zero in the denumerator, and also the$Sigma^{-1}$ doesn't exist.



What we do in that case to write the joint pdf?










share|cite|improve this question











$endgroup$




Given
$$mathbf{Sigma} in mathbb R^{k times k}$$
$$mathbf{u} in mathbb R^k$$
The multivariate Gaussian pdf can be determined By definition:
$$f(mathbf{x})=frac{1}{2pi^{frac{-k}{2}}|Sigma|^{frac{1}{2}}}e^{frac{1}{2}(mathbf{x-u})^Tmathbf{Sigma}^{-1}(mathbf{x-u})}$$



The Covariance matrix is only limited to be positive semidefinite.



So it could be singular (Non-invertible)



This will also lead to a zero in the denumerator, and also the$Sigma^{-1}$ doesn't exist.



What we do in that case to write the joint pdf?







probability






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 27 '15 at 8:04







Allen Kuo

















asked Dec 27 '15 at 7:56









Allen KuoAllen Kuo

1639




1639








  • 2




    $begingroup$
    This MO question might help you.
    $endgroup$
    – Artem Mavrin
    Dec 27 '15 at 8:03














  • 2




    $begingroup$
    This MO question might help you.
    $endgroup$
    – Artem Mavrin
    Dec 27 '15 at 8:03








2




2




$begingroup$
This MO question might help you.
$endgroup$
– Artem Mavrin
Dec 27 '15 at 8:03




$begingroup$
This MO question might help you.
$endgroup$
– Artem Mavrin
Dec 27 '15 at 8:03










1 Answer
1






active

oldest

votes


















0












$begingroup$

Covariance matrix of multivariant Gaussian is square, symmetric (both for all covariance matrices) and positive definite (semi-positive definite for all covariance matrices).
So why is the matrix positive definite? It we has one or more dimensions that have variance = 0 this means that they are deterministic (constant) and hence we can neglect these dimensions. If we neglect all dimensions that do not provide any information regarding the RV we will remain with positive definite matrix instead of semi positive definite.
A square positive definite matrix is always invertible (det not equal zero).






share|cite|improve this answer











$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1590310%2fmultivariate-gaussian-definition-when-covariance-matrix-is-singular-whats-wron%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    Covariance matrix of multivariant Gaussian is square, symmetric (both for all covariance matrices) and positive definite (semi-positive definite for all covariance matrices).
    So why is the matrix positive definite? It we has one or more dimensions that have variance = 0 this means that they are deterministic (constant) and hence we can neglect these dimensions. If we neglect all dimensions that do not provide any information regarding the RV we will remain with positive definite matrix instead of semi positive definite.
    A square positive definite matrix is always invertible (det not equal zero).






    share|cite|improve this answer











    $endgroup$


















      0












      $begingroup$

      Covariance matrix of multivariant Gaussian is square, symmetric (both for all covariance matrices) and positive definite (semi-positive definite for all covariance matrices).
      So why is the matrix positive definite? It we has one or more dimensions that have variance = 0 this means that they are deterministic (constant) and hence we can neglect these dimensions. If we neglect all dimensions that do not provide any information regarding the RV we will remain with positive definite matrix instead of semi positive definite.
      A square positive definite matrix is always invertible (det not equal zero).






      share|cite|improve this answer











      $endgroup$
















        0












        0








        0





        $begingroup$

        Covariance matrix of multivariant Gaussian is square, symmetric (both for all covariance matrices) and positive definite (semi-positive definite for all covariance matrices).
        So why is the matrix positive definite? It we has one or more dimensions that have variance = 0 this means that they are deterministic (constant) and hence we can neglect these dimensions. If we neglect all dimensions that do not provide any information regarding the RV we will remain with positive definite matrix instead of semi positive definite.
        A square positive definite matrix is always invertible (det not equal zero).






        share|cite|improve this answer











        $endgroup$



        Covariance matrix of multivariant Gaussian is square, symmetric (both for all covariance matrices) and positive definite (semi-positive definite for all covariance matrices).
        So why is the matrix positive definite? It we has one or more dimensions that have variance = 0 this means that they are deterministic (constant) and hence we can neglect these dimensions. If we neglect all dimensions that do not provide any information regarding the RV we will remain with positive definite matrix instead of semi positive definite.
        A square positive definite matrix is always invertible (det not equal zero).







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 8 '18 at 9:53

























        answered Dec 7 '18 at 19:01









        Chen ShaniChen Shani

        11




        11






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1590310%2fmultivariate-gaussian-definition-when-covariance-matrix-is-singular-whats-wron%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            To store a contact into the json file from server.js file using a class in NodeJS

            Redirect URL with Chrome Remote Debugging Android Devices

            Dieringhausen