<?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: GLIMMIX for repeated measures in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/GLIMMIX-for-repeated-measures/m-p/315586#M16630</link>
    <description>&lt;P&gt;You may want to look at the marginal values over year, using an R side model. &amp;nbsp;Consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=datos ;
class SIZE DIST ACT ID  YEAR;
model Y(event="1")= SIZE YEAR SIZE*YEAR/ cl dist=binary link=logit solution;
random intercept / subject=DISTR solution cl;
random intercept / subject=ACT solution cl;
random YEAR /residual subject=ID type=ar(1);
covtest / wald;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You may need to add an NLOPTIONS statement to facilitate convergence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 16:10:17 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2016-11-30T16:10:17Z</dc:date>
    <item>
      <title>GLIMMIX for repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/GLIMMIX-for-repeated-measures/m-p/312011#M16464</link>
      <description>&lt;P&gt;Hello to everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´ve recently started working with SAS and PROC MIXED and there are some things I don´t have clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have collected information from some shops for three years; there are shops with 3 observations, others one with 2 and others one with only 1. The variable response (Y) is if the shop has internet conession or not (YES=1, NO=0). I have also complementary information for each shop: the shop´s size (small,medium,big), the distrit to which the shop belongs (classified as 1,2,...,7) and the shop´s activity (classified as 1,2,...27).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a model with shop´s size (SIZE) as fixed effect and with 2 random effects: the distrit (distr) and te activity (ACT). AS I have repeated measures, I introuce the time variable (YEAR) for each shop (ID) as random also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, this is the model I´m running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=datos method=laplace;&lt;BR /&gt;class SIZE DIST ACT ID&amp;nbsp; YEAR;&lt;BR /&gt;model Y(event="1")= SIZE / cl dist=binary link=logit solution;&lt;BR /&gt;random intercept / subject=DISTR solution cl;&lt;BR /&gt;random intercept / subject=ACT solution cl;&lt;BR /&gt;random YEAR / subject=ID type=ar(1);&lt;BR /&gt;covtest / wald;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It needs too much time and finally it doesn´t work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you hel pe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I apologize for my English.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nerea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 15:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/GLIMMIX-for-repeated-measures/m-p/312011#M16464</guid>
      <dc:creator>nerea10</dc:creator>
      <dc:date>2016-11-16T15:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: GLIMMIX for repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/GLIMMIX-for-repeated-measures/m-p/315586#M16630</link>
      <description>&lt;P&gt;You may want to look at the marginal values over year, using an R side model. &amp;nbsp;Consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=datos ;
class SIZE DIST ACT ID  YEAR;
model Y(event="1")= SIZE YEAR SIZE*YEAR/ cl dist=binary link=logit solution;
random intercept / subject=DISTR solution cl;
random intercept / subject=ACT solution cl;
random YEAR /residual subject=ID type=ar(1);
covtest / wald;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You may need to add an NLOPTIONS statement to facilitate convergence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 16:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/GLIMMIX-for-repeated-measures/m-p/315586#M16630</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-11-30T16:10:17Z</dc:date>
    </item>
  </channel>
</rss>

