<?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: Creation the formula of Compound interest through  DO loop in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Creation-the-formula-of-Compound-interest-through-DO-loop/m-p/536726#M6656</link>
    <description>&lt;P&gt;I didn't check your code, but you can use the COMPOUND function in SAS to do this, and then you will be sure the answer is correct. Or you can compare your results to what the COMPOUND function says.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0ledxl0wyn9jyn12hi34nlpp7ve.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0ledxl0wyn9jyn12hi34nlpp7ve.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, it seems to me that in your code, the interest rate is 10%&amp;nbsp;&lt;EM&gt;per month&lt;/EM&gt;, is that really what you wanted?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 14:13:25 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-02-19T14:13:25Z</dc:date>
    <item>
      <title>Creation the formula of Compound interest through  DO loop</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creation-the-formula-of-Compound-interest-through-DO-loop/m-p/536724#M6655</link>
      <description>&lt;P&gt;data testout1;&lt;BR /&gt;principle=5000;&lt;BR /&gt;rate=0.10;&lt;BR /&gt;earned=0;&lt;BR /&gt;do year=1 to 15;&lt;BR /&gt;do month=1 to 12;&lt;BR /&gt;earned=earned+(principle+earned)*rate;&lt;BR /&gt;output;&lt;BR /&gt;end; end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it right if principle is 5000, rate 10% and calculated&amp;nbsp; for 15 years ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 13:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creation-the-formula-of-Compound-interest-through-DO-loop/m-p/536724#M6655</guid>
      <dc:creator>Shrutibhatnagar</dc:creator>
      <dc:date>2019-02-19T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creation the formula of Compound interest through  DO loop</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creation-the-formula-of-Compound-interest-through-DO-loop/m-p/536726#M6656</link>
      <description>&lt;P&gt;I didn't check your code, but you can use the COMPOUND function in SAS to do this, and then you will be sure the answer is correct. Or you can compare your results to what the COMPOUND function says.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0ledxl0wyn9jyn12hi34nlpp7ve.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0ledxl0wyn9jyn12hi34nlpp7ve.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, it seems to me that in your code, the interest rate is 10%&amp;nbsp;&lt;EM&gt;per month&lt;/EM&gt;, is that really what you wanted?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 14:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creation-the-formula-of-Compound-interest-through-DO-loop/m-p/536726#M6656</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-02-19T14:13:25Z</dc:date>
    </item>
  </channel>
</rss>

