<?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: How to select values in column 3 based on value from col 2 and find mean? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712745#M80039</link>
    <description>&lt;P&gt;Your subject is pretty meaningless as Col3 shows no numeric values, so no "mean" can be calculated. Also how are we supposed to use the value Col2 to select anything from Col3? We need some sort of rules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that you do not even have a SAS data set.&lt;/P&gt;
&lt;P&gt;Show us actual values, describe how to use Col2 with Col3 and best would be to include a small worked example given the example values.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2021 15:35:30 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-01-20T15:35:30Z</dc:date>
    <item>
      <title>How to select values in column 3 based on value from col 2 and find mean?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712741#M80038</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Col1&lt;/P&gt;&lt;P&gt;The year 2013-14&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;col2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Consumers of different vegetable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Task1&lt;/P&gt;&lt;P&gt;Select consumers of beet&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;col3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Intake (gms) of all vegetable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Task2&lt;/P&gt;&lt;P&gt;select quantity of beet intake&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;col4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find Mean_1 quantity of beet intake&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The year 2015-16&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Select consumers of beet&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;select quantity of beet intake&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Find Mean_2 quantity of beet intake&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The year 2017-18&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Select consumers of beet&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;select quantity of beet intake&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Find Mean_3 quantity of beet intake&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compare 3 means with ANOVA&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 15:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712741#M80038</guid>
      <dc:creator>swsh016</dc:creator>
      <dc:date>2021-01-20T15:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to select values in column 3 based on value from col 2 and find mean?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712745#M80039</link>
      <description>&lt;P&gt;Your subject is pretty meaningless as Col3 shows no numeric values, so no "mean" can be calculated. Also how are we supposed to use the value Col2 to select anything from Col3? We need some sort of rules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that you do not even have a SAS data set.&lt;/P&gt;
&lt;P&gt;Show us actual values, describe how to use Col2 with Col3 and best would be to include a small worked example given the example values.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 15:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712745#M80039</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-20T15:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to select values in column 3 based on value from col 2 and find mean?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712761#M80040</link>
      <description>[image: image.png]&lt;BR /&gt;I did the selection of values from second colum :&lt;BR /&gt;aspfmt=.;&lt;BR /&gt;if DR1IFDCD in (75100800 75202011 ) then&lt;BR /&gt;aspfmt=1;&lt;BR /&gt;else&lt;BR /&gt;aspfmt=0;&lt;BR /&gt;I dont know how to select values from DR1GRMS that match values from&lt;BR /&gt;DR1FDCD and find mean of those values.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2021 16:12:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-select-values-in-column-3-based-on-value-from-col-2-and/m-p/712761#M80040</guid>
      <dc:creator>swsh016</dc:creator>
      <dc:date>2021-01-20T16:12:13Z</dc:date>
    </item>
  </channel>
</rss>

