<?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: Getting  pooiiunt of signigficant divergence from Least squares compare slopes JMP® Pro 16.2.0 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/612522#M81263</link>
    <description>&lt;P&gt;Thank you Georg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for the long delay, I have long covid and could not face this stats question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, this is way over my head. Its many years since I had to write my own stats routines. I am not sure I understand what this one does or indeed where it picks up the data in the first place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 14:18:54 GMT</pubDate>
    <dc:creator>Grumpybaldprof</dc:creator>
    <dc:date>2023-03-15T14:18:54Z</dc:date>
    <item>
      <title>Getting point of significant divergence from Least squares compare slopes JMP® Pro 16.2.0</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/525239#M74971</link>
      <description>&lt;P&gt;I would like to know at which x value 2 slopes significantly diverge when using least squares to fit data with 2 categorical groups, x being continuous as is the fitted variable. JMP online documentation is appallingly unhelpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;JMP® Pro 16.2.0&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:52:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/525239#M74971</guid>
      <dc:creator>Grumpybaldprof</dc:creator>
      <dc:date>2023-06-09T00:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting  pooiiunt of signigficant divergence from Least squares compare slopes JMP® Pro 16.2.0</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/525254#M74973</link>
      <description>&lt;P&gt;I don't see why you are complaining about JMP help here.&amp;nbsp; This doesn't strike me as the type of question I'd expect to see in a help file - it really pertains to modeling choices and interpretation.&amp;nbsp; Perhaps I am wrong and someone will say there is a clear prepared way to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my understanding of your question, you would need to model an interactive effect:&amp;nbsp; x*group.&amp;nbsp; But that just determines whether the slopes are significantly different between the two groups.&amp;nbsp; Your question seems to indicate that you believe the slopes become equal at some value of x, not smaller values of x.&amp;nbsp; That strikes me as a nonlinear interaction effect.&amp;nbsp; It may be possible to use the nonlinear platform with parameters, and get estimates of a parameter that indicates the value of x at which the slopes begin to differ.&amp;nbsp; How much data do you have?&amp;nbsp; If you can share some of it - or a similar data set, then I can outline this in more detail.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 14:20:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/525254#M74973</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2022-07-22T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting  pooiiunt of signigficant divergence from Least squares compare slopes JMP® Pro 16.2.0</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/525556#M75001</link>
      <description>&lt;P&gt;You could do a Fit model and adding a local datafilter for your x. Then you can sweep through the x values observing the changes of slope in Fit Model report.&lt;/P&gt;
&lt;P&gt;Another idea would be to add a custom binning on x and using this variable with interaction in Fit Model. Then you can see whether the slope changes with the custom bins of X. See script for examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA\Big Class.jmp" );

dt &amp;lt;&amp;lt; New Column( "Custom Binning[height]",
	Numeric,
	"Nominal",
	Format( "Best", 12 ),
	Formula( If( :height &amp;lt; 61.937, 60.937, :height &amp;gt;= 61.937, 61.937, . ) ),
	Value Labels( {"." = "Missing", 60.937 = "&amp;lt; 62", 61.937 = "≥ 62"} ),
	Use Value Labels( 1 ), 

);

dt &amp;lt;&amp;lt; Add Properties to Table(
	{New Script(
		"Fit Model local datafilter",
		Fit Model(
			Y( :weight ),
			Effects( :sex, :height, :sex * :height ),
			Personality( "Standard Least Squares" ),
			Emphasis( "Effect Leverage" ),
			Run(
				:weight &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
				Parameter Estimates( 1 ), Scaled Estimates( 0 ), Plot Actual by Predicted( 1 ),
				Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
				Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ),
				Box Cox Y Transformation( 0 )}
			),
			Local Data Filter(
				Conditional,
				Add Filter( columns( :height ), Where( :height &amp;gt;= 56.994 &amp;amp; :height &amp;lt;= 70 ) )
			),
			SendToReport(
				Dispatch(
					{"Response weight", "Whole Model"},
					"Actual by Predicted Plot",
					OutlineBox,
					{Close( 1 )}
				),
				Dispatch(
					{"Response weight", "Whole Model"},
					"Effect Summary",
					OutlineBox,
					{Close( 1 )}
				),
				Dispatch(
					{"Response weight", "Whole Model"},
					"Lack Of Fit",
					OutlineBox,
					{Close( 1 )}
				),
				Dispatch(
					{"Response weight", "Whole Model"},
					"Residual by Predicted Plot",
					OutlineBox,
					{Close( 1 )}
				),
				Dispatch(
					{"Response weight", "Whole Model"},
					"Summary of Fit",
					OutlineBox,
					{Close( 1 )}
				),
				Dispatch(
					{"Response weight", "Whole Model"},
					"Analysis of Variance",
					OutlineBox,
					{Close( 1 )}
				),
				Dispatch(
					{"Response weight", "sex"},
					"Least Squares Means Table",
					OutlineBox,
					{Close( 1 )}
				)
			)
		)
	), New Script(
		"Fit Least Squares",
		Fit Model(
			Y( :weight ),
			Effects(
				:sex, :height, :"Custom Binning[height]"n, :sex * :height,
				:sex * :"Custom Binning[height]"n, :height * :"Custom Binning[height]"n
			),
			Personality( "Standard Least Squares" ),
			Emphasis( "Effect Leverage" ),
			Run(
				:weight &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
				Parameter Estimates( 1 ), Scaled Estimates( 0 ), Plot Actual by Predicted( 1 ),
				Plot Regression( 0 ), Plot Residual by Predicted( 1 ),
				Plot Studentized Residuals( 0 ), Plot Effect Leverage( 1 ),
				Plot Residual by Normal Quantiles( 0 ), Box Cox Y Transformation( 0 )}
			)
		)
	)}
);
dt &amp;lt;&amp;lt; run script( "Fit Model local datafilter" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Jul 2022 06:01:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/525556#M75001</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-07-24T06:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting  pooiiunt of signigficant divergence from Least squares compare slopes JMP® Pro 16.2.0</title>
      <link>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/612522#M81263</link>
      <description>&lt;P&gt;Thank you Georg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for the long delay, I have long covid and could not face this stats question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, this is way over my head. Its many years since I had to write my own stats routines. I am not sure I understand what this one does or indeed where it picks up the data in the first place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 14:18:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Getting-point-of-significant-divergence-from-Least-squares/m-p/612522#M81263</guid>
      <dc:creator>Grumpybaldprof</dc:creator>
      <dc:date>2023-03-15T14:18:54Z</dc:date>
    </item>
  </channel>
</rss>

