<?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: Indicate type of each attribute in dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515150#M2874</link>
    <description>&lt;P&gt;Within SAS data sets, there is no such distinction.&amp;nbsp; SAS variables are either character or numeric ... the only possible choices.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can analyze the data with a SAS program to determine some of those characteristics.&amp;nbsp; However, you need to set up your own definitions.&amp;nbsp; For example, you might define that a variable which only takes on integer values, and takes on fewer than 10 different values, is ordinal.&amp;nbsp; But those definitions are up to you.&amp;nbsp; Once you have the definitions in place, you might be able to write a program to see which variables fit those definitions.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 16:36:54 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-11-21T16:36:54Z</dc:date>
    <item>
      <title>Indicate type of each attribute in dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515028#M2854</link>
      <description>&lt;P&gt;How can I indicate each type of attribute in data-set to find nominal, ordinal, interval and ratio values? The data-set is attached as in attachment.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 09:34:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515028#M2854</guid>
      <dc:creator>aungpyaemcc0</dc:creator>
      <dc:date>2018-11-21T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Indicate type of each attribute in dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515039#M2856</link>
      <description>&lt;P&gt;Sorry, really not following you.&amp;nbsp; Do you mean hos do you import that data with given formats/informats/lengths etc?&amp;nbsp; If so start with a simple proc import step, this will guess at your data and write to the log a datastep.&amp;nbsp; You can take that generated code and then modify it to give correct formats/lengths/informats.&amp;nbsp; The code will look like:&lt;/P&gt;
&lt;PRE&gt;data want;
  infile "c:/autism-child-data.csv" dlm=",";
  informat ...;
  format ...;
  length ...;
  label ...;
  input ...;
run;&lt;/PRE&gt;
&lt;P&gt;Of course the elipses will be replaced by the lists of variables in your data.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 10:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515039#M2856</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-11-21T10:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Indicate type of each attribute in dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515150#M2874</link>
      <description>&lt;P&gt;Within SAS data sets, there is no such distinction.&amp;nbsp; SAS variables are either character or numeric ... the only possible choices.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can analyze the data with a SAS program to determine some of those characteristics.&amp;nbsp; However, you need to set up your own definitions.&amp;nbsp; For example, you might define that a variable which only takes on integer values, and takes on fewer than 10 different values, is ordinal.&amp;nbsp; But those definitions are up to you.&amp;nbsp; Once you have the definitions in place, you might be able to write a program to see which variables fit those definitions.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 16:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Indicate-type-of-each-attribute-in-dataset/m-p/515150#M2874</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-11-21T16:36:54Z</dc:date>
    </item>
  </channel>
</rss>

