<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://nd.psychstat.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://nd.psychstat.org/feed.php">
        <title>@ND - lab:blog:wishart_prior_in_winbugs</title>
        <description></description>
        <link>https://nd.psychstat.org/</link>
        <image rdf:resource="https://nd.psychstat.org/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-05-19T11:48:47+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://nd.psychstat.org/lab/blog/wishart_prior_in_winbugs/openbugs"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://nd.psychstat.org/_media/wiki/dokuwiki.svg">
        <title>@ND</title>
        <link>https://nd.psychstat.org/</link>
        <url>https://nd.psychstat.org/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://nd.psychstat.org/lab/blog/wishart_prior_in_winbugs/openbugs">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-21T18:07:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>openbugs</title>
        <link>https://nd.psychstat.org/lab/blog/wishart_prior_in_winbugs/openbugs</link>
        <description>Wishart prior in WinBUGS/OpenBUGS

For a multilevel model, we specify the random coefficients as a multivariate normal distribution such as
\[
\left(\begin{array}{c}
L_{i}\\
S_{i}\end{array}\right)\sim MN\left[\left(\begin{array}{c}
\beta_{L}\\
\beta_{S}\end{array}\right),\Sigma^{-1}\right]
\]

The prior for the precision matrix $\Sigma^{-1}$ is given a Wishart
distribution in BUGS. 

\[\Sigma^{-1}\sim W(R[1:2,1:2],m)\]

Here $m$ is the degrees of freedom (scalar) that is equivalent prior
sample…</description>
    </item>
</rdf:RDF>
