<?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: The CLASS variable has more than two levels in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265045#M57839</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;:&amp;nbsp;Observations with missing values of the CLASS variable would be omitted from the calculations.&amp;nbsp;Also, class levels are determined from the &lt;EM&gt;formatted&lt;/EM&gt; values of the CLASS variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/79659"&gt;@yael﻿&lt;/a&gt;: Is &lt;FONT face="courier new,courier"&gt;az&lt;/FONT&gt; a numeric variable or a character variable? Does it have a format (see PROC CONTENTS output)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 10:06:20 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2016-04-20T10:06:20Z</dc:date>
    <item>
      <title>The CLASS variable has more than two levels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265040#M57837</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to check t test while I have a variables dl dm dn (profit vs assets in 3 variations) while my class is az. The az is dummy variable with 0 or 1 (1 is a family and 0 is not a&amp;nbsp;family).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my project:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;ttest&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=sasuser.sasfile120416;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; az;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; dl dm dn;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;And the answer I got in log is &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: The CLASS variable has more than two levels&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked and the az is only 1 and 0, so what it could be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 09:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265040#M57837</guid>
      <dc:creator>yael</dc:creator>
      <dc:date>2016-04-20T09:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: The CLASS variable has more than two levels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265042#M57838</link>
      <description>&lt;P&gt;Any missing values? Is a format applied to variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post output from following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sasuser.sasfile120416;
Format az;
Table az/missing
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Apr 2016 09:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265042#M57838</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-20T09:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: The CLASS variable has more than two levels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265045#M57839</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;:&amp;nbsp;Observations with missing values of the CLASS variable would be omitted from the calculations.&amp;nbsp;Also, class levels are determined from the &lt;EM&gt;formatted&lt;/EM&gt; values of the CLASS variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/79659"&gt;@yael﻿&lt;/a&gt;: Is &lt;FONT face="courier new,courier"&gt;az&lt;/FONT&gt; a numeric variable or a character variable? Does it have a format (see PROC CONTENTS output)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 10:06:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-CLASS-variable-has-more-than-two-levels/m-p/265045#M57839</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-20T10:06:20Z</dc:date>
    </item>
  </channel>
</rss>

