<?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: PROC MIXED doesn't recognize all levels of class in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170954#M44163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One quick check would be to do a proc freq and see if it gives two values.&amp;nbsp; My initial guess is that all of one category is being excluded, either in a data step prior to analysis or by use of a WHERE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 14:04:11 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-05-23T14:04:11Z</dc:date>
    <item>
      <title>PROC MIXED doesn't recognize all levels of class</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170953#M44162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem:&lt;/P&gt;&lt;P&gt;In PROC MIXED, I defined several classes under 'class'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of them, called 'Status', has two levels, coded as '1' and '2' (i.e. the column for these data consists of ones and twos). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the program, the output states that the class 'Status' has one level, and that it's value is '2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens even though I have several other classes with two levels coded as '1' and '2', (i.e., as for Status, the data are columns of ones and twos), for which the output correctly states that each of these classes has two levels, with the values '1' and '2'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know how I can fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: The data come from an Excel file, which I opened in SPSS and then saved with the .sas7bdat extension&lt;/P&gt;&lt;P&gt;PPS: I've already tried removing the entire 'Status' column in Excel and rewriting it. I've also tried coding the levels as letters (e.g. 'C' and 'P'), but the problem remains. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 11:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170953#M44162</guid>
      <dc:creator>Reshi</dc:creator>
      <dc:date>2014-05-23T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED doesn't recognize all levels of class</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170954#M44163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One quick check would be to do a proc freq and see if it gives two values.&amp;nbsp; My initial guess is that all of one category is being excluded, either in a data step prior to analysis or by use of a WHERE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 14:04:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170954#M44163</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-05-23T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED doesn't recognize all levels of class</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170955#M44164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many of the modeling procs will exclude records if any of the independent variables are missing. By any chance are other variables, alone or in combination, in the model missing for all of records with Status=2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the output tables should also mention how many records were used. Does this match the number in your input data set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 15:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170955#M44164</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-23T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED doesn't recognize all levels of class</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170956#M44165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"By any chance are other variables, alone or in combination, in the model missing for all of records with Status=2?"&lt;/P&gt;&lt;P&gt;This was indeed the case. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 14:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MIXED-doesn-t-recognize-all-levels-of-class/m-p/170956#M44165</guid>
      <dc:creator>Reshi</dc:creator>
      <dc:date>2014-05-26T14:28:13Z</dc:date>
    </item>
  </channel>
</rss>

