<?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: DoE for Conditional Continuous factors in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953194#M110001</link>
    <description>&lt;P&gt;Thanks for the clarification.&lt;/P&gt;
&lt;P&gt;Yes, having three levels could be interesting, as you can evaluate the response difference between absence and presence of the factors, as well as estimating the change in the response between a low dose and high dose. Since you're using ordinal factor type, you may be in the perfect situation for the &lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/ordinal-factors.shtml" target="_self"&gt;default coding of these ordinal factors&lt;/A&gt;&amp;nbsp;: &lt;EM&gt;For ordinal factors, the first level of the factor is a control or baseline level, and the parameters measure the effect on the response as the ordinal factor is set to each succeeding level. The ordinal factor coding is appropriate for factors that contain levels that represent various doses, where the first dose is zero.&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Centering of polynomial terms is only done for &lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/continuous-factors.shtml#" target="_self"&gt;continuous factors&lt;/A&gt;, not discrete numeric ones.&lt;/P&gt;
&lt;P&gt;About the design you have generated, I would specify the estimability of quadratic effect to "Necessary" instead of "If Possible" done by default in JMP in order to have more runs at the middle level (corresponding to your lowest dose). For the same number of total runs (12), this option can increase the number of runs at level 15 (for X2) and level 30 (for X3) from 2 runs to 3 runs. If you want to enforce a balanced repartition of runs for each levels, (4 runs at each of the 3 levels for X2 and X3), you can create your design with categorical factor types, and then modify (once the design is generated and table is created) the factor type to numeric ordinal and add/modify the relevant column properties : Coding (with min and max levels), Design Role (Discrete Numeric) and Factor Changes.&lt;/P&gt;
&lt;P&gt;Hope this answer will clarify the modeling situation,&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2026 08:02:34 GMT</pubDate>
    <dc:creator>Victor_G</dc:creator>
    <dc:date>2026-06-11T08:02:34Z</dc:date>
    <item>
      <title>DoE for Conditional Continuous factors</title>
      <link>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/952891#M109966</link>
      <description>&lt;P&gt;I am trying to design an experiment where some factors are conditional, and I am not sure whether this can be handled properly using &lt;STRONG&gt;Custom Design&lt;/STRONG&gt; or whether the design should be constructed manually.&lt;/P&gt;
