<?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: How to analyse factorial design with an outcome having two types of variance? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/375581#M62545</link>
    <description>&lt;P&gt;Thank you very much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do understand that we can use logistic regression for binomial data. But what if we had a positive effect of A or B on purchased (Yes, No) and the outcome of interest was an average purchase amount per user. This outcome is different because this is a product of binary metric (Yes, No) and an average purchased amount of orders (with purchased = yes). We can have more success purchases, but low&amp;nbsp;&amp;nbsp;average purchased amount of orders, as a result we will get lower average purchase amount per user. In OFAT tests for this outcome we can use non-parametric &lt;EM&gt;Mann&lt;/EM&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;EM&gt;Whitney U Test. &lt;/EM&gt;But what about cases whet we want to do a regression analysis?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Apr 2021 19:06:27 GMT</pubDate>
    <dc:creator>gustavjung</dc:creator>
    <dc:date>2021-04-09T19:06:27Z</dc:date>
    <item>
      <title>How to analyse factorial design with an outcome having two types of variance?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/374974#M62470</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset from a 2-level factorial design with 2 factors.&lt;/P&gt;&lt;P&gt;The dataset contains purchase amount per each user.&lt;/P&gt;&lt;P&gt;Each row is a unique user. Purchase with 0 value means user didn't purchase. A and B are treatments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gustavjung_0-1617821120759.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31919iDD35737FBBDEAC26/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gustavjung_0-1617821120759.png" alt="gustavjung_0-1617821120759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate the effect of treatments A and B on&amp;nbsp;&amp;nbsp;average purchase per user (sum of purchase in USD divided by number of users).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I assume we need to account for two types of variance.&lt;/P&gt;&lt;P&gt;First – the variance of the purchase rate, that is, did the user order or not. Second – the variance in average purchase value.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you suggest the appropriate method to do such an analysis in JMP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:03:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/374974#M62470</guid>
      <dc:creator>gustavjung</dc:creator>
      <dc:date>2023-06-08T21:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to analyse factorial design with an outcome having two types of variance?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/375108#M62479</link>
      <description>&lt;P&gt;You only have 265 purchases out of 15,771 observations. OLS regression is inappropriate in this case. It fails miserably and the model assumptions are grossly violated. I transformed the purchase amount to a binary response Purchased = { no, yes } and then modeled it with logistic regression. The diagnostics look bad. The model never predicted Purchased = yes. I tried Poisson log-linear model and it worked, but demonstrated very little evidence for an effect of A or B.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attached your data table with my additions.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:29:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/375108#M62479</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-04-08T13:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to analyse factorial design with an outcome having two types of variance?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/375581#M62545</link>
      <description>&lt;P&gt;Thank you very much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do understand that we can use logistic regression for binomial data. But what if we had a positive effect of A or B on purchased (Yes, No) and the outcome of interest was an average purchase amount per user. This outcome is different because this is a product of binary metric (Yes, No) and an average purchased amount of orders (with purchased = yes). We can have more success purchases, but low&amp;nbsp;&amp;nbsp;average purchased amount of orders, as a result we will get lower average purchase amount per user. In OFAT tests for this outcome we can use non-parametric &lt;EM&gt;Mann&lt;/EM&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;EM&gt;Whitney U Test. &lt;/EM&gt;But what about cases whet we want to do a regression analysis?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 19:06:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-analyse-factorial-design-with-an-outcome-having-two-types/m-p/375581#M62545</guid>
      <dc:creator>gustavjung</dc:creator>
      <dc:date>2021-04-09T19:06:27Z</dc:date>
    </item>
  </channel>
</rss>

