<?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: Using disallowed combinations to remove a factor from the DoE in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817275#M99662</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47297"&gt;@PValueEnemy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your design constraint is very similar to previous post about this topic of disallowed combinations /nested factors.&lt;/P&gt;
&lt;P&gt;You can read the following posts :&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Disallowed Combinations not working" uid="780710" url="https://community.jmp.com/t5/Discussions/Disallowed-Combinations-not-working/m-p/780710#U780710" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Design of Experiment - Optional Mixture Additives" uid="782982" url="https://community.jmp.com/t5/Discussions/Design-of-Experiment-Optional-Mixture-Additives/m-p/782982#U782982" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Measurement plan (DoE) where factors can be present or absent. Interactions and concentrations are of interest." uid="801491" url="https://community.jmp.com/t5/Discussions/Measurement-plan-DoE-where-factors-can-be-present-or-absent/m-p/801491#U801491" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Nested DOE with continous factors?" uid="674509" url="https://community.jmp.com/t5/Discussions/Nested-DOE-with-continous-factors/m-p/674509#U674509" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be several solutions/workarounds for your situation :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Simply use/add a 0 level for factors B and C (you don't need a factor A for valve). B can become a 3-levels categorical factor (no water/hot/cold) and C could be discrete numeric with values 0, 5 and 7. If factors B is different from "no water" and C is different from 0, it means the valve is on. Perhaps you will have to use disallowed combinations or a candidate set approach to avoid combinations with B different from "no water" and C = 0 OR B = "no water" and C different from 0.&lt;BR /&gt;Example of such design with interaction and quadratic effect for C :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1732205578752.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70485i9EE526D093848951/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1732205578752.png" alt="Victor_G_0-1732205578752.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;P&gt;Disallowed combinations/Constraint :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;B == "No water" &amp;amp; C &amp;gt;= 0.1 | (B == "Hot" | B == "Cold") &amp;amp; C &amp;lt;= 0.1&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And script :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Categorical, {"No water", "Hot", "Cold"}, "B", 0 ),
	Add Factor( Discrete Numeric, {0, 5, 7}, "C", 0 ), Set Random Seed( 1774495 ),
	Number of Starts( 42311 ), Add Term( {1, 0} ), Add Term( {1, 1} ),
	Add Term( {2, 1} ), Add Potential Term( {2, 2} ), Add Term( {1, 1}, {2, 1} ),
	Set Sample Size( 18 ), Disallowed Combinations(
		B == "No water" &amp;amp; C &amp;gt;= 0.1 | (B == "Hot" | B == "Cold") &amp;amp; C &amp;lt;= 0.1
	), Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design}
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Use a candidate set approach, by creating a table with all possible combinations, and then remove impossible ones (implying valve is off and B OR C is different from 0/"no water", or valve is on and B = "no water" AND C = 0). Use this candidate set in the Custom design to directly create a design based on these covariate runs. This enable to force complex constraints naturally in the design without having to specify them. A specific care should however be adressed to the model so that the constraints are well incorporated in the model.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I think your factor A&amp;nbsp; may be redundant, as it is directly correlated to the values of factors B and C.&lt;/P&gt;
&lt;P&gt;Hope this first response will give you some ideas,&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 16:25:55 GMT</pubDate>
    <dc:creator>Victor_G</dc:creator>
    <dc:date>2024-11-21T16:25:55Z</dc:date>
    <item>
      <title>Using disallowed combinations to remove a factor from the DoE</title>
      <link>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817258#M99659</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I want to design an experiment to test the best setup in a machine where one of the factors define if I should test the other factors. Simplifying the problem, suppose the machine have a (A) water valve: on/off. If the water valve is on, then I want to test (B) hot/cold water and (C) flow rate between 5 and 7 mL/s. When the water valve is off, B and C does not make sense.&lt;/P&gt;&lt;P&gt;How should I design an experiment this way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary&lt;/P&gt;&lt;P&gt;1) If A = on, then test B and C&lt;/P&gt;&lt;P&gt;2) If A = off, then don't test B and C&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 15:47:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817258#M99659</guid>
      <dc:creator>PValueEnemy</dc:creator>
      <dc:date>2024-11-21T15:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using disallowed combinations to remove a factor from the DoE</title>
      <link>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817275#M99662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47297"&gt;@PValueEnemy&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your design constraint is very similar to previous post about this topic of disallowed combinations /nested factors.&lt;/P&gt;
