<?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 Limit analysis to the following subsection of rows.... in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650068#M194925</link>
    <description>&lt;P&gt;I'm working with Proc Freq, but this question can extend beyond that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How best to subset the data for the analysis one wants to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, say there is a column of data called "Quality", and it extends from 0 to 10.&amp;nbsp; And I would like to only focus on the rows of data with Quality &amp;gt;= 8.0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in Proc Freq, ONLY focus on that subset of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How best to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nicholas Kormanik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2020 07:25:40 GMT</pubDate>
    <dc:creator>NKormanik</dc:creator>
    <dc:date>2020-05-23T07:25:40Z</dc:date>
    <item>
      <title>Limit analysis to the following subsection of rows....</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650068#M194925</link>
      <description>&lt;P&gt;I'm working with Proc Freq, but this question can extend beyond that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How best to subset the data for the analysis one wants to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, say there is a column of data called "Quality", and it extends from 0 to 10.&amp;nbsp; And I would like to only focus on the rows of data with Quality &amp;gt;= 8.0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in Proc Freq, ONLY focus on that subset of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How best to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nicholas Kormanik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 07:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650068#M194925</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2020-05-23T07:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Limit analysis to the following subsection of rows....</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650069#M194926</link>
      <description>&lt;P&gt;Use a&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lestmtsref&amp;amp;docsetTarget=n1xbr9r0s9veq0n137iftzxq4g7e.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;WHERE Statement&lt;/A&gt;&amp;nbsp;or a&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=ledsoptsref&amp;amp;docsetTarget=p0ny9o8t8hc5zen1qn3ft9dhtsxx.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;WHERE= Data Set Option&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 08:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650069#M194926</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-23T08:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Limit analysis to the following subsection of rows....</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650074#M194930</link>
      <description>&lt;HR /&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;/P&gt;
&lt;P&gt;Use a&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lestmtsref&amp;amp;docsetTarget=n1xbr9r0s9veq0n137iftzxq4g7e.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;WHERE Statement&lt;/A&gt;&amp;nbsp;or a&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=ledsoptsref&amp;amp;docsetTarget=p0ny9o8t8hc5zen1qn3ft9dhtsxx.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;WHERE= Data Set Option&lt;/A&gt;.&lt;/P&gt;
&lt;HR /&gt;
&lt;H3 id="n0gcjivvzd7mown1nghhoukvf56l" class="xisDoc-title"&gt;In PROC Steps&lt;/H3&gt;
&lt;P class="xisDoc-paragraph"&gt;You can use the WHERE statement with any SAS procedure that reads a SAS data set. The WHERE statement is useful in order to subset the original data set for processing by the procedure.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Odd no example was provided with a Proc.&amp;nbsp; Only Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would indeed be useful to easily run Proc Freq on various sub-parts of a data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 09:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-analysis-to-the-following-subsection-of-rows/m-p/650074#M194930</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2020-05-23T09:05:55Z</dc:date>
    </item>
  </channel>
</rss>

