Bayesian Statistics: Marginal Posterior

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












In a hierarchical model, the prior $pi(thetamidxi)$ for $theta$ depends on hyperparameters $xi$.



In my lecture notes, the following is now given:



$$ pi(xi mid x) = pi(theta,ximid x)over pi(thetamid x,xi).$$



I don't see how to derive this formula.







share|cite|improve this question





















  • Note that you can get nicer spacing around the vertical bars in conditional probabilities by using mid instead of |.
    – joriki
    Jul 17 at 18:56







  • 1




    oh wow! didn't know this, it indeed looks so much better this way! thank you :)
    – Protawn
    Jul 17 at 18:59














up vote
1
down vote

favorite












In a hierarchical model, the prior $pi(thetamidxi)$ for $theta$ depends on hyperparameters $xi$.



In my lecture notes, the following is now given:



$$ pi(xi mid x) = pi(theta,ximid x)over pi(thetamid x,xi).$$



I don't see how to derive this formula.







share|cite|improve this question





















  • Note that you can get nicer spacing around the vertical bars in conditional probabilities by using mid instead of |.
    – joriki
    Jul 17 at 18:56







  • 1




    oh wow! didn't know this, it indeed looks so much better this way! thank you :)
    – Protawn
    Jul 17 at 18:59












up vote
1
down vote

favorite









up vote
1
down vote

favorite











In a hierarchical model, the prior $pi(thetamidxi)$ for $theta$ depends on hyperparameters $xi$.



In my lecture notes, the following is now given:



$$ pi(xi mid x) = pi(theta,ximid x)over pi(thetamid x,xi).$$



I don't see how to derive this formula.







share|cite|improve this question













In a hierarchical model, the prior $pi(thetamidxi)$ for $theta$ depends on hyperparameters $xi$.



In my lecture notes, the following is now given:



$$ pi(xi mid x) = pi(theta,ximid x)over pi(thetamid x,xi).$$



I don't see how to derive this formula.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 17 at 18:58
























asked Jul 17 at 18:25









Protawn

32129




32129











  • Note that you can get nicer spacing around the vertical bars in conditional probabilities by using mid instead of |.
    – joriki
    Jul 17 at 18:56







  • 1




    oh wow! didn't know this, it indeed looks so much better this way! thank you :)
    – Protawn
    Jul 17 at 18:59
















  • Note that you can get nicer spacing around the vertical bars in conditional probabilities by using mid instead of |.
    – joriki
    Jul 17 at 18:56







  • 1




    oh wow! didn't know this, it indeed looks so much better this way! thank you :)
    – Protawn
    Jul 17 at 18:59















Note that you can get nicer spacing around the vertical bars in conditional probabilities by using mid instead of |.
– joriki
Jul 17 at 18:56





Note that you can get nicer spacing around the vertical bars in conditional probabilities by using mid instead of |.
– joriki
Jul 17 at 18:56





1




1




oh wow! didn't know this, it indeed looks so much better this way! thank you :)
– Protawn
Jul 17 at 18:59




oh wow! didn't know this, it indeed looks so much better this way! thank you :)
– Protawn
Jul 17 at 18:59










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










$$
fracpi(theta,ximid x)pi(thetamid x,xi)=fracpi(theta,xi,x)pi(x)cdotfracpi(x,xi)pi(theta,xi,x)=fracpi(x,xi)pi(x)=pi(ximid x);.
$$






share|cite|improve this answer





















    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2854787%2fbayesian-statistics-marginal-posterior%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    $$
    fracpi(theta,ximid x)pi(thetamid x,xi)=fracpi(theta,xi,x)pi(x)cdotfracpi(x,xi)pi(theta,xi,x)=fracpi(x,xi)pi(x)=pi(ximid x);.
    $$






    share|cite|improve this answer

























      up vote
      1
      down vote



      accepted










      $$
      fracpi(theta,ximid x)pi(thetamid x,xi)=fracpi(theta,xi,x)pi(x)cdotfracpi(x,xi)pi(theta,xi,x)=fracpi(x,xi)pi(x)=pi(ximid x);.
      $$






      share|cite|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        $$
        fracpi(theta,ximid x)pi(thetamid x,xi)=fracpi(theta,xi,x)pi(x)cdotfracpi(x,xi)pi(theta,xi,x)=fracpi(x,xi)pi(x)=pi(ximid x);.
        $$






        share|cite|improve this answer













        $$
        fracpi(theta,ximid x)pi(thetamid x,xi)=fracpi(theta,xi,x)pi(x)cdotfracpi(x,xi)pi(theta,xi,x)=fracpi(x,xi)pi(x)=pi(ximid x);.
        $$







        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 17 at 18:53









        joriki

        164k10180328




        164k10180328






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2854787%2fbayesian-statistics-marginal-posterior%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?