<?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: Proc Freq in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474692#M71105</link>
    <description>&lt;P&gt;Given that you already have the labeled version, try adding this to your PROC FREQ:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;format race;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should give you the unlabeled version, so you can match them up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that there doesn't have to be a one-to-one match.&amp;nbsp; It is conceivable that the labeling combines two numeric values into a single category.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jun 2018 19:55:57 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-06-30T19:55:57Z</dc:date>
    <item>
      <title>Proc Freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474690#M71104</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a categorical variable (e.g., Race) in a sav dataset. Race has multiple levels and is coded as 1, 2, 3, etc. Each level has a label, e.g., White, Asian, etc. When I run proc freq in SAS, the table displays only the labels but not numerical codes. Is there a way to display both numerical codes and labels?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to recode the variable, and for that I need to see which number corresponds to which label (i.e., that 1 is White, that 2 is Hispanic, etc.). And I am not sure how to do that unless I open the file in SPSS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 19:33:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474690#M71104</guid>
      <dc:creator>Amanda_Lemon</dc:creator>
      <dc:date>2018-06-30T19:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474692#M71105</link>
      <description>&lt;P&gt;Given that you already have the labeled version, try adding this to your PROC FREQ:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;format race;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should give you the unlabeled version, so you can match them up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that there doesn't have to be a one-to-one match.&amp;nbsp; It is conceivable that the labeling combines two numeric values into a single category.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 19:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474692#M71105</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-06-30T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474693#M71106</link>
      <description>&lt;P&gt;That helps! Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can match them up since my data is not very complex. But one can potentially have more complex coding with multiple numeric codes labeled in the same way or the number of cases per group can be the same, which will complicate the matching process. So, there is no way to see the coding schema in SAS directly?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 20:17:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474693#M71106</guid>
      <dc:creator>Amanda_Lemon</dc:creator>
      <dc:date>2018-06-30T20:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474694#M71107</link>
      <description>&lt;P&gt;Yes, but you need to know a bit about where the pieces get saved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS saves the translations as a format.&amp;nbsp; If you know the location of the formats, you can set up a LIBNAME statement to identify the location.&amp;nbsp; Assuming you define "mylib" within the LIBNAME statement, you could then use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc format library=mylib fmtlib;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should print all the translations you would ever want to see.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 20:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474694#M71107</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-06-30T20:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474709#M71108</link>
      <description>&lt;P&gt;If you export your data from SPSS you have an option to create a format file. Those formats can then be applied to the SAS dataset.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Older version but think it still applies&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103775.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103775.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 23:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq/m-p/474709#M71108</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-30T23:27:38Z</dc:date>
    </item>
  </channel>
</rss>

