<?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 How to specify replications in 2-way anova? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562349#M77537</link>
    <description>&lt;P&gt;I come from Google Sheets, using the &lt;STRONG&gt;XLMiner Analysis Toolpak&lt;/STRONG&gt; add-on. The results I get from using its 2-way anova WITH replication is different from the results I get from JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In JMP, I click "Fit Model", entering the response variable, and selecting both factors before clicking the "full factorial" macro. In XLMiner, I simply enter the data range as input and specify 30 replications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 independent ordinal variables,&amp;nbsp;&lt;STRONG&gt;demand&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;penetration&lt;/STRONG&gt;, with 3 and 5 levels, respectively. Thus, I have 15 samples. Each sample is run 30 times, totally 450 rows in my data set. The repetitions are tracked with column titled&amp;nbsp;&lt;STRONG&gt;run&lt;/STRONG&gt;, which ranges from 0-29. I wish to analyze the effects of these 2 factors on the independent variable,&amp;nbsp;&lt;STRONG&gt;travel time&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see the option to specify the number of rows per sample when creating a 2-way ANOVA. I don't know if this is a silly question, but do I need to specify the repetitions, is this done automatically, or do I have to transform my data table somehow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's the latter, I would truly appreciate clear instructions on how to transform my data structure. Currently, there are 4 named columns:&amp;nbsp;&lt;STRONG&gt;demand&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;penetration&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;travel time&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;run&lt;/STRONG&gt;, where each row represents a single independent measurement.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:56:16 GMT</pubDate>
    <dc:creator>DevonFazekas</dc:creator>
    <dc:date>2023-06-10T23:56:16Z</dc:date>
    <item>
      <title>How to specify replications in 2-way anova?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562349#M77537</link>
      <description>&lt;P&gt;I come from Google Sheets, using the &lt;STRONG&gt;XLMiner Analysis Toolpak&lt;/STRONG&gt; add-on. The results I get from using its 2-way anova WITH replication is different from the results I get from JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In JMP, I click "Fit Model", entering the response variable, and selecting both factors before clicking the "full factorial" macro. In XLMiner, I simply enter the data range as input and specify 30 replications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 independent ordinal variables,&amp;nbsp;&lt;STRONG&gt;demand&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;penetration&lt;/STRONG&gt;, with 3 and 5 levels, respectively. Thus, I have 15 samples. Each sample is run 30 times, totally 450 rows in my data set. The repetitions are tracked with column titled&amp;nbsp;&lt;STRONG&gt;run&lt;/STRONG&gt;, which ranges from 0-29. I wish to analyze the effects of these 2 factors on the independent variable,&amp;nbsp;&lt;STRONG&gt;travel time&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see the option to specify the number of rows per sample when creating a 2-way ANOVA. I don't know if this is a silly question, but do I need to specify the repetitions, is this done automatically, or do I have to transform my data table somehow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's the latter, I would truly appreciate clear instructions on how to transform my data structure. Currently, there are 4 named columns:&amp;nbsp;&lt;STRONG&gt;demand&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;penetration&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;travel time&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;run&lt;/STRONG&gt;, where each row represents a single independent measurement.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:56:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562349#M77537</guid>
      <dc:creator>DevonFazekas</dc:creator>
      <dc:date>2023-06-10T23:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify replications in 2-way anova?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562453#M77543</link>
      <description>&lt;P&gt;You do not need to specify the replicates. They are automatically used to estimate the error variance under the assumptions of linear regression. Do not include Run as a term in your model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share a picture of the JMP Fit Least Squares window and a picture of the XLMiner Analysis Toolpak worksheet for comparison? I do not know what XLMiner means by "2-way ANOVA with replication." You cannot perform an ANOVA without replication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Terminology:&lt;/P&gt;
&lt;P&gt;You have 15 treatments. You observe each treatment 30 times and have 450 runs or observations.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 13:08:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562453#M77543</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-31T13:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify replications in 2-way anova?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562507#M77547</link>
      <description>&lt;P&gt;As you can see, the&amp;nbsp;&lt;STRONG&gt;penetration&lt;/STRONG&gt; factor is considered insignificant in JMP, and significant in XLMiner, with p-values of 0.71 and 0.048, respectively.&lt;BR /&gt;It's the same data in both tools, but I had to reshape the Google Sheets version to look like a matrix, with the first row as&amp;nbsp;&lt;STRONG&gt;demand&lt;/STRONG&gt; and the first column as&amp;nbsp;&lt;STRONG&gt;penetration&lt;/STRONG&gt;, and all the inner values as&amp;nbsp;&lt;STRONG&gt;travel time&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DevonFazekas_3-1667226067339.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46756i1D4F81D43759A0F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DevonFazekas_3-1667226067339.png" alt="DevonFazekas_3-1667226067339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DevonFazekas_0-1667224175365.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46752iF6158B91FB3F6D1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DevonFazekas_0-1667224175365.png" alt="DevonFazekas_0-1667224175365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DevonFazekas_1-1667224549568.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46753i247EB3167644330D/image-size/large?v=v2&amp;amp;px=999" role="button" title="DevonFazekas_1-1667224549568.png" alt="DevonFazekas_1-1667224549568.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DevonFazekas_2-1667225573738.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46754i686D580B9E3DB162/image-size/large?v=v2&amp;amp;px=999" role="button" title="DevonFazekas_2-1667225573738.png" alt="DevonFazekas_2-1667225573738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:25:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562507#M77547</guid>
      <dc:creator>DevonFazekas</dc:creator>
      <dc:date>2022-10-31T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify replications in 2-way anova?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562513#M77548</link>
      <description>&lt;P&gt;Welcome to the community. &amp;nbsp;Without a better understanding of the study and what the response variable is, I only have a small bit of input for you. I have the following thoughts/questions:&lt;/P&gt;
&lt;P&gt;1. Why are the "factors" ordinal? &amp;nbsp;Ordinal:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/?os=mac&amp;amp;source=application#page/jmp/ordinal-factors.shtml" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/17.0/?os=mac&amp;amp;source=application#page/jmp/ordinal-factors.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I can't tell if the data table is set-up correctly and don't know how it was setup in XLMiner, other than the factor names are different?&lt;/P&gt;
&lt;P&gt;3. Looking at the JMP output, the residuals indicate a problem with your model. &amp;nbsp;It appears as though you may have two different error distributions (like something changed part way through your study). &amp;nbsp;The model is only explaining ~10% of the variation in the study.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 19:39:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562513#M77548</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2022-10-31T19:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify replications in 2-way anova?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562538#M77550</link>
      <description>&lt;P&gt;I also want to point out the cloud of data above the rest in the residual plot and the leverage plots. I also suggest examining the data in the JMP data table to be sure that it was copied over from Excel correctly. At the moment, the additional variable seen in the residual plot would be enough to make the fixed effects appear insignificant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also agree that Penetration should be treated quantitatively as a continuous factor. Even with the data issue, it appears roughly linear, so you would only need two or three levels, reducing your run burden.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 15:56:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-specify-replications-in-2-way-anova/m-p/562538#M77550</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-31T15:56:37Z</dc:date>
    </item>
  </channel>
</rss>

