<?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 Continuously compounded returns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807905#M1037581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am new to qlikview and i'd like to make an application that has an input some tables from yahoo finance and then calculates the cc returns and other things that needs them in the formula, but i have some problems with cc returns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the input file i only need the field [Adj Close], and they're in decreasing order of date (the first date is related to december 2014). I tried with &lt;/P&gt;&lt;P&gt;log(Above(Avg([Adj Close])))-log(Avg([Adj Close]))&lt;/P&gt;&lt;P&gt;but the result is a bit different from the plot i obtain in R&lt;/P&gt;&lt;P&gt;(r code is &lt;/P&gt;&lt;P&gt;diff(log(funds.z))&lt;/P&gt;&lt;P&gt;and diff is the lagged difference with interval 1, that should be the same as the above function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with the cc returns formula? Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Dec 2014 21:18:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-31T21:18:32Z</dc:date>
    <item>
      <title>Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807905#M1037581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am new to qlikview and i'd like to make an application that has an input some tables from yahoo finance and then calculates the cc returns and other things that needs them in the formula, but i have some problems with cc returns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the input file i only need the field [Adj Close], and they're in decreasing order of date (the first date is related to december 2014). I tried with &lt;/P&gt;&lt;P&gt;log(Above(Avg([Adj Close])))-log(Avg([Adj Close]))&lt;/P&gt;&lt;P&gt;but the result is a bit different from the plot i obtain in R&lt;/P&gt;&lt;P&gt;(r code is &lt;/P&gt;&lt;P&gt;diff(log(funds.z))&lt;/P&gt;&lt;P&gt;and diff is the lagged difference with interval 1, that should be the same as the above function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with the cc returns formula? Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 21:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807905#M1037581</guid>
      <dc:creator />
      <dc:date>2014-12-31T21:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807906#M1037582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Can you uoload an example or a file qv, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 10:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807906#M1037582</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-01-01T10:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807907#M1037583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what i've done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 11:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807907#M1037583</guid>
      <dc:creator />
      <dc:date>2015-01-01T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807908#M1037584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know if I can help you, because not quite understand the problem and what you want to solve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 11:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807908#M1037584</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-01-01T11:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807909#M1037585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, i forgot the data, maybe it can help (extract the archive and put the folder Data in the same of qvw file)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 12:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807909#M1037585</guid>
      <dc:creator />
      <dc:date>2015-01-01T12:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807910#M1037586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fabio,&lt;/P&gt;&lt;P&gt;I use an extraction of your data to perform this formula &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;diff(log(Media)) in R.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Media is the mean of all values in a year, so I had 45 values for Media.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Results are ugual to those you have in QV (with the option in tab Number fixed to 5 or more decimals), but opposite: are you sure the correct expression is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;log(Above(Avg([Adj Close])))-log(Avg([Adj Close]))?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If I change minus with plus, &lt;STRONG&gt;-&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;log(Above(Avg([Adj Close])))+log(Avg([Adj Close])), &lt;/STRONG&gt;I obtain the same results as is R.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know!&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 12:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807910#M1037586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-01T12:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously compounded returns</title>
      <link>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807911#M1037587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solutions to most of problems are little things, thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 13:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Continuously-compounded-returns/m-p/807911#M1037587</guid>
      <dc:creator />
      <dc:date>2015-01-01T13:58:05Z</dc:date>
    </item>
  </channel>
</rss>