&lt;P&gt;You can read the following posts :&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Disallowed Combinations not working" uid="780710" url="https://community.jmp.com/t5/Discussions/Disallowed-Combinations-not-working/m-p/780710#U780710" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Design of Experiment - Optional Mixture Additives" uid="782982" url="https://community.jmp.com/t5/Discussions/Design-of-Experiment-Optional-Mixture-Additives/m-p/782982#U782982" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Measurement plan (DoE) where factors can be present or absent. Interactions and concentrations are of interest." uid="801491" url="https://community.jmp.com/t5/Discussions/Measurement-plan-DoE-where-factors-can-be-present-or-absent/m-p/801491#U801491" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Nested DOE with continous factors?" uid="674509" url="https://community.jmp.com/t5/Discussions/Nested-DOE-with-continous-factors/m-p/674509#U674509" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be several solutions/workarounds for your situation :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Simply use/add a 0 level for factors B and C (you don't need a factor A for valve). B can become a 3-levels categorical factor (no water/hot/cold) and C could be discrete numeric with values 0, 5 and 7. If factors B is different from "no water" and C is different from 0, it means the valve is on. Perhaps you will have to use disallowed combinations or a candidate set approach to avoid combinations with B different from "no water" and C = 0 OR B = "no water" and C different from 0.&lt;BR /&gt;Example of such design with interaction and quadratic effect for C :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1732205578752.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70485i9EE526D093848951/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1732205578752.png" alt="Victor_G_0-1732205578752.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;P&gt;Disallowed combinations/Constraint :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;B == "No water" &amp;amp; C &amp;gt;= 0.1 | (B == "Hot" | B == "Cold") &amp;amp; C &amp;lt;= 0.1&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And script :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Categorical, {"No water", "Hot", "Cold"}, "B", 0 ),
	Add Factor( Discrete Numeric, {0, 5, 7}, "C", 0 ), Set Random Seed( 1774495 ),
	Number of Starts( 42311 ), Add Term( {1, 0} ), Add Term( {1, 1} ),
	Add Term( {2, 1} ), Add Potential Term( {2, 2} ), Add Term( {1, 1}, {2, 1} ),
	Set Sample Size( 18 ), Disallowed Combinations(
		B == "No water" &amp;amp; C &amp;gt;= 0.1 | (B == "Hot" | B == "Cold") &amp;amp; C &amp;lt;= 0.1
	), Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design}
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Use a candidate set approach, by creating a table with all possible combinations, and then remove impossible ones (implying valve is off and B OR C is different from 0/"no water", or valve is on and B = "no water" AND C = 0). Use this candidate set in the Custom design to directly create a design based on these covariate runs. This enable to force complex constraints naturally in the design without having to specify them. A specific care should however be adressed to the model so that the constraints are well incorporated in the model.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I think your factor A&amp;nbsp; may be redundant, as it is directly correlated to the values of factors B and C.&lt;/P&gt;
&lt;P&gt;Hope this first response will give you some ideas,&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 16:25:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817275#M99662</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2024-11-21T16:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using disallowed combinations to remove a factor from the DoE</title>
      <link>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817308#M99664</link>
      <description>&lt;P&gt;You are describing a nested deign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is some information about nesting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/18.1/?os=mac&amp;amp;source=application#page/jmp/statistical-details-for-variance-components.shtml" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/18.1/?os=mac&amp;amp;source=application#page/jmp/statistical-details-for-variance-components.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pmc.ncbi.nlm.nih.gov/articles/PMC9098003/" target="_blank" rel="noopener"&gt;https://pmc.ncbi.nlm.nih.gov/articles/PMC9098003/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Realize with nesting you do not get interactions, but you will get main effects.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 16:42:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-disallowed-combinations-to-remove-a-factor-from-the-DoE/m-p/817308#M99664</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2024-11-21T16:42:47Z</dc:date>
    </item>
  </channel>
</rss>

