<?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 Weighted standard deviation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406700#M488879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need help in Set analysis for calculating weighted standard deviation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The regular standard deviation formula is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stdev({$&amp;lt;X.QID = {$(=only(X_LIST.QID))}, Y.QID = {$(=only(Y_LIST.QID))}, %RESPONDENT = {"&amp;gt;0"}&amp;gt;} Y.Answer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the weighted one I need to have a formula like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQRT(Sum({$&amp;lt;X.QID = {$(=only(X_LIST.QID))}, Y.QID = {$(=only(Y_LIST.QID))}, %RESPONDENT = {"&amp;gt;0"}&amp;gt;} SQR(WEIGHT*Y.Answer-MEANW))/&lt;/P&gt;&lt;P&gt;Count(({$&amp;lt;X.QID = {$(=only(X_LIST.QID))}, Y.QID = {$(=only(Y_LIST.QID))}, %RESPONDENT = {"&amp;gt;0"}&amp;gt;}&amp;nbsp; Y.Answer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MEANW - weighted average that was calculated before, but I don't know how to implement it into the set analysis. And if I calculate the MEANW in the STDEV&amp;nbsp; formula, I don't get any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2012 21:52:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-04T21:52:47Z</dc:date>
    <item>
      <title>Weighted standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406700#M488879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need help in Set analysis for calculating weighted standard deviation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The regular standard deviation formula is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stdev({$&amp;lt;X.QID = {$(=only(X_LIST.QID))}, Y.QID = {$(=only(Y_LIST.QID))}, %RESPONDENT = {"&amp;gt;0"}&amp;gt;} Y.Answer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the weighted one I need to have a formula like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQRT(Sum({$&amp;lt;X.QID = {$(=only(X_LIST.QID))}, Y.QID = {$(=only(Y_LIST.QID))}, %RESPONDENT = {"&amp;gt;0"}&amp;gt;} SQR(WEIGHT*Y.Answer-MEANW))/&lt;/P&gt;&lt;P&gt;Count(({$&amp;lt;X.QID = {$(=only(X_LIST.QID))}, Y.QID = {$(=only(Y_LIST.QID))}, %RESPONDENT = {"&amp;gt;0"}&amp;gt;}&amp;nbsp; Y.Answer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MEANW - weighted average that was calculated before, but I don't know how to implement it into the set analysis. And if I calculate the MEANW in the STDEV&amp;nbsp; formula, I don't get any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 21:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406700#M488879</guid>
      <dc:creator />
      <dc:date>2012-12-04T21:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406701#M488880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Have you tried using&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the object&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Statistics&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Box&lt;/SPAN&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 19:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406701#M488880</guid>
      <dc:creator />
      <dc:date>2012-12-05T19:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted standard deviation</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406702#M488881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. Unfortunately, I did not find a way to use the Statistics Box in my case (couldn't set expressions in there). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-standard-deviation/m-p/406702#M488881</guid>
      <dc:creator />
      <dc:date>2012-12-06T15:17:14Z</dc:date>
    </item>
  </channel>
</rss>