&lt;P&gt;I have one factor, &lt;STRONG&gt;X1&lt;/STRONG&gt;, with a reference condition at &lt;STRONG&gt;1&lt;/STRONG&gt;, which is also the maximum value. X1 can only be varied below this reference condition, but one case of interest is also keeping it at the reference value.&lt;/P&gt;
&lt;P&gt;For the other two factors, the structure is conditional:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;X2&lt;/STRONG&gt; can be either &lt;STRONG&gt;OFF&lt;/STRONG&gt; or &lt;STRONG&gt;ON&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If OFF, there is no level/intensity&lt;/LI&gt;
&lt;LI&gt;If ON, it has a continuous range&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;X3&lt;/STRONG&gt; can be either &lt;STRONG&gt;absent&lt;/STRONG&gt; or &lt;STRONG&gt;present&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If absent, there is no dosage/intensity&lt;/LI&gt;
&lt;LI&gt;If present, it has a continuous range&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So X2 and X3 are not simple continuous factors, because their continuous values only make sense when the corresponding factor is active/present.&lt;/P&gt;
&lt;P&gt;My objective is to understand:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The effect of X2 and/or X3 being present versus not present&lt;/LI&gt;
&lt;LI&gt;The effect of changing the level/intensity of X2 and/or X3 when they are active&lt;/LI&gt;
&lt;LI&gt;How these effects behave at different values of X1&lt;/LI&gt;
&lt;LI&gt;Whether there are interactions between X1, X2, and X3&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;One idea I am considering is to treat &lt;STRONG&gt;X2&lt;/STRONG&gt; and &lt;STRONG&gt;X3&lt;/STRONG&gt; as &lt;STRONG&gt;discrete numeric factors&lt;/STRONG&gt;, where &lt;U&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;represents OFF/absent and the non-zero values represent the active continuous range. For analysis, I would then avoid automatic coding/centering of polynomial terms so that the numeric levels are interpreted more directly.&lt;/P&gt;
&lt;P&gt;However, I understand that this approach has drawbacks. In particular, the jump from &lt;U&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;to the first non-zero level may combine two effects:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the effect of switching the factor ON/present&lt;/LI&gt;
&lt;LI&gt;the effect of moving to the lowest active intensity/dosage&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So it may not cleanly separate the &lt;STRONG&gt;activation/presence effect&lt;/STRONG&gt; from the &lt;STRONG&gt;intensity/dosage effect&lt;/STRONG&gt;. This could also make interaction terms harder to interpret, especially if X2 and X3 behave differently at different values of X1.&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;A second approach I am currently trying is to represent X2 and X3 using both a categorical activation factor and a discrete numeric level factor:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;one categorical &lt;STRONG&gt;OFF/ON&lt;/STRONG&gt; factor plus one discrete numeric level factor for X2&lt;/LI&gt;
&lt;LI&gt;one categorical &lt;STRONG&gt;absent/present&lt;/STRONG&gt; factor plus one discrete numeric level factor for X3&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
DOE(
    Custom Design,
    {
        Add Response( Maximize, "Y", ., ., . ),

        Add Factor( Continuous, -1, 1, "X1_Level", 0 ),

        Add Factor( Discrete Numeric, {0, 1, 2, 3}, "X2_Level", 0 ),
        Add Factor( Categorical, {"Off", "On"}, "X2_Status", 0 ),

        Add Factor( Discrete Numeric, {0, 1, 2, 3}, "X3_Level", 0 ),
        Add Factor( Categorical, {"Absent", "Present"}, "X3_Status", 0 ),

        Set Random Seed( 2055292721 ),
        Number of Starts( 4702 ),

        Add Term( {1, 0} ),
        Add Term( {1, 1} ),

        Add Term( {2, 1} ),
        Add Potential Term( {2, 2} ),
        Add Term( {3, 1} ),

        Add Term( {4, 1} ),
        Add Potential Term( {4, 2} ),
        Add Term( {5, 1} ),

        Add Term( {1, 1}, {2, 1} ),
        Add Term( {1, 1}, {4, 1} ),
        Add Term( {2, 1}, {4, 1} ),

        Set Sample Size( 12 ),

        Disallowed Combinations(
            ("X2_Status"n == "Off" &amp;amp; "X2_Level"n &amp;gt; 0) |
            ("X2_Status"n == "On" &amp;amp; "X2_Level"n == 0) |
            ("X3_Status"n == "Absent" &amp;amp; "X3_Level"n &amp;gt; 0) |
            ("X3_Status"n == "Present" &amp;amp; "X3_Level"n == 0)
        ),

        Simulate Responses( 0 ),
        Save X Matrix( 0 ),
        Make Design
    }
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV&gt;My concern is that the categorical status factor may be redundant, because the OFF/ON or absent/present status is already implied by the numeric level. I am therefore not sure whether this setup can truly separate the activation effect from the level/intensity effect, or whether it introduces collinearity/confounding that makes the model difficult to interpret.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;My questions are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is it statistically sensible to include both the status factor and the discrete numeric level factor?&lt;/LI&gt;
&lt;LI&gt;Can this setup meaningfully separate the activation effect from the level/intensity effect?&lt;/LI&gt;
&lt;LI&gt;Would it be better to use only the discrete numeric factors, with &lt;CODE&gt;0 = Off/Absent&lt;/CODE&gt; and &lt;CODE&gt;1–3 = active levels&lt;/CODE&gt;?&lt;/LI&gt;
&lt;LI&gt;Or is there a better way to handle this type of conditional factor structure in JMP Custom Design?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Jun 2026 08:33:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/952891#M109966</guid>
      <dc:creator>JunaidM</dc:creator>
      <dc:date>2026-06-09T08:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: DoE for Conditional Continuous factors</title>
      <link>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953172#M109999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/61479"&gt;@JunaidM&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The categorical factors are not necessary, since having X2 level at 0 already imply that this factor is "OFF" (same for X3). &lt;BR /&gt;So creating a design adding these factors will only create redundant information (and collinearity) during design generation (and &lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/singularity-details.shtml#ww998670" target="_blank" rel="noopener"&gt;Singularity Details&lt;/A&gt;&amp;nbsp;during modeling due to the linear dependancy between status and level factors). &lt;BR /&gt;In the design generation script you shared, you can see that due to this redundancy (and dependancy between X2 and X2 status), the factors Xi_Status have been removed from the model by JMP in design evaluation platform, leaving only the discrete numeric and numeric factors terms:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1781107351713.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/106228i05E0936DB992290A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1781107351713.png" alt="Victor_G_0-1781107351713.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I would stick with the more direct design generation option.&lt;/P&gt;
&lt;P&gt;What is your objective with this design ? Are you really interested into testing so many levels for X2 and X3 ? Could a screening/D-optimal design with 2 levels (one low: absence = 0 and one high for presence, for example 3) be sufficient for your needs ? Or 3 levels to analyze quadratic effects and avoid a simple absence/presence factor levels setting ?&lt;BR /&gt;If you really want to enforce these levels, you can still create your design with:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;X1 continuous factor (from -1 to 1)&lt;/LI&gt;
&lt;LI&gt;X2 discrete numeric with values 0, 1, 2 and 3,&amp;nbsp;or continuous with appropriate model terms to have sufficient number of levels. If you really want 4 levels to be tested, specifying the term X2 at the power of 5 will create 4 levels for this factor in the design. See&amp;nbsp;&lt;LI-MESSAGE title="force levels in DoE" uid="751854" url="https://community.jmp.com/t5/Discussions/force-levels-in-DoE/m-p/751854#U751854" 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;for more info.&lt;/LI&gt;
&lt;LI&gt;X3 discrete numeric&amp;nbsp;&amp;nbsp;with values 0, 1, 2 and 3,&amp;nbsp;or continuous with appropriate model terms to have sufficient number of levels.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you want to separate activation effect from level/intensity effect, you can still in the analysis evaluate what is the average response when X2 = 0 vs. average response when X2=1, 2 or 3, by averaging the response in these two conditions.&amp;nbsp;It's far easier to summarize an information in the analysis if you already have a more granular and detailed response, as you'll be able to provide the two types of analysis and results : macro and detailed view.&lt;/P&gt;
&lt;P&gt;Hope this answer will help you,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 16:18:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953172#M109999</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2026-06-10T16:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: DoE for Conditional Continuous factors</title>
      <link>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953179#M110000</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11568"&gt;@Victor_G&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the detailed response. This is very helpful.&lt;/P&gt;
&lt;P&gt;Just to clarify one point: in the script I shared, I had removed the &lt;STRONG&gt;&lt;CODE&gt;X2_Status&lt;/CODE&gt;&lt;/STRONG&gt; and &lt;CODE&gt;&lt;STRONG&gt;X3_Status&lt;/STRONG&gt;&lt;/CODE&gt; terms myself from the model terms because I was already concerned that they may be redundant. But your explanation confirms the concern more clearly: since &lt;STRONG&gt;&lt;CODE&gt;X2 = 0&lt;/CODE&gt; &lt;/STRONG&gt;already implies OFF and &lt;CODE&gt;&lt;STRONG&gt;X2 &amp;gt;&lt;/STRONG&gt; 0&lt;/CODE&gt; implies ON, adding a separate status factor would introduce redundant information and potential collinearity.&lt;/P&gt;
&lt;P&gt;So, if I understand correctly, the more direct approach (Option 1) does make sense.&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Based on your response, I am also thinking that three discrete numeric levels may be sufficient instead of four. For example, &lt;CODE&gt;0&lt;/CODE&gt;, lowest practical active level, and highest practical active level. This may be more appropriate because the distance between &lt;CODE&gt;0 → lowest active level&lt;/CODE&gt; and &lt;CODE&gt;lowest → highest active level&lt;/CODE&gt; is not the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Following your suggestion, this is the design structure I think makes more sense. I removed the separate categorical status factors and kept X2 and X3 as discrete numeric factors, where &lt;/SPAN&gt;&lt;CODE&gt;0&lt;/CODE&gt;&lt;SPAN&gt; represents the OFF/absent condition and the non-zero values represent active levels.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;The model includes main effects, a quadratic effect for X1, and selected two-factor interaction terms:&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, -1, 1, "X1", 0 ),
	Add Factor( Discrete Numeric, {0, 15, 30}, "X2", 0 ),
	Add Factor( Discrete Numeric, {0, 30, 45}, "X3", 0 ),
	Set Random Seed( 1139260218 ), Number of Starts( 71985 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Potential Term( {2, 2} ),
	Add Term( {3, 1} ), Add Potential Term( {3, 2} ), Add Term( {1, 2} ),
	Add Term( {1, 1}, {2, 1} ), Add Term( {1, 1}, {3, 1} ),
	Add Term( {2, 1}, {3, 1} ), Set Sample Size( 12 ), Simulate Responses( 0 ),
	Save X Matrix( 0 )}
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV&gt;One point I want to check is about model fitting and interpretation. Since &lt;CODE&gt;0&lt;/CODE&gt; for X2 and X3 represents a real OFF/absent condition, and not just a coded low level, I assume I should be careful with automatic coding or centering of polynomial terms. My concern is that centering may make the model coefficients harder to interpret in relation to the actual OFF/absent state. Would you recommend fitting these terms using the actual numeric values, or is there a better coding strategy for this type of factor?&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 17:41:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953179#M110000</guid>
      <dc:creator>JunaidM</dc:creator>
      <dc:date>2026-06-10T17:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: DoE for Conditional Continuous factors</title>
      <link>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953194#M110001</link>
      <description>&lt;P&gt;Thanks for the clarification.&lt;/P&gt;
