<?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: Chi square for campaign analyses in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048063#M464212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you suggest is something we already do and now we want to go to the next level ... are the results of the targets significantly better then the control group or not. Which, I think, you would also want to do eventually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we can achieve this then we don't need any "classical" method were we would still calculate the Chi² manually &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As mentioned, we have dozens maybe a hundred campaigns in a year with the ambition to generate a lot more but smaller campaign. It is something I just can't do manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we apply this method already in R and SAS. Now we want to see what QV can do and it would a shame if I had to calculate is manually in the script (which would be very difficult in the current model).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2016 16:02:57 GMT</pubDate>
    <dc:creator>kristof_j</dc:creator>
    <dc:date>2016-05-02T16:02:57Z</dc:date>
    <item>
      <title>Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048060#M464209</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 was stupid enough to tell my manager that I could say whether or not a campaign did statistacilly better than a control group. But I can't figure out how &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we have a campaign where we contact some clients (target) and other client without a contact (control group).&lt;/P&gt;&lt;P&gt;Some of the targets bought the product but also the control group. Now we want to know if the difference between the target and control group is statistical relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally we use Chi² test to do this. I'm not very familiar with the test and I can't get it operational in QV.&lt;/P&gt;&lt;P&gt;In my example in one campaign the target group has statistically significant more conversion but not in the other campaign.&lt;/P&gt;&lt;P&gt;f I calculate the Chi² manually I have 4.602 and 0.136.&lt;/P&gt;&lt;P&gt;But how do I do this in QV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the post &lt;A href="https://community.qlik.com/docs/DOC-7525"&gt;ChiSquare.qvw&lt;/A&gt; but in that example there are expected values. In my example I don't have these expected values.&lt;/P&gt;&lt;P&gt;I could calculate them but I didn't manage to use them in the formul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An important remark: the actual model has dozens of campaign with milions of targets. So a chance in the model will have some large consequences. And I would be great if QV could give a list of campaigns that are statiscally relevant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 15:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048060#M464209</guid>
      <dc:creator>kristof_j</dc:creator>
      <dc:date>2016-04-29T15:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048061#M464210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 07:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048061#M464210</guid>
      <dc:creator>kristof_j</dc:creator>
      <dc:date>2016-05-02T07:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048062#M464211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if such a statistical approach could be applied to your campaign and if it would be very reasonable. I would rather try a more "classical" method and create a consolidated datamodel from my sales- and campaign-data which would contain fields like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="855"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="80"&gt;Campaign&lt;/TD&gt;&lt;TD width="121"&gt;CustomerGroup&lt;/TD&gt;&lt;TD width="121"&gt;#Customer&lt;/TD&gt;&lt;TD width="119"&gt;PeriodCluster&lt;/TD&gt;&lt;TD width="80"&gt;Days&lt;/TD&gt;&lt;TD width="80"&gt;Sales&lt;/TD&gt;&lt;TD width="150"&gt;Quota per customer&lt;/TD&gt;&lt;TD width="104"&gt;Quota per day&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;X&lt;/TD&gt;&lt;TD&gt;Targets&lt;/TD&gt;&lt;TD align="right"&gt;50&lt;/TD&gt;&lt;TD&gt;before&lt;/TD&gt;&lt;TD align="right"&gt;30&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;X&lt;/TD&gt;&lt;TD&gt;Control 1&lt;/TD&gt;&lt;TD align="right"&gt;25&lt;/TD&gt;&lt;TD&gt;campaign&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;X&lt;/TD&gt;&lt;TD&gt;Control 2&lt;/TD&gt;&lt;TD align="right"&gt;50&lt;/TD&gt;&lt;TD&gt;after&lt;/TD&gt;&lt;TD align="right"&gt;30&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;X&lt;/TD&gt;&lt;TD&gt;Control 3&lt;/TD&gt;&lt;TD align="right"&gt;75&lt;/TD&gt;&lt;TD&gt;long term effects&lt;/TD&gt;&lt;TD align="right"&gt;90&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;X&lt;/TD&gt;&lt;TD&gt;Control 4&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the quota per Customer/Days which could be then compared against eachother within a campaign and as well as overall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 08:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048062#M464211</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-02T08:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048063#M464212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you suggest is something we already do and now we want to go to the next level ... are the results of the targets significantly better then the control group or not. Which, I think, you would also want to do eventually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we can achieve this then we don't need any "classical" method were we would still calculate the Chi² manually &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As mentioned, we have dozens maybe a hundred campaigns in a year with the ambition to generate a lot more but smaller campaign. It is something I just can't do manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also we apply this method already in R and SAS. Now we want to see what QV can do and it would a shame if I had to calculate is manually in the script (which would be very difficult in the current model).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 16:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048063#M464212</guid>
      <dc:creator>kristof_j</dc:creator>
      <dc:date>2016-05-02T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048064#M464213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will need these classical method as a basis for your statistical analysis. Very probably I would create one or two scores (maybe a correlations between targets and control-groups and/or before/after-sales) on the mentioned quote-results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And on these score-level you could try to apply various statistically analysis. Whereby you might need to extend your datas with some "invented" campaigns (randomly created customer- and product-groups) which fill up your base of data to get a larger basement for a statistical evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside them I'm not sure if a statistical analyses is really helpful. Our experience is that while a campaign the sales for the pushed articles increase significantely but quite often they cannibalize only other products and the overall sales increase not very noticeable and if I then look on the extra cost for advertising, promoters and such things not many campaigns will be successful - from a pure financial point of view ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 07:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048064#M464213</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-03T07:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048065#M464214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to go into detail how we evaluate campaigns but this is how we do it in other tools for a few campaigns and we want to continue doing this with QV for all our campaigns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today most campaign leaders believe they have a positive impact. And I follow you completely that from financial point of view most campaigns won't be a success. And that's exactly what we want to communicate. We want them to experiment with smaller groups (A-B testing, control groups), determine which experiment was the best and then send out the whole bulk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But smaller test mean more evaluations which we won't do manually. Therefore we want to use some statistical analyses to do that job for us.&lt;/P&gt;&lt;P&gt;Today we use Chi² in R and SAS but in QV I can't get it to work with the data in my example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to use the Chi² with the data I gave or what do I need to do the get this working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 08:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048065#M464214</guid>
      <dc:creator>kristof_j</dc:creator>
      <dc:date>2016-05-09T08:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Chi square for campaign analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048066#M464215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look on the statistics chart wizard (menu extras) and a description will you find here on page 769: &lt;A href="http://semanticommunity.info/@api/deki/files/24990/QlikView_Reference_Manual.pdf" title="http://semanticommunity.info/@api/deki/files/24990/QlikView_Reference_Manual.pdf"&gt;http://semanticommunity.info/@api/deki/files/24990/QlikView_Reference_Manual.pdf&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From another community I have also the following informations which might be useful for you (here translated with google):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title="HI, "&gt;HI,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="danke für die Antworten."&gt;Thanks for the answers. &lt;/SPAN&gt;&lt;SPAN title="Vielleicht mal um etwas Licht in die Sache zu bringen. "&gt;Maybe time to bring some light on the matter.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Es gibt zwei wichtige Methoden der Bestimmung von Korrelationskoeffizienten: "&gt;There are two major methods of determination of correlation coefficients:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="1. Pearson-Korrelation "&gt;1. Pearson correlation&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="2. Spearmans Rangkorrelationskoeffizient "&gt;2. Spearman's rank correlation coefficient&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Wenn meine Vergleiche zwischen SPSS und Qlikview stimmen ist correl() die Pearson und rangecorrel() die Spearman -Korrelation (beide wohl einseitig)."&gt;If my comparisons agree between SPSS and QlikView correl () the Pearson and rangecorrel () the Spearman Correlation (both well-sided). &lt;/SPAN&gt;&lt;SPAN title="Leider schweigt sich das Handbuch darüber aus. "&gt;Unfortunately, the manual is silent from it.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Also erst mal gar nicht schlecht von Qlikview."&gt;So, at first not bad by QlikView. &lt;/SPAN&gt;&lt;SPAN title="Das Ergebnis ist zw. -1 und 1. "&gt;The result is btw. -1 And 1.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="1 heißt es besteht eine 100% Korrelation. "&gt;1 it says, there is a 100% correlation.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Und jetzt zum P-Wert: Dies ist ein Test der aussagt, ob diese Korrelation Zufall ist oder nicht."&gt;And now for the P-value: This is a test which tells us whether this correlation is random or not. &lt;/SPAN&gt;&lt;SPAN title="Also ein Zusatztest um sein Ergebnis zu überprüfen."&gt;So an additional test to check his result. &lt;/SPAN&gt;&lt;SPAN title="Wenn der Wert z.B."&gt;If the value as &lt;/SPAN&gt;&lt;SPAN title="&amp;lt; 5% ist geht man davon aus, dass die Korrelation kein Zufall ist."&gt;&amp;lt;5%, it is assumed that the correlation is not accidental. &lt;/SPAN&gt;&lt;SPAN title="Der Test ist etwas umstritten, aber immer noch Standard. "&gt;The test is somewhat controversial, but still standard.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Schade das QT den nicht gleich mit integiert hat."&gt;Too bad that QT has no equal with integiert. &lt;/SPAN&gt;&lt;SPAN title="In Excel geht das. in SPSS und R natürlich auch. "&gt;In Excel does that. In SPSS and R, of course.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="R Integration in Qlikview ist bestimmt reizvoll, aber wer R mal gesehen hat, weiß das das sehr Zeitaufwenig ist. "&gt;R integration into QlikView is designed sexy, but who has R views, know that is the very Zeitaufwenig.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Ich hatte gehofft jemand hatte mal das gleiche Problem und vielleicht schon eine Formel dafür."&gt;I was hoping someone had once the same problem and may already have a formula for it. &lt;/SPAN&gt;&lt;SPAN title="In der Community gibt es leider nix brauchbares "&gt;In the community there is unfortunately nothing useful&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="Ich erforsche gerade ca. 50-70 verschieden Varianten bei denen Qlikview mir immer prima die Korrelation anzeigt."&gt;I explore just about 50-70 different variants in which QlikView always fine me indicates the correlation. &lt;/SPAN&gt;&lt;SPAN title="Aber um den P-Wert zu gekommen muss ich dann immer die komplette Datenreihe exportieren und in SPSS importieren - ganz schön aufwenig. "&gt;But come to the P-value for I have to always export the complete data set and import it into SPSS - pretty aufwenig.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN title="LG Michael"&gt;LG Michael&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility might be to integrate R into qlikview: &lt;A href="https://community.qlik.com/docs/DOC-3981"&gt;QlikView and R Integration for Predictive Analytics Example&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 10:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chi-square-for-campaign-analyses/m-p/1048066#M464215</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-09T10:07:33Z</dc:date>
    </item>
  </channel>
</rss>

