<?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: Need help with this question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129734#M260534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;Yes thanks for the correction it should be (4*7)...&lt;/P&gt;&lt;P&gt;The actual dataset contain more observations than the example but the logic should work for the bid data if found for this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2012 05:19:20 GMT</pubDate>
    <dc:creator>kmante</dc:creator>
    <dc:date>2012-05-31T05:19:20Z</dc:date>
    <item>
      <title>Need help with this question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129732#M260532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I looking for help with this question. I have a dataset with columns A and B and want to calculate C such that the final dataset looks something like this:&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp; (4*5)=20&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp; (3*5)+(4*6)=39&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp; (2*5)+(3*6)+(4*8)=56&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp; 8&amp;nbsp;&amp;nbsp; (1*5)+(2*6)+(3*7)+(4*8)=70&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be more than glad to get techie hands on this one for me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kmante&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 23:06:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129732#M260532</guid>
      <dc:creator>kmante</dc:creator>
      <dc:date>2012-05-30T23:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with this question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129733#M260533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldn't it be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp; 7&amp;nbsp;&amp;nbsp; (2*5)+(3*6)+(4*&lt;STRONG style="color: #ff0000;"&gt;7&lt;/STRONG&gt;)=56&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many ways to guess what is required. What would be the result if the dataset contained only the first three lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 23:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129733#M260533</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-05-30T23:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with this question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129734#M260534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PG,&lt;/P&gt;&lt;P&gt;Yes thanks for the correction it should be (4*7)...&lt;/P&gt;&lt;P&gt;The actual dataset contain more observations than the example but the logic should work for the bid data if found for this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 05:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129734#M260534</guid>
      <dc:creator>kmante</dc:creator>
      <dc:date>2012-05-31T05:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with this question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129735#M260535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want (drop=_:);&lt;/P&gt;&lt;P&gt;input a b;&lt;/P&gt;&lt;P&gt;do _i = 0 to (a-1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; c = sum( c, (b-_i)*(b-a-_i) );&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1 5&lt;/P&gt;&lt;P&gt;2 6&lt;/P&gt;&lt;P&gt;3 7&lt;/P&gt;&lt;P&gt;4 8&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 13:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129735#M260535</guid>
      <dc:creator>FloydNevseta</dc:creator>
      <dc:date>2012-05-31T13:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with this question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129736#M260536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS_Bigot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was a brilliant and simple answer and works perfect. Thanks a lots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2012 17:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-this-question/m-p/129736#M260536</guid>
      <dc:creator>kmante</dc:creator>
      <dc:date>2012-05-31T17:18:41Z</dc:date>
    </item>
  </channel>
</rss>

