<?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: How to draw a multivariate linear regression graph with multiple lines based on selected variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904054#M106287</link>
    <description>&lt;P&gt;I personallly use fit model tab, and if I only use 2 variables as model effect, it will produce multiple lines. In the condition, if I add cross effect (interaction), it only produce parallel lines, obviously not I want. If I do not add cross effect, it will produce the line I want. However, I still don't know how to add multiple lines with more than 3 variables. Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2025 01:48:03 GMT</pubDate>
    <dc:creator>Ling-Zecheng</dc:creator>
    <dc:date>2025-09-26T01:48:03Z</dc:date>
    <item>
      <title>How to draw a multivariate linear regression graph with multiple lines based on selected variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/903244#M106222</link>
      <description>I wan to draw a graph like the first pic, but when I have 3 variables in a new model, my graph looked like the second one. How do I draw multiple lines?</description>
      <pubDate>Wed, 24 Sep 2025 06:59:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/903244#M106222</guid>
      <dc:creator>Ling-Zecheng</dc:creator>
      <dc:date>2025-09-24T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a multivariate linear regression graph with multiple lines based on selected variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/903306#M106231</link>
      <description>&lt;P&gt;Currently, I guess you probably have a category column in the "Color" role, to give your datapoints three different colors. But they are still treated as the same dataset, so only one trend line is shown.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of using the "Color" role, drag that category variable to the "Overlay" role. That should give three sets of points, and three trend lines.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More info:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/graph-zones.shtml?os=win&amp;amp;source=application#ww138447" target="_blank"&gt;Graph Zones&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 10:09:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/903306#M106231</guid>
      <dc:creator>christian-z</dc:creator>
      <dc:date>2025-09-24T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a multivariate linear regression graph with multiple lines based on selected variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/903918#M106268</link>
      <description>&lt;P&gt;Hey, so there is a lot to guess about in this question.&lt;/P&gt;
&lt;P&gt;What platform are you using? &amp;nbsp;Fit Y by X?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;look for this option&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Byron_JMP_0-1758810645415.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83493i539F64A9EE2B5C3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Byron_JMP_0-1758810645415.png" alt="Byron_JMP_0-1758810645415.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 14:30:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/903918#M106268</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2025-09-25T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a multivariate linear regression graph with multiple lines based on selected variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904054#M106287</link>
      <description>&lt;P&gt;I personallly use fit model tab, and if I only use 2 variables as model effect, it will produce multiple lines. In the condition, if I add cross effect (interaction), it only produce parallel lines, obviously not I want. If I do not add cross effect, it will produce the line I want. However, I still don't know how to add multiple lines with more than 3 variables. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 01:48:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904054#M106287</guid>
      <dc:creator>Ling-Zecheng</dc:creator>
      <dc:date>2025-09-26T01:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a multivariate linear regression graph with multiple lines based on selected variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904082#M106290</link>
      <description>&lt;P&gt;This information helped a lot to identify the location of the issue : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems that you want to see a regression (actually: multiple, like in the graph on the left) - and you wonder why you don't see them in the plot on the right. The plot on the right is something different - please note that the "same" values are on the x and y axis: It compares Y values with Y values -&amp;nbsp; the predicted values with the actual "y' values (actual vs. predicted plot).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758869030760.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83558i6A4F561546FB527D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1758869030760.png" alt="hogi_0-1758869030760.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a &lt;U&gt;regression&lt;/U&gt;, one puts a an effect on the x axis and the actual values on the y axis. Then one can add the model fit and compare the regression with the actual values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To see multiple fit curves in Fit Model, together with the raw values, you can use the prediction profiler and activate "raw values" and Interactions, as it is explained in&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;&lt;LI-MESSAGE title="Prediction Profiler enhancements in JMP® 18" uid="718342" url="https://community.jmp.com/t5/JMPer-Cable/Prediction-Profiler-enhancements-in-JMP-18/m-p/718342#U718342" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe going beyond what is needed here:&lt;BR /&gt;If there are multiple effects, &lt;U&gt;and there are interactions&lt;/U&gt; [the influence of one effect changes depending on the setting of another effect], it's not enough to look at a static graph with a set of fit lines.There is a complicated interplay between the effect. This can be visualized in different ways:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;best:&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;Prediction Profiler&lt;/U&gt;&lt;BR /&gt;&lt;/STRONG&gt;the user can choose specific settings for every effect and check the influence on the fit result.&lt;BR /&gt;it is cool, it is interactive. But sometimes the user wants to see the interactions in a static plot.&lt;BR /&gt;Therefore, in JMP18, Prediction Profiler got the above mentioned enhancements ...&lt;BR /&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6380133106112w682h282r837" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6380133106112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6380133106112w682h282r837');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6380133106112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/LI&gt;
&lt;LI&gt;they came from:&lt;STRONG&gt; Interaction Plot&lt;/STRONG&gt;&lt;BR /&gt;the idea: plot several curves that illustrate the interaction caused by variations of the other effect. Display the interplay in a Matrix.&lt;BR /&gt;Surprisingly, there is no universal definition how the curves are created (based on the fit or based on the input values). Therefore the curves in interaction plots can look completely different depending which software is used: JMP, Minitab, Cornerstone, JMP)&lt;BR /&gt;&amp;nbsp;&lt;LI-MESSAGE title="Creating two factor interaction plot (without the full matrix profile)" uid="665137" url="https://community.jmp.com/t5/Discussions/Creating-two-factor-interaction-plot-without-the-full-matrix/m-p/665137#U665137" 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;BR /&gt;&lt;BR /&gt;This is how an Interaction Plot looks in JMP:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1758869285495.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83561i5A26BDA0D1773867/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1758869285495.png" alt="hogi_2-1758869285495.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;As mentioned above, in Prediction Profile&amp;nbsp; - in addition to the interactions, you can now add raw data points to the plot.&lt;BR /&gt;One disadvantage compared to the plot you showed is that one only sees a small subset of the data points, specifically: those belonging to the current settings of the effects. [to be able to compare the fit with the data]&lt;BR /&gt;&lt;BR /&gt;There is a third plot type which tries to fix this issue. It corrects the position of the data points by adjusting the y values according to the fitted interactions:&lt;BR /&gt;&lt;STRONG&gt;Adjusted Response Graph&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; (&lt;A href="https://www.google.com/search?q=adjusted+response+graph+" target="_blank" rel="noopener"&gt;https://www.google.com/search?q=adjusted+response+graph+&lt;/A&gt; )&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1758870142632.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83565iCF681681237BDC71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1758870142632.png" alt="hogi_0-1758870142632.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This plot type is not available in JMP, to get such a plot please use other programs like Matlab or Cornerstone.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Sep 2025 07:04:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904082#M106290</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-26T07:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to draw a multivariate linear regression graph with multiple lines based on selected variable</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904103#M106291</link>
      <description>&lt;P&gt;In your explanation you say there are "3 variable in the model" - in the plot on the left, you show 3 regression lines which hints towards: 1 continuos variable and 1 discrete variable (with 3 levels).&lt;BR /&gt;&lt;BR /&gt;If you have some time ...&lt;BR /&gt;It will help us when you go to the samples data folder and pick a data set that is close in structure to your actual data set.&lt;BR /&gt;Then we can look at your settings in the fit model platform and suggest which plot type is most suitable ...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1758873298257.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/83567iC5798089537C6B93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1758873298257.png" alt="hogi_1-1758873298257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 07:55:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-draw-a-multivariate-linear-regression-graph-with-multiple/m-p/904103#M106291</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-09-26T07:55:06Z</dc:date>
    </item>
  </channel>
</rss>

