<?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 SAS Programming: categorical and numerical variable SAS Table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688418#M209124</link>
    <description>&lt;P&gt;I am using a SAS Studio On Demand for Academics and upload a Excel file to File and Folder. The Excel file has some numerical and categorical variable (using numbers).&lt;/P&gt;&lt;P&gt;When I am create a SAS Table by using:&lt;/P&gt;&lt;P&gt;Options validvarname=v7;&lt;/P&gt;&lt;P&gt;Libname Cedrela xlsx "path....";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My SAS Table consider all variables as numeric variable. Moreover, when I am try to build a Categorical plot (e.g. box plot) by Task and Utilities its not possible because all variable is a numeric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My I use a Proc step to format the variable or at Excel is possible do classify the variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2020 02:04:59 GMT</pubDate>
    <dc:creator>etsfor</dc:creator>
    <dc:date>2020-10-02T02:04:59Z</dc:date>
    <item>
      <title>SAS Programming: categorical and numerical variable SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688418#M209124</link>
      <description>&lt;P&gt;I am using a SAS Studio On Demand for Academics and upload a Excel file to File and Folder. The Excel file has some numerical and categorical variable (using numbers).&lt;/P&gt;&lt;P&gt;When I am create a SAS Table by using:&lt;/P&gt;&lt;P&gt;Options validvarname=v7;&lt;/P&gt;&lt;P&gt;Libname Cedrela xlsx "path....";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My SAS Table consider all variables as numeric variable. Moreover, when I am try to build a Categorical plot (e.g. box plot) by Task and Utilities its not possible because all variable is a numeric.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My I use a Proc step to format the variable or at Excel is possible do classify the variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 02:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688418#M209124</guid>
      <dc:creator>etsfor</dc:creator>
      <dc:date>2020-10-02T02:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming: categorical and numerical variable SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688421#M209125</link>
      <description>&lt;P&gt;From experience I've found that if you do a "Data / Text to Columns" on the Excel columns you want treated as text / categorical, then reread the sheet into SAS that should fix your problem.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 02:29:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688421#M209125</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-10-02T02:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming: categorical and numerical variable SAS Table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688554#M209190</link>
      <description>&lt;P&gt;Is it possible you have that backwards?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variables to be summarized mathematically must be numeric variables. Variables to be used as categories can be either numeric or character and it wouldn't matter to the procedure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please provide more details about the issues you're encountering.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A box plot would require at least one continuous variable which should be numeric. You could have multiple plots then split by category which could be either a character or numeric variable AFAIK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/318415"&gt;@etsfor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am using a SAS Studio On Demand for Academics and upload a Excel file to File and Folder. The Excel file has some numerical and categorical variable (using numbers).&lt;/P&gt;
&lt;P&gt;When I am create a SAS Table by using:&lt;/P&gt;
&lt;P&gt;Options validvarname=v7;&lt;/P&gt;
&lt;P&gt;Libname Cedrela xlsx "path....";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My SAS Table consider all variables as numeric variable. Moreover, when I am try to build a Categorical plot (e.g. box plot) by Task and Utilities its not possible because all variable is a numeric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My I use a Proc step to format the variable or at Excel is possible do classify the variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 15:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Programming-categorical-and-numerical-variable-SAS-Table/m-p/688554#M209190</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-02T15:31:49Z</dc:date>
    </item>
  </channel>
</rss>

