<?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 Calculate Confidence Interval in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437523#M814284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to calculate confidence interval the same way Excel does with CONFIDENCE.NORM, which is calculating a confidence interval for a population mean using normal distribution.&amp;nbsp; In this case the confidence level is 90%.&amp;nbsp; Is there a formula or function that would work in such a case?&amp;nbsp; I looked over the TTest functions but none really caught my eye.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Calculate Confidence Interval</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437523#M814284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to calculate confidence interval the same way Excel does with CONFIDENCE.NORM, which is calculating a confidence interval for a population mean using normal distribution.&amp;nbsp; In this case the confidence level is 90%.&amp;nbsp; Is there a formula or function that would work in such a case?&amp;nbsp; I looked over the TTest functions but none really caught my eye.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437523#M814284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Confidence Interval</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437524#M814285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1185"&gt;&lt;/A&gt;&lt;A name="TTest_lower"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;search for&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;TTest_lower&lt;/STRONG&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;TTest_upper &lt;/STRONG&gt;and &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;TTest_conf:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Qlikview HELP:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;TTest_lower (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; [set_expression] [ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld {,fld}&amp;gt;] group, value [, sig = 0.025 [, eq_var = true]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;returns the aggregated value for the lower end of the &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;confidence&lt;/SPAN&gt; interval for two independent series of values iterated over the chart dimension(s). See the &lt;A class="MCXref_0"&gt;&lt;EM&gt;TTest_t ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] group, value [, eq_var = true])&lt;/EM&gt;&lt;/A&gt; and &lt;A class="MCXref_0"&gt;&lt;EM&gt;TTest_conf ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] group, value [, sig = 0.025 [, eq_var = true]])&lt;/EM&gt;&lt;/A&gt; functions for argument descriptions.&lt;/P&gt;&lt;P&gt;The same limitations with regard to nested aggregation as those listed under the &lt;A class="MCXref_0"&gt;&lt;EM&gt;chi2test_p ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] col, row, observed_value [, expected_value])&lt;/EM&gt;&lt;/A&gt; function apply. This function supports the &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier in the same manner as described under the &lt;A class="MCXref_0"&gt;&lt;EM&gt;chi2test_p ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] col, row, observed_value [, expected_value])&lt;/EM&gt;&lt;/A&gt; function.&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;ttest_lower( Group, Value ) &lt;/P&gt;&lt;P class="Code"&gt;ttest_lower( Group, Value, false )&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13.3333px;"&gt;&lt;SPAN class="Bold"&gt;TTest_conf (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[set_expression][ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld {,fld}&amp;gt;] group, value [, sig = 0.025 [, eq_var = true]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;returns the aggregated t value for two independent series of values iterated over the chart dimension(s). The two-tailed level of significance can be specified in &lt;SPAN class="Italic"&gt;sig&lt;/SPAN&gt;. If omitted &lt;SPAN class="Italic"&gt;sig&lt;/SPAN&gt; will be set to 0.025, resulting in a 95% &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;confidence&lt;/SPAN&gt; interval. See the &lt;A class="MCXref_0"&gt;&lt;EM&gt;TTest_t ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] group, value [, eq_var = true])&lt;/EM&gt;&lt;/A&gt; function for descriptions of the other arguments.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The same limitations with regard to nested aggregation as those listed under the &lt;A class="MCXref_0"&gt;&lt;EM&gt;chi2test_p ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] col, row, observed_value [, expected_value])&lt;/EM&gt;&lt;/A&gt; function apply. This function supports the &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier in the same manner as described under the &lt;A class="MCXref_0"&gt;&lt;EM&gt;chi2test_p ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] col, row, observed_value [, expected_value])&lt;/EM&gt;&lt;/A&gt; function.&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333px;"&gt;Examples:&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333px;"&gt;ttest_conf( Group, Value ) &lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333px;"&gt;ttest_conf( Group, Value, false )&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1186"&gt;&lt;/A&gt;&lt;A name="TTest_upper"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;TTest_upper (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[set_expression][ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld {,fld}&amp;gt;] group, value [, sig = 0.025 [, eq_var = true]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;returns the aggregated value for the upper end of the &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;confidence&lt;/SPAN&gt; interval for two independent series of values iterated over the chart dimension(s). See the &lt;A class="xref_1"&gt;&lt;EM&gt;TTest_t ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] group, value [, eq_var = true])&lt;/EM&gt;&lt;/A&gt; and &lt;A class="xref_1"&gt;&lt;EM&gt;TTest_conf ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] group, value [, sig = 0.025 [, eq_var = true]])&lt;/EM&gt;&lt;/A&gt; functions for argument descriptions.&lt;/P&gt;&lt;P&gt;The same limitations with regard to nested aggregation as those listed under the &lt;A class="xref_1"&gt;&lt;EM&gt;chi2test_p ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] col, row, observed_value [, expected_value])&lt;/EM&gt;&lt;/A&gt; function apply. This function supports the &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; qualifier in the same manner as described under the &lt;A class="xref_1"&gt;&lt;EM&gt;chi2test_p ([set_expression][ total [&amp;lt;fld {,fld}&amp;gt;] col, row, observed_value [, expected_value])&lt;/EM&gt;&lt;/A&gt; function.&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;ttest_upper( Group, Value ) &lt;/P&gt;&lt;P class="Code"&gt;ttest_upper( Group, Value, false )&lt;/P&gt;&lt;P class="Code"&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1234"&gt;&lt;/A&gt;&lt;A name="TTest_conf1"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;TTest_conf (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;group, value [, sig = 0.025 [, eq_var = true]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns the aggregated t value for two independent series of values iterated over a number of records as defined by a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause. The two-tailed level of significance can be specified in &lt;SPAN class="Italic"&gt;sig&lt;/SPAN&gt;. If omitted &lt;SPAN class="Italic"&gt;sig&lt;/SPAN&gt; will be set to 0.025, resulting in a 95% &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;confidence&lt;/SPAN&gt; interval. See the &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;TTest_t (group, value [, eq_var = true])&lt;/EM&gt;&lt;/A&gt; function for descriptions of the other arguments. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load Year, ttest_conf(Group, Value) as X from abc.csv group by Year;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1235"&gt;&lt;/A&gt;&lt;A name="TTest_lower1"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;TTest_lower (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;group, value [, sig = 0.025 [, eq_var = true]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns the aggregated value for the lower end of the &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;confidence&lt;/SPAN&gt; interval for two independent series of values iterated over a number of records as defined by a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause. See the &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;TTest_t (group, value [, eq_var = true])&lt;/EM&gt;&lt;/A&gt; and &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;TTest_conf (group, value [, sig = 0.025 [, eq_var = true]])&lt;/EM&gt;&lt;/A&gt; functions for argument descriptions. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load Year, ttest_lower(Group, Value) as X from abc.csv group by Year;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor1236"&gt;&lt;/A&gt;&lt;A name="TTest_upper1"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;TTest_upper (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;group, value [, sig = 0.025 [, eq_var = true]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;returns the aggregated value for the upper end of the &lt;SPAN style="background-color: #3399ff; color: #ffffff;"&gt;confidence&lt;/SPAN&gt; interval for two independent series of values iterated over a number of records as defined by a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause. See the &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;TTest_t (group, value [, eq_var = true])&lt;/EM&gt;&lt;/A&gt; and &lt;A class="MCXref_0" href="https://community.qlik.com/"&gt;&lt;EM&gt;TTest_conf (group, value [, sig = 0.025 [, eq_var = true]])&lt;/EM&gt;&lt;/A&gt; functions for argument descriptions. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load Year, ttest_upper(Group, Value) as X from abc.csv group by Year;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 07:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437524#M814285</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-09-29T07:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Confidence Interval</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437525#M814286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks for the reply!&amp;nbsp; In the end I found an equation that worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In case anyone else comes across this, I was able to apply the Z score for normal distrubtion for 90% as follows..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1.6448536 *(stddev(range of values)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sqrt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(population size)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 19:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Confidence-Interval/m-p/1437525#M814286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-30T19:33:54Z</dc:date>
    </item>
  </channel>
</rss>

