<?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: Issue with CLASS statement in PROC MIXED in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948119#M371037</link>
    <description>&lt;P&gt;Remove the = immediately after Class.&lt;/P&gt;
&lt;P&gt;Should look like:&lt;/P&gt;
&lt;PRE&gt;CLASS  treatment (ref="A") sequence (ref= "AB") period (ref= "P1") time (ref="V1");&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2024 19:39:44 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-10-18T19:39:44Z</dc:date>
    <item>
      <title>Issue with CLASS statement in PROC MIXED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948117#M371036</link>
      <description>&lt;P&gt;I am trying to use PROC MIXED for the first time with my own data (I have only used this in a biostats course with a pre-defined template for the given data) and&amp;nbsp;I keep receiving this error for my CLASS statement:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"ERROR 180-322: Statement is not valid or it is used out of proper order."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My code is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;PROC MIXED&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DATA&lt;/STRONG&gt;= GGGImp.TNFa&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;METHOD=&lt;/STRONG&gt; REML;&lt;BR /&gt;&lt;STRONG&gt;CLASS&lt;/STRONG&gt;= treatment (ref="A") sequence (ref= "AB") period (ref= "P1") time (ref="V1");&lt;BR /&gt;&lt;STRONG&gt;MODEL&lt;/STRONG&gt; TNFalpha = sequence treatment time period sequence*time period*treatment / SOLUTION;&lt;BR /&gt;&lt;STRONG&gt;RANDOM i&lt;/STRONG&gt;ntercept / &lt;STRONG&gt;SUBJECT&lt;/STRONG&gt;=subjID g vcorr;&lt;BR /&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What's interesting is this general template worked for similar data in my biostats course, so not sure where I am going wrong here. Any help is extremely appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 19:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948117#M371036</guid>
      <dc:creator>alexandra-vita</dc:creator>
      <dc:date>2024-10-18T19:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CLASS statement in PROC MIXED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948119#M371037</link>
      <description>&lt;P&gt;Remove the = immediately after Class.&lt;/P&gt;
&lt;P&gt;Should look like:&lt;/P&gt;
&lt;PRE&gt;CLASS  treatment (ref="A") sequence (ref= "AB") period (ref= "P1") time (ref="V1");&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 19:39:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948119#M371037</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-10-18T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CLASS statement in PROC MIXED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948121#M371038</link>
      <description>&lt;P&gt;Wow, thank you so much, it worked!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 19:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948121#M371038</guid>
      <dc:creator>alexandra-vita</dc:creator>
      <dc:date>2024-10-18T19:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CLASS statement in PROC MIXED</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948122#M371039</link>
      <description>&lt;P&gt;Try removing the "=" sign after class&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CLASS&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;treatment (ref="A") sequence (ref= "AB") period (ref= "P1") time (ref="V1");&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 19:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-CLASS-statement-in-PROC-MIXED/m-p/948122#M371039</guid>
      <dc:creator>JOL</dc:creator>
      <dc:date>2024-10-18T19:48:02Z</dc:date>
    </item>
  </channel>
</rss>

