<?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: Extracting many linear regression fits (including confidence intervals) without using scripting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/878382#M104127</link>
    <description>&lt;P&gt;This is the most useful post i have ever come across!! Wow what a help!&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 14:15:47 GMT</pubDate>
    <dc:creator>ezorlo</dc:creator>
    <dc:date>2025-06-05T14:15:47Z</dc:date>
    <item>
      <title>Extracting many linear regression fits (including confidence intervals) without using scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/285031#M55021</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a way to easily obtain the slope of a regression fit and its 90 or 95% confidence intervals, without using JSL/scripting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current experimental design looks a bit like this:&lt;BR /&gt;outcome measure (4 different measures, on the same y-axis/scale, let's call them concentration 1-4)&lt;/P&gt;&lt;P&gt;x-axis measure: time in days&lt;/P&gt;&lt;P&gt;grouped by:&lt;/P&gt;&lt;P&gt;production type (2 factors)&lt;/P&gt;&lt;P&gt;temperature (2 factors)&lt;/P&gt;&lt;P&gt;production site (2 factors)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In total I thus need 32 different regression fits (4 outcome measures per&amp;nbsp; unique group factor combinations, with 8 unique group factor combinations&lt;SPAN style="font-family: inherit;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Using graph builder I can easily make graphs with have 8 subgraphs, 1 per unique combination, and in each subgraph the 4 different outcome measures.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Using graph builder I can also easily make the linear regression appear and get the formula for the regression, which has the slope of the curve.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Is there a way to also get the confidence interval from this slope in graph builder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Alternatively I tried to use the "Analysis-&amp;gt;Fit Y by X"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;This analysis does fit the data and gives me both the slope and confidence interval limits.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;But to get these I need to manually select the "fit line" option and then also add the upper and lower limits of the confidence interval to the table, for each and every unique combination and outcome measurement (so a total of 32 times).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;This feels like I am doing something quite inefficient.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;As I need to to do this a lot more in the future, I'd like to know if this is the best method to do this, or that I am overlooking something.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally I would get a table with the slope of the line of fit together with the confidence limits for each of my combinations so that I can plot the slopes together with the confidence interval.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:19:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/285031#M55021</guid>
      <dc:creator>PedeGe</dc:creator>
      <dc:date>2023-06-09T00:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting many linear regression fits (including confidence intervals) without using scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/285057#M55024</link>
      <description>&lt;P&gt;I think there are two shortcuts that will help you significantly with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/red-triangle-options-in-a-report.shtml" target="_self"&gt;Ctrl/Cmd key will broadcast options from the red triangle&lt;/A&gt; menus across a report. So, you can use Fit Y by X with your four responses in the Y, time in X and By your three other columns (production type,&amp;nbsp;temperature,&amp;nbsp;production site).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then hold down the Ctrl (Windows) or Cmd (Mac) key as you choose Fit Line on any one of the resulting analysis and you'll add the Fit Line across all of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example with Big Class:&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="BroadcastCommands.gif" style="width: 603px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26150iA9390FB6F252A8C5/image-dimensions/603x339?v=v2" width="603" height="339" role="button" title="BroadcastCommands.gif" alt="BroadcastCommands.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, for any table in a report window you can right click and choose &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/reformat-report-tables.shtml#ww477459" target="_self"&gt;&lt;STRONG&gt;Make into Data Table &lt;/STRONG&gt;&lt;/A&gt;to create a data table out of the report table,&amp;nbsp;or &lt;STRONG&gt;&lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/reformat-report-tables.shtml#ww477473" target="_self"&gt;Make Combined Data Table&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;to make a data table from all similar tables in the window.&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="MakeCombinedDataTable.gif" style="width: 604px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26151i944B8C1E73F8C018/image-dimensions/604x340?v=v2" width="604" height="340" role="button" title="MakeCombinedDataTable.gif" alt="MakeCombinedDataTable.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let us know if you need further help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:50:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/285057#M55024</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2020-08-10T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting many linear regression fits (including confidence intervals) without using scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/285070#M55026</link>
      <description>Thanks a lot!&lt;BR /&gt;Doing it one by one felt like I was doing it wrong, and I was right!&lt;BR /&gt;Using ctrl whilst doing the line fit and adding the upper and lower limits to the table significantly sped things up!&lt;BR /&gt;The combined table also is a really nice feature that I already discovered today.</description>
      <pubDate>Mon, 10 Aug 2020 14:14:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/285070#M55026</guid>
      <dc:creator>PedeGe</dc:creator>
      <dc:date>2020-08-10T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting many linear regression fits (including confidence intervals) without using scripting</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/878382#M104127</link>
      <description>&lt;P&gt;This is the most useful post i have ever come across!! Wow what a help!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 14:15:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-many-linear-regression-fits-including-confidence/m-p/878382#M104127</guid>
      <dc:creator>ezorlo</dc:creator>
      <dc:date>2025-06-05T14:15:47Z</dc:date>
    </item>
  </channel>
</rss>

