<?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 How do I change a numeric grade to a letter grade? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149154#M297807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I change a numeric grade to a letter grade?&lt;/P&gt;&lt;P&gt;There are 4 sets of data that needs to be given a letter ranking&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 23:53:49 GMT</pubDate>
    <dc:creator>Mark7807</dc:creator>
    <dc:date>2013-11-19T23:53:49Z</dc:date>
    <item>
      <title>How do I change a numeric grade to a letter grade?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149154#M297807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I change a numeric grade to a letter grade?&lt;/P&gt;&lt;P&gt;There are 4 sets of data that needs to be given a letter ranking&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 23:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149154#M297807</guid>
      <dc:creator>Mark7807</dc:creator>
      <dc:date>2013-11-19T23:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change a numeric grade to a letter grade?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149155#M297808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you actually need to "change" or just generate an associated text value? A custom format would allow you to display a grade for the given numeric value. Assume the values are integers in the range 0 to 100 something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc format;&lt;/P&gt;&lt;P&gt;value grade&lt;/P&gt;&lt;P&gt;91 - 100 = 'A'&lt;/P&gt;&lt;P&gt;81 - 90&amp;nbsp;&amp;nbsp; = 'B'&lt;/P&gt;&lt;P&gt;71 - 80&amp;nbsp;&amp;nbsp; = 'C'&lt;/P&gt;&lt;P&gt;61 - 70&amp;nbsp;&amp;nbsp; = 'D'&lt;/P&gt;&lt;P&gt;low - 60&amp;nbsp; = 'F'&lt;/P&gt;&lt;P&gt;. = 'NA'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do grade = 1 to 100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/* to see a summary of the above data*/&lt;/P&gt;&lt;P&gt;proc freq data=test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables grade;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; format grade grade.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 00:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149155#M297808</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-11-20T00:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change a numeric grade to a letter grade?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149156#M297809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can generate a new value but there are different weights on the 5 different, sorry not 4, sets and I am VERY new at this.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 00:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149156#M297809</guid>
      <dc:creator>Mark7807</dc:creator>
      <dc:date>2013-11-20T00:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change a numeric grade to a letter grade?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149157#M297810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing wrong with being new, but explicitly describe what you want.&amp;nbsp; The best way, I think, is to provide two files, both in the format of data step code: one showing an example of what you have; and the other showing what you want to achieve based on your sample data set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 01:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-change-a-numeric-grade-to-a-letter-grade/m-p/149157#M297810</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-11-20T01:19:46Z</dc:date>
    </item>
  </channel>
</rss>

