<?xml version="1.0"?>
<!-- generator="MovableType/3.34" -->
<rss version="0.92">
  <channel>
    <title>Statistical Modeling, Causal Inference, and Social Science: bugs.R question</title>
    <link>http://www.stat.columbia.edu/~cook/movabletype/archives/2005/03/bugsr_question.html</link>
    <description>This one's just for the bugs.R users out there . . ....</description>
    <language>en-us</language>
    <item>
      <title>bugs.R question</title>
      <description>&lt;p&gt;This one's just for the bugs.R users out there . . .&lt;/p&gt;</description>
      <link>http://www.stat.columbia.edu/~cook/movabletype/archives/2005/03/bugsr_question.html</link>
    </item>
        <item>
     <title>Boris S.</title>
     <description>&lt;p&gt;I'd like to second Andrew's comment about looping within a WinBugs model. I was previously invoking Bugs.R repeatedly in an R loop (for a Monte Carlo analysis), and it was painfully slow, as the fixed cost of invoking Bugs.R and WinBugs is relatively high. But after putting the loop inside the model, things sped up considerably. But do note that this requires lots of memory ...&lt;/p&gt;</description>
     <link>http://www.stat.columbia.edu/~cook/movabletype/archives/000121.html#000158</link>
     </item>
        <item>
     <title>Hui</title>
     <description>&lt;p&gt;Putting the loop inside the model works, and as Boris pointed out, it did speed up. However one consequence is that one would not be able to obtain some statistics, like DIC, for each indiviual loop. We might only be able to obtain DIC for the whole model, i.e. for all the individual analysis together. &lt;/p&gt;</description>
     <link>http://www.stat.columbia.edu/~cook/movabletype/archives/000121.html#000185</link>
     </item>
        <item>
     <title>Andrew</title>
     <description>&lt;p&gt;Hui,&lt;/p&gt;

&lt;p&gt;Yes, you'll just have to compute DIC by postprocessing the simulations, writing a little R script.&lt;/p&gt;</description>
     <link>http://www.stat.columbia.edu/~cook/movabletype/archives/000121.html#000189</link>
     </item>
    
  </channel>
</rss>