<?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 Finding P-Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/211164#M65522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am being asked to reproduce a calculation from SQL and have run into a SQL command VPAR which finds the P-Value of a set of numbers. P-Value is supposed to indicate statistical significance, but I cannot find any reference that can help me in Qlikview, nor can I figure out how to calculate the P-Value in general. Does anybody have any clue how to accomplish this? Here is the code I am attempting to reproduce:&lt;/P&gt;&lt;P&gt;SELECT AVG(quantity) AvgQuantity,&lt;BR /&gt; (Avg(date * quantity) - Avg(date) * Avg(quantity)) / VarP(date) AS Slope,&lt;BR /&gt; power(((1 / (VarP(date) * (Count(date) - 2))) * (VarP(quantity) - power((Avg(date * quantity) - Avg(date) * Avg(quantity)), 2) / VarP(date))), 0.5) AS SE_Slope into #stats&lt;BR /&gt;FROM #data&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jul 2010 15:25:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-01T15:25:02Z</dc:date>
    <item>
      <title>Finding P-Value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/211164#M65522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am being asked to reproduce a calculation from SQL and have run into a SQL command VPAR which finds the P-Value of a set of numbers. P-Value is supposed to indicate statistical significance, but I cannot find any reference that can help me in Qlikview, nor can I figure out how to calculate the P-Value in general. Does anybody have any clue how to accomplish this? Here is the code I am attempting to reproduce:&lt;/P&gt;&lt;P&gt;SELECT AVG(quantity) AvgQuantity,&lt;BR /&gt; (Avg(date * quantity) - Avg(date) * Avg(quantity)) / VarP(date) AS Slope,&lt;BR /&gt; power(((1 / (VarP(date) * (Count(date) - 2))) * (VarP(quantity) - power((Avg(date * quantity) - Avg(date) * Avg(quantity)), 2) / VarP(date))), 0.5) AS SE_Slope into #stats&lt;BR /&gt;FROM #data&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 15:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/211164#M65522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-01T15:25:02Z</dc:date>
    </item>
    <item>
      <title>Finding P-Value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/211165#M65523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(aggr(pow(fabs(Value - avg(total Value)), 2), Value))/count(Value)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;See example in attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 16:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/211165#M65523</guid>
      <dc:creator />
      <dc:date>2010-07-01T16:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding P-Value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/1868001#M1216411</link>
      <description>&lt;P&gt;&lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate"&gt;I know its too late &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; still adding so that it will be useful for others &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate"&gt;TTest_sig()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; actually gives you the P value. and it always gives you for two tailed. you can just divide it by 2 to get the equivalent one tail number.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 09:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-P-Value/m-p/1868001#M1216411</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2021-12-08T09:57:06Z</dc:date>
    </item>
  </channel>
</rss>

