<?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 PROC FREQ-Levels in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/857992#M338997</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In first example I get only Levels column.&lt;/P&gt;
&lt;P&gt;In second&amp;nbsp; example I get more columns: frequency, percent,Cum freq, Cum percent.&lt;/P&gt;
&lt;P&gt;Why is it??&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data =sashelp.cars nlevels;
tables Origin;
run;

proc freq data =sashelp.cars nlevels;
tables _ALL_;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Feb 2023 11:42:03 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2023-02-09T11:42:03Z</dc:date>
    <item>
      <title>PROC FREQ-Levels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/857992#M338997</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In first example I get only Levels column.&lt;/P&gt;
&lt;P&gt;In second&amp;nbsp; example I get more columns: frequency, percent,Cum freq, Cum percent.&lt;/P&gt;
&lt;P&gt;Why is it??&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data =sashelp.cars nlevels;
tables Origin;
run;

proc freq data =sashelp.cars nlevels;
tables _ALL_;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2023 11:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/857992#M338997</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-02-09T11:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FREQ-Levels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/858002#M339002</link>
      <description>&lt;P&gt;In the first example, I get levels followed by the frequency table (including frequency, percent, cumulative frequency, cumulative percent). Show us what you see.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 12:20:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/858002#M339002</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-02-09T12:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FREQ-Levels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/858016#M339007</link>
      <description>&lt;P&gt;The NLEVELS option in PROC FREQ will create a separate table regardless of how many variables you request. The number of columns in the table will depend on if the variable(s) have missing values or not. In the first case, Origin does not have missing values, so the table will only show the variable name and the number of unique levels. In the second case, where you chose all variables (or if you had chosen the Cylinders variable initially), you will see columns for Levels, Missing Levels, and Nonmissing Levels. The sum of the Missing Levels and Nonmissing Levels is Levels. There is also a column for Labels if any of the variables has a label assigned.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 13:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/858016#M339007</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2023-02-09T13:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FREQ-Levels</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/858072#M339024</link>
      <description>&lt;P&gt;Here is my output for the first proc freq which has frequency, percent, cum freq and cum percent as I expected. The only thing I can think would that wouldn't do such is some other options not shown, such as an ODS Select left over from previous code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;&lt;A name="IDX" target="_blank"&gt;&lt;/A&gt;
&lt;DIV class="l proctitle"&gt;The FREQ Procedure&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: NLevels" cellspacing="0" cellpadding="3"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c m header" colspan="2" scope="colgroup"&gt;Number of Variable&lt;BR /&gt;Levels&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m header" scope="col"&gt;Variable&lt;/TH&gt;
&lt;TH class="c m header" scope="col"&gt;Levels&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Origin&lt;/TH&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A name="IDX1" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" cellspacing="0" cellpadding="3"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l m header" scope="col"&gt;Origin&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r m header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Asia&lt;/TH&gt;
&lt;TD class="r data"&gt;158&lt;/TD&gt;
&lt;TD class="r data"&gt;36.92&lt;/TD&gt;
&lt;TD class="r data"&gt;158&lt;/TD&gt;
&lt;TD class="r data"&gt;36.92&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;Europe&lt;/TH&gt;
&lt;TD class="r data"&gt;123&lt;/TD&gt;
&lt;TD class="r data"&gt;28.74&lt;/TD&gt;
&lt;TD class="r data"&gt;281&lt;/TD&gt;
&lt;TD class="r data"&gt;65.65&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l m rowheader" scope="row"&gt;USA&lt;/TH&gt;
&lt;TD class="r data"&gt;147&lt;/TD&gt;
&lt;TD class="r data"&gt;34.35&lt;/TD&gt;
&lt;TD class="r data"&gt;428&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Feb 2023 15:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-FREQ-Levels/m-p/858072#M339024</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-02-09T15:55:56Z</dc:date>
    </item>
  </channel>
</rss>

