<?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: Random effect statistical significance Proc Glimmix in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678095#M32570</link>
    <description>&lt;P&gt;For your repeated measures on each subject, I am going to assume that the variable name for that is time.&amp;nbsp; So here is a G-side repeated measures code.&amp;nbsp; Note that it does not fit subject as a random effect, since I used the Cholesky parameterized unstructured covariance structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=t6 method=quad;
class pid1 time;
model GONOR=time /dist=bin link=logit s;
random time/ subject=pid1 type=chol;
covtest zerog;
covtest diagg;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The diagg option for the second COVTEST is for the off-diagonal entries (the 3 covariances between the 3 timepoints).&amp;nbsp; If that is not significant, you could reduce the covariance matrix to UN(1).&amp;nbsp; Of course, if the zerog is not significant then you can remove all random effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 13:44:45 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-08-20T13:44:45Z</dc:date>
    <item>
      <title>Random effect statistical significance Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/677849#M32564</link>
      <description>&lt;DIV class="adn ads"&gt;&lt;DIV class="gs"&gt;&lt;DIV class=""&gt;&lt;DIV class="ii gt"&gt;&lt;DIV class="a3s aXjCH "&gt;&lt;DIV&gt;&lt;P&gt;Dear fellows,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Proc Glimmix with a longitudinal data in which the event is observed at week 0, 48 and 96.&lt;/P&gt;&lt;P&gt;I am using a logistic regression and I would like to test whether the random effect is significant as the sas output show only the parameter estimate and its respective standard&amp;nbsp; . Is it done with COVTEST?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; Syntax used is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=t6 method=quad;&lt;BR /&gt;class pid1;&lt;BR /&gt;model GONOR= /dist=bin link=logit s;&lt;BR /&gt;random int / subject=pid1 type=ar(1);&lt;BR /&gt;RUN;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="adL"&gt;Thank you in advance.&lt;/DIV&gt;&lt;DIV class="adL"&gt;Best regards,&lt;/DIV&gt;&lt;DIV class="adL"&gt;Iuri Leite&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="hi"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="ajx"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="gA gt acV"&gt;&lt;DIV class="gB xu"&gt;&lt;DIV class="ip iq"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Aug 2020 16:22:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/677849#M32564</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2020-08-19T16:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Random effect statistical significance Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678065#M32566</link>
      <description>&lt;P&gt;Yes. Try adding:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;COVTEST zerog;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should give a likelihood ratio test whether the random effect can be set to zero,&amp;nbsp; However, the selection of options for COVTEST really will depend on how you set up the RANDOM statement.&amp;nbsp; With a repeated factor, you may be fitting this a G side effect or an R side effect.&amp;nbsp; The test options will change based on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 12:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678065#M32566</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-08-20T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Random effect statistical significance Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678074#M32568</link>
      <description>&lt;P&gt;Luri,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you can use the COVTEST statement in PROC GLIMMIX. For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc glimmix data=t6 method=quad;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class pid1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model GONOR= /dist=bin link=logit s;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;random int / subject=pid1 ;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;covtest zerog;&lt;BR /&gt;&lt;SPAN&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, type=ar(1) is not necessary for random intercept models.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 13:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678074#M32568</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2020-08-20T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Random effect statistical significance Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678075#M32569</link>
      <description>&lt;P data-unlink="true"&gt;In answer to your question yes the COVTEST statement allows you to make statistical inferences concerning the covariance parameters. It fits a reduced model based on the specification in the COVTEST statement and compares it with the full model based on the MODEL and RANDOM statements. The comparison is done using a likelihood ratio test. If a pseudo-likelihood estimation method is used in PROC GLIMMIX, the models are made comparable by basing the likelihoods on the final pseudo-data for the full model.&amp;nbsp;&amp;nbsp;The GLIMMIX documentation includes&amp;nbsp;information on&amp;nbsp;syntax and examples for using&amp;nbsp;the &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glimmix_syntax06.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;COVTEST&lt;/A&gt; statement&amp;nbsp;for additional examples you may refer to the following &lt;A href="http://support.sas.com/kb/40724" target="_self"&gt;SAS Usage Note&lt;/A&gt;. &amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;It you want to estimate&amp;nbsp;a random intercept&amp;nbsp;and/or random&amp;nbsp;coefficients model. The typical covariance structures are TYPE=UN or TYPE=VC. The TYPE=AR(1) works well for the R-side random effects&amp;nbsp;, but does not make much sense for random coefficients models.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 13:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678075#M32569</guid>
      <dc:creator>STAT_Kathleen</dc:creator>
      <dc:date>2020-08-20T13:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Random effect statistical significance Proc Glimmix</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678095#M32570</link>
      <description>&lt;P&gt;For your repeated measures on each subject, I am going to assume that the variable name for that is time.&amp;nbsp; So here is a G-side repeated measures code.&amp;nbsp; Note that it does not fit subject as a random effect, since I used the Cholesky parameterized unstructured covariance structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=t6 method=quad;
class pid1 time;
model GONOR=time /dist=bin link=logit s;
random time/ subject=pid1 type=chol;
covtest zerog;
covtest diagg;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The diagg option for the second COVTEST is for the off-diagonal entries (the 3 covariances between the 3 timepoints).&amp;nbsp; If that is not significant, you could reduce the covariance matrix to UN(1).&amp;nbsp; Of course, if the zerog is not significant then you can remove all random effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 13:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effect-statistical-significance-Proc-Glimmix/m-p/678095#M32570</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-08-20T13:44:45Z</dc:date>
    </item>
  </channel>
</rss>

