<?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: Using label in two-way freq table in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70108#M3404</link>
    <description>Hi SBB&lt;BR /&gt;
&lt;BR /&gt;
Many thanks for your info given. I am working with SAS 9.2, but when I tested the samples copied from (in the first link) techno paper, either RTF or original HTML format, my SAS simply crached. Any idea about that?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Snow</description>
    <pubDate>Tue, 08 Sep 2009 19:10:52 GMT</pubDate>
    <dc:creator>Snow_Belssas</dc:creator>
    <dc:date>2009-09-08T19:10:52Z</dc:date>
    <item>
      <title>Using label in two-way freq table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70106#M3402</link>
      <description>Dears&lt;BR /&gt;
&lt;BR /&gt;
Does any of you managed to create a two-way table from PROC FREQ which only uses var label text but not default "Var-name (Var-label)". &lt;BR /&gt;
Many thanks in advance for your help.&lt;BR /&gt;
&lt;BR /&gt;
Snow</description>
      <pubDate>Tue, 08 Sep 2009 14:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70106#M3402</guid>
      <dc:creator>Snow_Belssas</dc:creator>
      <dc:date>2009-09-08T14:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using label in two-way freq table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70107#M3403</link>
      <description>From what I read, SAS 9.2 can address this requirement.&lt;BR /&gt;
&lt;BR /&gt;
The only other technique may be to use PROC FREQ with OUT=, and then attempt some PROC TRANSPOSE to achieve the two-way cross-tab output report, possibly.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Customizing FREQ Procedure Output in SAS 9.2&lt;BR /&gt;
&lt;A href="http://support.sas.com/resources/papers/freq92.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/freq92.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
SAS Procedures Guide: Statistical Procedures, PROC FREQ&lt;BR /&gt;
Example 3.1 Output Data Set of Frequencies&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/59629/HTML/default/procstat_freq_sect024.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/59629/HTML/default/procstat_freq_sect024.htm&lt;/A&gt;</description>
      <pubDate>Tue, 08 Sep 2009 15:42:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70107#M3403</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-09-08T15:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using label in two-way freq table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70108#M3404</link>
      <description>Hi SBB&lt;BR /&gt;
&lt;BR /&gt;
Many thanks for your info given. I am working with SAS 9.2, but when I tested the samples copied from (in the first link) techno paper, either RTF or original HTML format, my SAS simply crached. Any idea about that?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Snow</description>
      <pubDate>Tue, 08 Sep 2009 19:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70108#M3404</guid>
      <dc:creator>Snow_Belssas</dc:creator>
      <dc:date>2009-09-08T19:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using label in two-way freq table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70109#M3405</link>
      <description>Hi again&lt;BR /&gt;
&lt;BR /&gt;
Sorry, I forgot to post the used sample program see as printed.&lt;BR /&gt;
&lt;BR /&gt;
data class;&lt;BR /&gt;
set sashelp.class;&lt;BR /&gt;
label sex="Gender"&lt;BR /&gt;
age="Age in Years";&lt;BR /&gt;
run;&lt;BR /&gt;
proc template;&lt;BR /&gt;
define crosstabs Base.Freq.CrossTabFreqs;&lt;BR /&gt;
define header tableof;&lt;BR /&gt;
text "Table of " _row_label_ " by " _col_label_;&lt;BR /&gt;
end;&lt;BR /&gt;
define header rowsheader;&lt;BR /&gt;
text _row_label_ / _row_label_ ^= " ";&lt;BR /&gt;
text _row_name_;&lt;BR /&gt;
end;&lt;BR /&gt;
define header colsheader;&lt;BR /&gt;
text _col_label_ / _col_label_ ^= " ";&lt;BR /&gt;
text _col_name_;&lt;BR /&gt;
end;&lt;BR /&gt;
cols_header=colsheader;&lt;BR /&gt;
rows_header=rowsheader;&lt;BR /&gt;
header tableof;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods HTML file="body.html";&lt;BR /&gt;
proc freq data=class;&lt;BR /&gt;
tables sex*age;&lt;BR /&gt;
run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
ods listing;</description>
      <pubDate>Tue, 08 Sep 2009 19:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70109#M3405</guid>
      <dc:creator>Snow_Belssas</dc:creator>
      <dc:date>2009-09-08T19:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using label in two-way freq table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70110#M3406</link>
      <description>You will be best served by contacting SAS Support to open a track if you are not getting the expected results, especially where involving a SAS system/environment failure.&lt;BR /&gt;
&lt;BR /&gt;
Scott BarryS&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 08 Sep 2009 20:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70110#M3406</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-09-08T20:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using label in two-way freq table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70111#M3407</link>
      <description>Thanks, I have submitted the problem to our  dear SAS tech support.</description>
      <pubDate>Wed, 09 Sep 2009 09:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-label-in-two-way-freq-table/m-p/70111#M3407</guid>
      <dc:creator>Snow_Belssas</dc:creator>
      <dc:date>2009-09-09T09:04:31Z</dc:date>
    </item>
  </channel>
</rss>

