<?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: How to extract the levels of a categorical variable ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619467#M181880</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271744"&gt;@KarimaTouati&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you PaigeMiller, I am looking for each level of my categorical variable and not an extraction of specific variables in my dataset.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The solution I gave does what you ask for.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 11:53:45 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-01-23T11:53:45Z</dc:date>
    <item>
      <title>How to extract the levels of a categorical variable ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619216#M181747</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to read the names of a categorical variable in SAS and change it.&lt;/P&gt;&lt;P&gt;Is there any predefined function to extract variable levels in SAS ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 16:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619216#M181747</guid>
      <dc:creator>KarimaTouati</dc:creator>
      <dc:date>2020-01-22T16:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the levels of a categorical variable ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619217#M181748</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
     select distinct variablename from have;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jan 2020 16:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619217#M181748</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-22T16:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the levels of a categorical variable ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619231#M181758</link>
      <description>PROC FREQ. &lt;BR /&gt;&lt;BR /&gt;PROC FREQ DATA=sashelp.class;&lt;BR /&gt;TABLE age / OUT= want;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;The output is displayed and in the WANT data set. Change the variables in lower case to match your requirements.</description>
      <pubDate>Wed, 22 Jan 2020 16:59:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619231#M181758</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-01-22T16:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the levels of a categorical variable ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619433#M181853</link>
      <description>&lt;P&gt;Thank you PaigeMiller, I am looking for each level of my categorical variable and not an extraction of specific variables in my dataset.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 08:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619433#M181853</guid>
      <dc:creator>KarimaTouati</dc:creator>
      <dc:date>2020-01-23T08:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the levels of a categorical variable ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619467#M181880</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271744"&gt;@KarimaTouati&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you PaigeMiller, I am looking for each level of my categorical variable and not an extraction of specific variables in my dataset.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The solution I gave does what you ask for.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 11:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-the-levels-of-a-categorical-variable/m-p/619467#M181880</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-23T11:53:45Z</dc:date>
    </item>
  </channel>
</rss>

