<?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 vs datastep in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688008#M208927</link>
    <description>&lt;P&gt;Even at the basic one way or two way table it's a decent question for an interview - the correct response is I would never do that manually, but if I had to for some reason then this how I would do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A one way or two table tests by group processing, control of output and retain calculations in a single step that should be relatively quick for a SAS programmer who understands data step processing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I 100% agree that trying to replicate a tested process with manual complicated statistical calculations is a bad idea.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 20:54:29 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-09-30T20:54:29Z</dc:date>
    <item>
      <title>Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687880#M208873</link>
      <description>How to get proc freq output&lt;BR /&gt;Using datastep</description>
      <pubDate>Wed, 30 Sep 2020 17:08:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687880#M208873</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-30T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687882#M208874</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you explain further? Provide details? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:13:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687882#M208874</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-30T17:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687885#M208875</link>
      <description>&lt;P&gt;Example data and the proc freq code you want to simulate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: if you are using Proc Freq to compute anything other than counts the code in a single Data step is likely to be ugly at best and impossible at worst. Even just doing counts of something like : tables x*y is going to be somewhat ugly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:17:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687885#M208875</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-30T17:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687889#M208876</link>
      <description>&lt;P&gt;Are you asking:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How to save the output from PROC FREQ to a dataset&lt;/LI&gt;
&lt;LI&gt;How to get the same output you would from PROC FREQ using a data step instead&lt;/LI&gt;
&lt;LI&gt;Something else?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;It would be very helpful if you would add more details to your question before you post them. A rough idea is to show what you have, what you want and what you've tried so far.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;How to get proc freq output&lt;BR /&gt;Using datastep&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687889#M208876</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-30T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687892#M208878</link>
      <description>same proc freq output&lt;BR /&gt;In data step</description>
      <pubDate>Wed, 30 Sep 2020 17:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687892#M208878</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-30T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687893#M208879</link>
      <description>Why?</description>
      <pubDate>Wed, 30 Sep 2020 17:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687893#M208879</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-30T17:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687896#M208881</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;same proc freq output&lt;BR /&gt;In data step&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As before, I ask for further explanation and details, which this does not provide. Please put some time and effort into asking clear and understandable questions, with enough explanation and details so we know what you mean. Your extreme brevity is not a good way to ask questions.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687896#M208881</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-30T17:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687901#M208885</link>
      <description>Interviewer asked</description>
      <pubDate>Wed, 30 Sep 2020 17:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687901#M208885</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-30T17:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687929#M208899</link>
      <description>&lt;P&gt;If the extremely little effort you put into asking questions here is typical for the effort you put into work, then any interviewer will be well advised to not recommend you for hiring.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show us that this impression is wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Interviewer asked&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 18:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687929#M208899</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-30T18:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687999#M208921</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Interviewer asked&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Next time, if there is one, then ask the interviewer for the specific Proc Freq code to emulate.&lt;/P&gt;
&lt;P&gt;And if the result is supposed to be duplicated by a single Data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take a look in the documentation at just how many options are available for the tables statement, especially the tests like Chi-squares or odds ratios. Then look up what is involved with calculating the pieces needed to do those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since a single Proc Freq call can have for practical purposes an unlimited number of tables statements requesting different output for each one with differing numbers of variables the actual content of the freq code really needs to be determined.&lt;/P&gt;
&lt;P&gt;And the Plots options are right out unless you have delved into the not very often mentioned of the Data Step Graphic Interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect the question was not about "data step" coding as much as awareness of the multiple options available in Proc Freq.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 20:15:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/687999#M208921</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-30T20:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688008#M208927</link>
      <description>&lt;P&gt;Even at the basic one way or two way table it's a decent question for an interview - the correct response is I would never do that manually, but if I had to for some reason then this how I would do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A one way or two table tests by group processing, control of output and retain calculations in a single step that should be relatively quick for a SAS programmer who understands data step processing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I 100% agree that trying to replicate a tested process with manual complicated statistical calculations is a bad idea.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 20:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688008#M208927</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-09-30T20:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688138#M208994</link>
      <description>Hi KurtBremser&lt;BR /&gt;If you don't want to give answer please ignore me here after please don't make insult&lt;BR /&gt;of course you are expert in coding but i am beginner</description>
      <pubDate>Thu, 01 Oct 2020 09:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688138#M208994</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-10-01T09:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq vs datastep</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688141#M208997</link>
      <description>&lt;P&gt;It obviously took that (intended) insult to get you to write a complete sentence with some information content. Now answer our questions and provide details about your issue, so we can be of help.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 09:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-vs-datastep/m-p/688141#M208997</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-01T09:21:34Z</dc:date>
    </item>
  </channel>
</rss>

