<?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: Singularity problems with crossed categorical factors in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286138#M55248</link>
    <description>&lt;P&gt;You can cross X1*X2 (nested under Z)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Y = intercept + a*Z + b*Z*X1 + c*Z*X2 + d*Z*X1*X2&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 14:09:19 GMT</pubDate>
    <dc:creator>MathStatChem</dc:creator>
    <dc:date>2020-08-17T14:09:19Z</dc:date>
    <item>
      <title>Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285962#M55191</link>
      <description>&lt;P&gt;I have 2 categorical factors. The first is type of covering material, with 2 types available. Since it is also possible to use no covering material, this factor has 3 levels. The second factor is the method to apply these materials and has 2 levels (without overlap or with overlap). I am interested in fitting a model with the main effects and the interaction. When I try it to run this way (Table script "Test 1") the report indicates a singularity. So far no surprise, the model would require 6 parameters but the X matrix only allows 5. The problem is that the reports such as effect summary or interaction profiler don't work.&lt;/P&gt;&lt;P&gt;I tried several approaches to deal with the situation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;removing the entries in method where type == "None" ("Test 2"). This way these rows are ignored when the model is fitted.&lt;/LI&gt;&lt;LI&gt;crossing type and method manually ("Test 3")&lt;/LI&gt;&lt;LI&gt;nesting method into type ("Test 4")&lt;/LI&gt;&lt;LI&gt;manually encoding the levels into numeric columns ("Test 5")&lt;/LI&gt;&lt;LI&gt;manually encoding the levels into categorical columns ("Test 6"). This does not do anything.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Tests 1, 3, 4, 5 are basically different ways to formulate the same model and yield the same R², F-ratio or prediction intervals. However they are all not really satisfying concerning visualizing and testing the main effects and interactions.&lt;/P&gt;&lt;P&gt;What is the correct way or at least a reasonable way of dealing with this situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS searching with google I only found this which is not really helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stats.stackexchange.com/questions/388206/constructing-3-way-anova-when-design-is-not-fully-factorial" target="_blank" rel="noopener"&gt;https://stats.stackexchange.com/questions/388206/constructing-3-way-anova-when-design-is-not-fully-factorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;dk&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:20:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285962#M55191</guid>
      <dc:creator>dk</dc:creator>
      <dc:date>2023-06-09T00:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285978#M55197</link>
      <description>&lt;P&gt;The singularity in this case indicates that you do not have all the right observations to estimate all the effects. You might try to design an experiment for these factors and desired model to see which runs are necessary. The minimum number of runs are sufficient for this purpose. Your data lacks some combinations of levels. You only observed Type = None with Method = Method A, so you cannot estimate the interaction effect.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:57:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285978#M55197</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-08-14T13:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285981#M55199</link>
      <description>&lt;P&gt;I am confused by "&lt;SPAN&gt;The problem is that the reports such as effect summary or interaction profiler don't work.". &amp;nbsp;What do you mean by don't work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The issue with your data is that it is not balanced. &amp;nbsp;The instance&amp;nbsp;where Type=None has no Method associated with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you simply want to graph the data, Graph Builder is quite useful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Graph Builder.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26237i703F2C5EB0D6EA0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Graph Builder.png" alt="Graph Builder.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 14:09:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285981#M55199</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2020-08-14T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285993#M55201</link>
      <description>&lt;P&gt;One issue is that you have nested factors (I think), so you shouldn't be looking at all the two-way interactions.&lt;/P&gt;&lt;P&gt;Factor 1:&amp;nbsp; Do you use a material or not?&amp;nbsp; (Z)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Nested Factor 2:&amp;nbsp; If you used a material, what type of material (X1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Nested Factor 3:&amp;nbsp; If you used a material, what method did you use to apply the material? (X2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code Z as a continuous variable, Z=0 if no material is used, Z=1 if a material is used&lt;/P&gt;&lt;P&gt;then an appropriate model to fit would be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Y = intercept + a*Z + b*Z*X1 + c*Z*X2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so you are only look at the affect of "use a material" and the interaction of "use a material" with the material type and the method used.&lt;/P&gt;&lt;P&gt;A recent good reference that describes this model and how to generate experimental designs for this situation can be found here&amp;nbsp;&amp;nbsp;&lt;A href="https://doi.org/10.1080/00401706.2018.1562986" target="_blank"&gt;https://doi.org/10.1080/00401706.2018.1562986&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 14:22:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/285993#M55201</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2020-08-14T14:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286132#M55244</link>
      <description>&lt;P&gt;Thank you so far. This sounds very reasonable. Is it possible (and if it is, how) to additionally cross the nested effects X1 and X2?&lt;/P&gt;&lt;P&gt;It will take some time for me to look at your link in more detail.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 13:01:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286132#M55244</guid>
      <dc:creator>dk</dc:creator>
      <dc:date>2020-08-17T13:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286133#M55245</link>
      <description>&lt;P&gt;Thank you so far. This is an extraction from a larger DOE. To set up the DOE I used the approach from test 3 (manually crossing type and method). This way in the full table I have all possible factor combinations realized. I would like significance tests for the main effects and the 1st order interactions. However with the approaches I tried this is not possible. Eg in test 3 (manually crossing type and method) I cannot separate out the contribution of method alone.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 13:02:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286133#M55245</guid>
      <dc:creator>dk</dc:creator>
      <dc:date>2020-08-17T13:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286135#M55246</link>
      <description>&lt;P&gt;Thank you so far. Since with Type = None I cannot distinguish between the methods I cannot estimate the interaction effect. Ie from the 6 parameters in the model only 5 are independent so that 5 are biased and one is zeroed. In my understanding it would make sense to have this Type[None] x Method interaction term zeroed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dk_0-1597669359466.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26246i59A72585842EFB5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dk_0-1597669359466.png" alt="dk_0-1597669359466.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately by default the other one gets zeroed. Do you know how to tell the software which term to set to 0?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 13:02:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286135#M55246</guid>
      <dc:creator>dk</dc:creator>
      <dc:date>2020-08-17T13:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286138#M55248</link>
      <description>&lt;P&gt;You can cross X1*X2 (nested under Z)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Y = intercept + a*Z + b*Z*X1 + c*Z*X2 + d*Z*X1*X2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:09:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286138#M55248</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2020-08-17T14:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286149#M55250</link>
      <description>&lt;P&gt;Also, when you fit the model with JMP, make sure to turn off the "Center Polynomials" option in the Fit Model dialog, otherwise you won't get the correct model fit.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:22:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286149#M55250</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2020-08-17T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Singularity problems with crossed categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286931#M55377</link>
      <description>&lt;P&gt;Thank you, that is exactly what I need. You can close this thread if you like.&lt;/P&gt;&lt;P&gt;I have just one small remark: I did not see a difference with center polynomials turned on or off.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:46:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Singularity-problems-with-crossed-categorical-factors/m-p/286931#M55377</guid>
      <dc:creator>dk</dc:creator>
      <dc:date>2020-08-20T08:46:14Z</dc:date>
    </item>
  </channel>
</rss>