&lt;P&gt;Yes, having three levels could be interesting, as you can evaluate the response difference between absence and presence of the factors, as well as estimating the change in the response between a low dose and high dose. Since you're using ordinal factor type, you may be in the perfect situation for the &lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/ordinal-factors.shtml" target="_self"&gt;default coding of these ordinal factors&lt;/A&gt;&amp;nbsp;: &lt;EM&gt;For ordinal factors, the first level of the factor is a control or baseline level, and the parameters measure the effect on the response as the ordinal factor is set to each succeeding level. The ordinal factor coding is appropriate for factors that contain levels that represent various doses, where the first dose is zero.&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Centering of polynomial terms is only done for &lt;A href="https://www.jmp.com/support/help/en/19.1/#page/jmp/continuous-factors.shtml#" target="_self"&gt;continuous factors&lt;/A&gt;, not discrete numeric ones.&lt;/P&gt;
&lt;P&gt;About the design you have generated, I would specify the estimability of quadratic effect to "Necessary" instead of "If Possible" done by default in JMP in order to have more runs at the middle level (corresponding to your lowest dose). For the same number of total runs (12), this option can increase the number of runs at level 15 (for X2) and level 30 (for X3) from 2 runs to 3 runs. If you want to enforce a balanced repartition of runs for each levels, (4 runs at each of the 3 levels for X2 and X3), you can create your design with categorical factor types, and then modify (once the design is generated and table is created) the factor type to numeric ordinal and add/modify the relevant column properties : Coding (with min and max levels), Design Role (Discrete Numeric) and Factor Changes.&lt;/P&gt;
&lt;P&gt;Hope this answer will clarify the modeling situation,&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 08:02:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/DoE-for-Conditional-Continuous-factors/m-p/953194#M110001</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2026-06-11T08:02:34Z</dc:date>
    </item>
  </channel>
</rss>

