<?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: Anyone know how to use the IRR function? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139418#M261430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make some experiments calculating IRR in Excel and SAS.&lt;/P&gt;&lt;P&gt;The calculation in Excel and SAS equals if make a daily cash flow both in Excel and SAS. I mean you have 6/30/2013 7/1/2013 7/2/2013 ... and so on 365 points per year most of them are missing or equals zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use IRR=IRR(365, of col:);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2013 10:47:48 GMT</pubDate>
    <dc:creator>Oleg_L</dc:creator>
    <dc:date>2013-11-12T10:47:48Z</dc:date>
    <item>
      <title>Anyone know how to use the IRR function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139416#M261428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable with 10 quarters of cash flow. It looks like the following: The variable in SAS is called Axiom. I want to calculate the IRR but I am not sure how. I looked it up but still confused. Thank you,&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="216"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl2843" height="53" width="97"&gt;Date&lt;/TD&gt;&lt;TD class="xl2838" width="119"&gt;Axiom&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;6/30/2013&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;($17,601,671)&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;9/30/2013&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$575,049 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;12/31/2013&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$575,049 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;3/31/2014&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$562,548 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;6/30/2014&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$568,799 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;9/30/2014&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$819,636 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;12/31/2014&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$812,448 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;3/31/2015&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$793,071 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;6/30/2015&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$792,055 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;9/30/2015&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$790,883 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;12/31/2015&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$783,695 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;3/31/2016&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$770,725 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;6/30/2016&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$763,615 &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl2845" height="18" style="border-top: none;"&gt;8/15/2016&lt;/TD&gt;&lt;TD align="right" class="xl2840" style="border-top: none;"&gt;$17,868,981 &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 05:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139416#M261428</guid>
      <dc:creator>toddtodd</dc:creator>
      <dc:date>2013-11-12T05:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone know how to use the IRR function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139417#M261429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Try the code below.&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt; infile cards;&lt;/P&gt;&lt;P&gt; informat Date mmddyy10. Axiom dollar10.;&lt;/P&gt;&lt;P&gt; input date axiom;&lt;/P&gt;&lt;P&gt; format date ddmmyy10.;&lt;/P&gt;&lt;P&gt; cards;&lt;/P&gt;&lt;P&gt; 6/30/2013 ($17,601,671)&lt;/P&gt;&lt;P&gt; 9/30/2013 $575,049&lt;/P&gt;&lt;P&gt; 12/31/2013 $575,049&lt;/P&gt;&lt;P&gt; 3/31/2014 $562,548&lt;/P&gt;&lt;P&gt; 6/30/2014 $568,799&lt;/P&gt;&lt;P&gt; 9/30/2014 $819,636&lt;/P&gt;&lt;P&gt; 12/31/2014 $812,448&lt;/P&gt;&lt;P&gt; 3/31/2015 $793,071&lt;/P&gt;&lt;P&gt; 6/30/2015 $792,055&lt;/P&gt;&lt;P&gt; 9/30/2015 $790,883&lt;/P&gt;&lt;P&gt; 12/31/2015 $783,695&lt;/P&gt;&lt;P&gt; 3/31/2016 $770,725&lt;/P&gt;&lt;P&gt; 6/30/2016 $763,615&lt;/P&gt;&lt;P&gt; 8/15/2016 $17,868,981 &lt;/P&gt;&lt;P&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; proc transpose data=have out=have1; var axiom; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;data want; set have1;&lt;/P&gt;&lt;P&gt; irr=irr(4,of col:);&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 10:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139417#M261429</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2013-11-12T10:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone know how to use the IRR function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139418#M261430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make some experiments calculating IRR in Excel and SAS.&lt;/P&gt;&lt;P&gt;The calculation in Excel and SAS equals if make a daily cash flow both in Excel and SAS. I mean you have 6/30/2013 7/1/2013 7/2/2013 ... and so on 365 points per year most of them are missing or equals zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use IRR=IRR(365, of col:);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 10:47:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139418#M261430</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2013-11-12T10:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone know how to use the IRR function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139419#M261431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked perfectly. Thank you for the second email since making a daily data set was the key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Todd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 22:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Anyone-know-how-to-use-the-IRR-function/m-p/139419#M261431</guid>
      <dc:creator>toddtodd</dc:creator>
      <dc:date>2013-11-12T22:38:55Z</dc:date>
    </item>
  </channel>
</rss>

