<?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 table option SPARSE in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72589#M21025</link>
    <description>I gave it a try and it did not help.  It looks to me like you only need either LIST or OUT= for sparse to work.  I am having a weird situation because it appears to work for some but not for all.  I am also running the same program for other years and I haven't had any problem.</description>
    <pubDate>Tue, 30 Mar 2010 23:06:50 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-03-30T23:06:50Z</dc:date>
    <item>
      <title>Proc freq table option SPARSE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72587#M21023</link>
      <description>I am creating cross tabs by State.  I know some of these cross tabs will be zero, but I want to see them and keep them in the output data set so i am using the option SPARSE.  I am running into a problem where the output is not keeping all of the zero cross tabs.  In particular, in my case I have two cross tabs with zero values but the output is only keeping the first one.  See sample code below.&lt;BR /&gt;
&lt;BR /&gt;
Anyone have any suggestions as to what I'm doing wrong? Has anyone else had this problem?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PROC FREQ DATA=one; &lt;BR /&gt;
By State;&lt;BR /&gt;
TABLE X1*X2 / out=test sparse; weight Z;&lt;BR /&gt;
RUN;</description>
      <pubDate>Tue, 30 Mar 2010 22:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72587#M21023</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-30T22:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq table option SPARSE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72588#M21024</link>
      <description>From the SAS PROC FREQ DOC - you need the LIST option as well, I believe.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/63032/HTML/default/procstat_freq_sect010.htm#procstat.freq.freqsparse" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/63032/HTML/default/procstat_freq_sect010.htm#procstat.freq.freqsparse&lt;/A&gt;</description>
      <pubDate>Tue, 30 Mar 2010 22:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72588#M21024</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-30T22:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq table option SPARSE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72589#M21025</link>
      <description>I gave it a try and it did not help.  It looks to me like you only need either LIST or OUT= for sparse to work.  I am having a weird situation because it appears to work for some but not for all.  I am also running the same program for other years and I haven't had any problem.</description>
      <pubDate>Tue, 30 Mar 2010 23:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72589#M21025</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-30T23:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq table option SPARSE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72590#M21026</link>
      <description>Suggest you share an actual data-sample, both INPUT and OUTPUT, for another perspective from forum subscribers.  Ideally the data would be pasted directly from your SAS log/list output, not hand-keyed.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 30 Mar 2010 23:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-freq-table-option-SPARSE/m-p/72590#M21026</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-30T23:53:15Z</dc:date>
    </item>
  </channel>
</rss>

