<?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: Help with Disallowed Combinations for Categorical factors (JMP 15) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/581554#M78844</link>
    <description>&lt;P&gt;If you need to estimate this interaction effect, you need to &lt;SPAN&gt;test all possible combinations of levels for these two factors : Standing+Novice, Standing+Expert, Seated+Novice, Seated+Expert.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If an experiment is missing (in your case Seated+Expert), you can't estimate the interaction term in your model.&lt;BR /&gt;I joined a toy datatable to demonstrate this, if row 4 is hidden and excluded, then on the graph script, you'll not see the line between the two levels for factor D when Factor F is set on "Expert" level, so how can you know there is an interaction ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And in the model script, interaction effect is not estimable (there is a singularity in your model with the intercept), so once again, you won't have access to this interaction effect term.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this demo will be clear enough,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2022 17:17:53 GMT</pubDate>
    <dc:creator>Victor_G</dc:creator>
    <dc:date>2022-12-14T17:17:53Z</dc:date>
    <item>
      <title>Help with Disallowed Combinations for Categorical factors (JMP 15)</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/580724#M78764</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following factors and levels that I am trying to create a D-Optimal Design for:&lt;/P&gt;&lt;P&gt;Factor A - Categorical two level (Jolt, Triad)&lt;/P&gt;&lt;P&gt;Factor B&lt;SPAN&gt;&amp;nbsp;- Categorical two level (Blunt, Suction Cup)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Factor C&lt;SPAN&gt;&amp;nbsp;- Continuous&amp;nbsp; (10,25)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Factor D&lt;SPAN&gt;&amp;nbsp;- Categorical two level (Standing, Seated)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Factor E&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- Categorical three level (Stationary, Evading, Running)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Factor F&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- Categorical two level (Novice, Expert)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am attempting to create an example for students to use to teach them how to generate optimal designs with disallowed combinations. The disallowed combination I am trying to make is Factor D (Seated) and Factor F (Expert). I am also trying to build a design with main effects AND two-factor interactions. However, I keep getting the error message (Optimal designer failed to converge). I have tried everything I could in order to generate a design that converges with disallowed combinations between categorical factors to no avail. I have tried adding factors, adding more levels to these factors. I can however get the designer to converge when adding a disallowed combination between a categorical factor and continuous factor. The second I add in a disallowed combination between categorical factors the algorithm will not converge. Any help is appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:13:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/580724#M78764</guid>
      <dc:creator>FaceStatistics6</dc:creator>
      <dc:date>2023-06-08T21:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Disallowed Combinations for Categorical factors (JMP 15)</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/580863#M78780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/45832"&gt;@FaceStatistics6&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I reproduce the same settings and face similar error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem may be in your combination of disallowed combination and terms in your model : if you block the combination of "Seated" from Factor D (2-level categorical) with "Expert" from Factor F (2-level categorical), that means you can't estimate the interaction term of these two factors since a constraint is preventing you from testing all possible combinations of levels for these two factors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can either :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Remove the 2 factors interaction term "Factor D*Factor F" and use this script to generate the DoE table (or use the attached data table "Custom Design_Remove2FI"):&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Categorical, {"Jolt", "Triad"}, "Factor A", 0 ),
	Add Factor( Categorical, {"Blunt", "Suction Cup"}, "Factor B", 0 ),
	Add Factor( Categorical, {"Standing", "Seated"}, "Factor D", 0 ),
	Add Factor( Categorical, {"Novice", "Expert"}, "Factor F", 0 ),
	Add Factor( Continuous, 10, 25, "Factor C", 0 ),
	Add Factor( Categorical, {"Stationary", "Evading", "Running"}, "Factor E", 0 ),
	Set Random Seed( 80459262 ), Number of Starts( 2161 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
	Add Term( {5, 1} ), Add Term( {6, 1} ), Add Term( {1, 1}, {2, 1} ),
	Add Term( {1, 1}, {3, 1} ), Add Term( {1, 1}, {4, 1} ),
	Add Term( {1, 1}, {5, 1} ), Add Term( {1, 1}, {6, 1} ),
	Add Term( {2, 1}, {3, 1} ), Add Term( {2, 1}, {4, 1} ),
	Add Term( {2, 1}, {5, 1} ), Add Term( {2, 1}, {6, 1} ),
	Add Term( {3, 1}, {5, 1} ), Add Term( {3, 1}, {6, 1} ),
	Add Term( {4, 1}, {5, 1} ), Add Term( {4, 1}, {6, 1} ),
	Add Term( {5, 1}, {6, 1} ), Set Sample Size( 36 ),
	Disallowed Combinations( Factor D == "Seated" &amp;amp; Factor F == "Expert" ),
	Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design}
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Or set estimability of the 2 factors interaction&amp;nbsp;"Factor D*Factor F" as "If Possible" and use this script to generate the DoE table (or use the attached data table "Custom Design_IfPossible"):&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Categorical, {"Jolt", "Triad"}, "Factor A", 0 ),
	Add Factor( Categorical, {"Blunt", "Suction Cup"}, "Factor B", 0 ),
	Add Factor( Categorical, {"Standing", "Seated"}, "Factor D", 0 ),
	Add Factor( Categorical, {"Novice", "Expert"}, "Factor F", 0 ),
	Add Factor( Continuous, 10, 25, "Factor C", 0 ),
	Add Factor( Categorical, {"Stationary", "Evading", "Running"}, "Factor E", 0 ),
	Set Random Seed( 349202301 ), Number of Starts( 2106 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
	Add Term( {5, 1} ), Add Term( {6, 1} ), Add Term( {1, 1}, {2, 1} ),
	Add Term( {1, 1}, {3, 1} ), Add Term( {1, 1}, {4, 1} ),
	Add Term( {1, 1}, {5, 1} ), Add Term( {1, 1}, {6, 1} ),
	Add Term( {2, 1}, {3, 1} ), Add Term( {2, 1}, {4, 1} ),
	Add Term( {2, 1}, {5, 1} ), Add Term( {2, 1}, {6, 1} ),
	Add Term( {3, 1}, {5, 1} ), Add Term( {3, 1}, {6, 1} ),
	Add Term( {4, 1}, {5, 1} ), Add Term( {4, 1}, {6, 1} ),
	Add Term( {5, 1}, {6, 1} ), Add Potential Term( {3, 1}, {4, 1} ),
	Set Sample Size( 36 ), Disallowed Combinations(
		Factor D == "Seated" &amp;amp; Factor F == "Expert"
	), Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design}
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this answer will help you,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:26:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/580863#M78780</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2022-12-13T08:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Disallowed Combinations for Categorical factors (JMP 15)</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/581529#M78840</link>
      <description>&lt;P&gt;Lets say however, that I NEED to estimate the effects of factor D and factor F for the combinations that are allowed to exist. Ex. Factor D Standing - Factor F Novice and Factor D Seated - Factor F Novice. If a set to if possible, then I am potnetially creating a design that will not allow me to include this interaction in the analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 16:34:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/581529#M78840</guid>
      <dc:creator>FaceStatistics6</dc:creator>
      <dc:date>2022-12-14T16:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Disallowed Combinations for Categorical factors (JMP 15)</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/581554#M78844</link>
      <description>&lt;P&gt;If you need to estimate this interaction effect, you need to &lt;SPAN&gt;test all possible combinations of levels for these two factors : Standing+Novice, Standing+Expert, Seated+Novice, Seated+Expert.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If an experiment is missing (in your case Seated+Expert), you can't estimate the interaction term in your model.&lt;BR /&gt;I joined a toy datatable to demonstrate this, if row 4 is hidden and excluded, then on the graph script, you'll not see the line between the two levels for factor D when Factor F is set on "Expert" level, so how can you know there is an interaction ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And in the model script, interaction effect is not estimable (there is a singularity in your model with the intercept), so once again, you won't have access to this interaction effect term.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this demo will be clear enough,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 17:17:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-Disallowed-Combinations-for-Categorical-factors-JMP-15/m-p/581554#M78844</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2022-12-14T17:17:53Z</dc:date>
    </item>
  </channel>
</rss>

