<?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: Repeated and Random statement in Proc Mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-statement-in-Proc-Mixed/m-p/416158#M21840</link>
    <description>&lt;P&gt;Both&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;random subject(treat);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;repeated time / type=cs subject=subject(treat);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;fit the same covariance structure and to use both in the same model is redundant, causing the model to be overspecified. Use just one or the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the paper by Littell et al. (2000)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Modelling covariance structure in the analysis of repeated measures data" href="http://onlinelibrary.wiley.com/doi/10.1002/1097-0258(20000715)19:13%3C1793::AID-SIM482%3E3.0.CO;2-Q/abstract" target="_self"&gt;http://onlinelibrary.wiley.com/doi/10.1002/1097-0258(20000715)19:13%3C1793::AID-SIM482%3E3.0.CO;2-Q/abstract&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for a good description of the more common covariance types and why you would or would not include both random and repeated statements depending on type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Nov 2017 19:12:20 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2017-11-25T19:12:20Z</dc:date>
    <item>
      <title>Repeated and Random statement in Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-statement-in-Proc-Mixed/m-p/416062#M21830</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;I have a question about proc mixed when having both fixed and random effect .when i put both random and repeated statement i get warning because of&amp;nbsp; infinite likelihood when i want output the FitStatistics. repeat statement is for R side and random is for G side but when i put both repeat and random we suppose within subject errors have no correlation the R matrix should be diagonal (&lt;STRONG&gt;σ^2)&lt;/STRONG&gt; I. so&amp;nbsp; to prevent this error should i remove type=cs&amp;nbsp; statement from proc mixed ? bellow is my code. thanks for any help.&lt;/P&gt;&lt;P&gt;proc mixed data=data;&lt;BR /&gt;class Subject time treat ;&lt;BR /&gt;model response=time|treat / ddfm=kr;&lt;BR /&gt;random Subject(treat);&lt;BR /&gt;&amp;nbsp;repeated time / type=CS subject=Subject(treat)&amp;nbsp; ;&lt;BR /&gt;ods output FitStatistics=Fitcs(rename=(value=cs))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimensions=Parmcs(rename=(value=Numcs));&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 17:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-statement-in-Proc-Mixed/m-p/416062#M21830</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2017-11-24T17:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated and Random statement in Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-statement-in-Proc-Mixed/m-p/416158#M21840</link>
      <description>&lt;P&gt;Both&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;random subject(treat);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;repeated time / type=cs subject=subject(treat);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;fit the same covariance structure and to use both in the same model is redundant, causing the model to be overspecified. Use just one or the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the paper by Littell et al. (2000)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Modelling covariance structure in the analysis of repeated measures data" href="http://onlinelibrary.wiley.com/doi/10.1002/1097-0258(20000715)19:13%3C1793::AID-SIM482%3E3.0.CO;2-Q/abstract" target="_self"&gt;http://onlinelibrary.wiley.com/doi/10.1002/1097-0258(20000715)19:13%3C1793::AID-SIM482%3E3.0.CO;2-Q/abstract&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for a good description of the more common covariance types and why you would or would not include both random and repeated statements depending on type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2017 19:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-statement-in-Proc-Mixed/m-p/416158#M21840</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-11-25T19:12:20Z</dc:date>
    </item>
  </channel>
</rss>

