<?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: re: formatting in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/re-formatting/m-p/620579#M182373</link>
    <description>&lt;P&gt;Please provide something that looks like your data.&lt;/P&gt;
&lt;P&gt;If you actually only have two variables in the data then to do what you want you likely need to transpose the data so that you have one observation per data respondent. How to do that depends on the actual data that you have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID Var1 Var2&lt;/P&gt;
&lt;P&gt;where Var1 has the numeric value for the first question response and Var2 has the numeric value of the second question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you would assign the formats with something like:&lt;/P&gt;
&lt;P&gt;format var1 resp. var2 gender. ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 18:03:58 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-01-28T18:03:58Z</dc:date>
    <item>
      <title>re: formatting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-formatting/m-p/620568#M182366</link>
      <description>&lt;P&gt;Hi....I have survey data that consist of two columns (Question, Response) that has been converted to numeric. I would like to convert the data to its original responses. Is there a way to specify which questions (they are number by Q1, Q2,....) to apply each formatting as not all questions have the same ranges. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
	value resp
	1='Disagree'
	2='Neutral'
	3='Agree'
;

proc format;
	value Gender
	1='Male'
	2='Female'
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-formatting/m-p/620568#M182366</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2020-01-28T17:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: re: formatting</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-formatting/m-p/620579#M182373</link>
      <description>&lt;P&gt;Please provide something that looks like your data.&lt;/P&gt;
&lt;P&gt;If you actually only have two variables in the data then to do what you want you likely need to transpose the data so that you have one observation per data respondent. How to do that depends on the actual data that you have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID Var1 Var2&lt;/P&gt;
&lt;P&gt;where Var1 has the numeric value for the first question response and Var2 has the numeric value of the second question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you would assign the formats with something like:&lt;/P&gt;
&lt;P&gt;format var1 resp. var2 gender. ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:03:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-formatting/m-p/620579#M182373</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-01-28T18:03:58Z</dc:date>
    </item>
  </channel>
</rss>

