<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BGLIMM for Logistic Mixed Model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/741670#M36058</link>
    <description>&lt;P&gt;Hi Steve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for responding to my question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For completeness, to specify the HMC sampler in BGLIMM with the default settings, simply include the "nuts" syntax in the random/repeat statements. The SAS script would thus run as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc bglimm data=data_in nmc=3000 seed=901214 Statistics=sum Stats=int diag=autocorr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; class home trt_assign participant_id session_instance_new cohort;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; model home(event = "1") = trt_assign calcage baseline_measurement / dist=binary link=logit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; random time/ type=ar(1) subject=participant_id &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;nuts&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; random intercept/ subject=cohort &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;nuts&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 15 May 2021 23:02:25 GMT</pubDate>
    <dc:creator>hakeem</dc:creator>
    <dc:date>2021-05-15T23:02:25Z</dc:date>
    <item>
      <title>BGLIMM for Logistic Mixed Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/737486#M35814</link>
      <description>&lt;P&gt;I've recently started using PROC BGLIMM for modelling Binary Repeated Measures Models with Random Effects. I must say it is a wonderful breath of fresh air for Bayesian Models. After reading the BGLIMM documentation, I have the following questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is the Hamiltonian Monte Carlo or Gamerman's algorithm used for posterior sampling?&lt;/LI&gt;&lt;LI&gt;If the default sampler uses Gamerman's algorithm, is there a way to specify that BGLIMM use the HMC sampler?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please find below my SAS script for this example:&lt;/P&gt;&lt;P&gt;proc bglimm data=data_in nmc=3000 seed=901214 Statistics=sum Stats=int diag=autocorr;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; class home trt_assign participant_id session_instance_new cohort;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; model home(event = "1") = trt_assign calcage baseline_measurement / dist=binary link=logit;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; random time/ type=ar(1) subject=participant_id;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; random intercept/ subject=cohort;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Thanks again in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 04:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/737486#M35814</guid>
      <dc:creator>hakeem</dc:creator>
      <dc:date>2021-04-28T04:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: BGLIMM for Logistic Mixed Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/737901#M35827</link>
      <description>&lt;P&gt;Of course, it is the perfectly obvious (hah! &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;) NUTS option in either the RANDOM statement (for G side effects) or the REPEATED statement (for R side effects)..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 13:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/737901#M35827</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-04-29T13:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: BGLIMM for Logistic Mixed Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/741670#M36058</link>
      <description>&lt;P&gt;Hi Steve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for responding to my question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For completeness, to specify the HMC sampler in BGLIMM with the default settings, simply include the "nuts" syntax in the random/repeat statements. The SAS script would thus run as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc bglimm data=data_in nmc=3000 seed=901214 Statistics=sum Stats=int diag=autocorr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; class home trt_assign participant_id session_instance_new cohort;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; model home(event = "1") = trt_assign calcage baseline_measurement / dist=binary link=logit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; random time/ type=ar(1) subject=participant_id &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;nuts&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; random intercept/ subject=cohort &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;nuts&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 23:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/741670#M36058</guid>
      <dc:creator>hakeem</dc:creator>
      <dc:date>2021-05-15T23:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: BGLIMM for Logistic Mixed Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/741834#M36079</link>
      <description>&lt;P&gt;I believe that is correct.&amp;nbsp; The code as presented will give the estimates conditional on the random effects.&amp;nbsp; Should you want the marginal estimates averaged over time, you could replace the first RANDOM statement with a REPEATED statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 12:00:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BGLIMM-for-Logistic-Mixed-Model/m-p/741834#M36079</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-05-17T12:00:20Z</dc:date>
    </item>
  </channel>
</rss>

