<?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: Linear Constraint Breaking when Model Doesn't Include Parameter in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820399#M99895</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57329"&gt;@EndogenousCame1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I might have found a simple solution to help by mimicking your situation. I have the same problem when I try to use the Prediction Profiler and only 7 out of the 10 variables are in the Prediction formula/model :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1733242081098.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70809i6138C2CD20E9EA32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1733242081098.png" alt="Victor_G_1-1733242081098.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the trick: You can save the prediction formula of your response with 5 variables, and then modify manually this prediction formula to add other removed variables and give them a coefficient of 0 like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1733241973673.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70808iB2B1825AD9030875/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1733241973673.png" alt="Victor_G_0-1733241973673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Running the Prediction Profiler on this modified prediction formula should remove the warning message and lets you use it normally :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_2-1733242141423.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70810iD78150759FBC4EC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_2-1733242141423.png" alt="Victor_G_2-1733242141423.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is the sample dataset used to mimick your situation with the two prediction formula saved (original and modified).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answer will help you and solve your problem,&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 16:11:19 GMT</pubDate>
    <dc:creator>Victor_G</dc:creator>
    <dc:date>2024-12-03T16:11:19Z</dc:date>
    <item>
      <title>Linear Constraint Breaking when Model Doesn't Include Parameter</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820363#M99892</link>
      <description>&lt;P&gt;Currently I have 10 variables in my system and 2 responses. I also have a linear constraint placed that uses all 10 variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first response is a function of all 10 variables (everything is significant) but the 2nd response is just a function of 5/10 of the variables. When I use the prediction profiler for the 2nd response I get the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EndogenousCame1_0-1733239328073.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70807i05814691DD12CFC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EndogenousCame1_0-1733239328073.png" alt="EndogenousCame1_0-1733239328073.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume this is because I’m not using all 5 variables in the model for the 2nd response so it can’t load the constraint. Is there anyway to keep a constraint on 10 variables (because it’s needed for 1 response) but still have it work when 5/10 of the variables are used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cc:&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11788"&gt;@ChristianStopp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 15:24:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820363#M99892</guid>
      <dc:creator>EndogenousCame1</dc:creator>
      <dc:date>2024-12-03T15:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Constraint Breaking when Model Doesn't Include Parameter</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820395#M99894</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57329"&gt;@EndogenousCame1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way I can think that may work would be to&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;save the prediction formulas via the red triangle option&lt;/LI&gt;
&lt;LI&gt;modify the formula for the 2&lt;SUP&gt;nd&lt;/SUP&gt; response to include each of the removed terms but with a 0 for the weighting (i.e. parameter estimate), such as “ + 0 * :Factor6”.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;then use those formulas in the Profiler found under Graphs&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I tested this out on a very simple example (3 factors, 1 response, main effects only model, and a constraint including all 3 factors), getting the same error message you saw when I reduced a term from&amp;nbsp; my model.&amp;nbsp; When I moved to the stand alone Profiler after modifying the formula as described above, the profiler worked as I had expected so hopefully it still retains functionality in a more complex set up like yours.&amp;nbsp; If your model included more complex terms (interactions, quadratics), I expect adding the zero-weighted terms to replace those removed in model reduction would be needed too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've attached the simple example with 3 add'l scripts to reflect the full model w/ constraints shows the profiler working, another with the reduced model and broken profiler, and the standalone working profiler using the modified prediction formula including the zero weighting. hope that helps!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 15:51:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820395#M99894</guid>
      <dc:creator>ChristianStopp</dc:creator>
      <dc:date>2024-12-03T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linear Constraint Breaking when Model Doesn't Include Parameter</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820399#M99895</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57329"&gt;@EndogenousCame1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I might have found a simple solution to help by mimicking your situation. I have the same problem when I try to use the Prediction Profiler and only 7 out of the 10 variables are in the Prediction formula/model :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1733242081098.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70809i6138C2CD20E9EA32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1733242081098.png" alt="Victor_G_1-1733242081098.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the trick: You can save the prediction formula of your response with 5 variables, and then modify manually this prediction formula to add other removed variables and give them a coefficient of 0 like this :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1733241973673.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70808iB2B1825AD9030875/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1733241973673.png" alt="Victor_G_0-1733241973673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Running the Prediction Profiler on this modified prediction formula should remove the warning message and lets you use it normally :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_2-1733242141423.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70810iD78150759FBC4EC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_2-1733242141423.png" alt="Victor_G_2-1733242141423.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is the sample dataset used to mimick your situation with the two prediction formula saved (original and modified).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answer will help you and solve your problem,&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 16:11:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-Constraint-Breaking-when-Model-Doesn-t-Include-Parameter/m-p/820399#M99895</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2024-12-03T16:11:19Z</dc:date>
    </item>
  </channel>
</rss>

