<?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: Calculating aggregated standard deviation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262569#M98847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried drilling down on the function stdev and I found out that it is equal to stdev.s of excel.&lt;BR /&gt;Excel has 2 ways of calculating standard deviation 1)Stdev.P&amp;nbsp; 2)Stdev.S.&lt;/P&gt;&lt;P&gt;I would like to show how these works. Let us suppose we have 2 nos. 85 and 90.&lt;/P&gt;&lt;P&gt;so if i use Stdev.P ans is 2.5 and that has to be the ans&lt;/P&gt;&lt;P&gt;if i use Stdev.S ans is 3.34.&lt;/P&gt;&lt;P&gt;and the same ans 3.34 is given by qlik view Stdev formula. Isnt it wrong? please guide me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 10:19:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T10:19:19Z</dc:date>
    <item>
      <title>Calculating aggregated standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262566#M98844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to calculate a aggregated standard deviation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a example Qlikview doc with 10 days worth of data for 6 trading books. &lt;/P&gt;&lt;P&gt;I can calculate the average and standard deviation for each trading book.&lt;/P&gt;&lt;P&gt;Next step is to aggregate the trading books into desks.&lt;/P&gt;&lt;P&gt;I have a formula to calculate the count and the average, however when I try and replicate formula for standard deviation I get different answers to what I am expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to calculate the standard deviation by desk&amp;nbsp; (aggregation of the trading books)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 09:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262566#M98844</guid>
      <dc:creator />
      <dc:date>2012-02-08T09:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating aggregated standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262567#M98845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to add a closing bracket ] in your last inline load, that's also the reason why your total count was 21, not 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I changed your count to&lt;/P&gt;&lt;P&gt;=count(aggr(sum(Revenue), Desk,Day))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your average to&lt;/P&gt;&lt;P&gt;=avg(aggr(sum(Revenue), Desk,Day))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your stdev&lt;/P&gt;&lt;P&gt;=stdev(aggr(sum(Revenue),Desk, Day))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which seems to give plausible data to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 10:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262567#M98845</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-08T10:59:42Z</dc:date>
    </item>
    <item>
      <title>Calculating aggregated standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262568#M98846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All calculations working ok now,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 11:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262568#M98846</guid>
      <dc:creator />
      <dc:date>2012-02-08T11:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating aggregated standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262569#M98847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried drilling down on the function stdev and I found out that it is equal to stdev.s of excel.&lt;BR /&gt;Excel has 2 ways of calculating standard deviation 1)Stdev.P&amp;nbsp; 2)Stdev.S.&lt;/P&gt;&lt;P&gt;I would like to show how these works. Let us suppose we have 2 nos. 85 and 90.&lt;/P&gt;&lt;P&gt;so if i use Stdev.P ans is 2.5 and that has to be the ans&lt;/P&gt;&lt;P&gt;if i use Stdev.S ans is 3.34.&lt;/P&gt;&lt;P&gt;and the same ans 3.34 is given by qlik view Stdev formula. Isnt it wrong? please guide me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 10:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-aggregated-standard-deviation/m-p/262569#M98847</guid>
      <dc:creator />
      <dc:date>2013-02-28T10:19:19Z</dc:date>
    </item>
  </channel>
</rss>

