<?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: Why the lambda value of Spline fitting used in &amp;quot;Fit Y by X analysis&amp;quot; is different from the &amp;quot;Graph Builder&amp;quot;? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/419066#M66806</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13676"&gt;@Jing&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The graph builder uses standardized X variables.&amp;nbsp; To get the same line in Bivariate, choose 'Other...' under the Red Triangle &amp;gt; Flexible &amp;gt; Fit Spline, use a lamda of 0.05 (default in graph builder) and check 'Standardize X'.&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="ih_0-1631906006128.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35911i24274CD1EE7DCF11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_0-1631906006128.png" alt="ih_0-1631906006128.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);

dt = Open("$Sample_data/Car Physical Data.jmp");

New Window("Compare",
	H List Box(
		Bivariate(
			Y( :Weight ),
			X( :Displacement ),
			Fit Spline( 0.05, Standardized, {Line Color( {61, 174, 70} )} ),
			Where( :Country == "Japan" )
		),
		Graph Builder(
			Size( 400, 320 ),
			Show Control Panel( 0 ),
			Variables( X( :Displacement ), Y( :Weight ), Overlay( :Country ) ),
			Elements(
				Points( X, Y, Legend( 14 ) ),
				Smoother( X, Y, Legend( 15 ), Lambda( 0.05 ) )
			),
			Local Data Filter(
				Close Outline( 1 ),
				Add Filter( columns( :Country ), Where( :Country == "Japan" ) )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 19:15:43 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2021-09-17T19:15:43Z</dc:date>
    <item>
      <title>Why the lambda value of Spline fitting used in "Fit Y by X analysis" is different from the "Graph Builder"?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/418865#M66793</link>
      <description>&lt;P&gt;Hello, JMP developers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using JMP15.2.1 version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As below smooth fitting results(same datasets) in JMP when using the One Way Analysis (Fit Y by X)&amp;nbsp; platform vs. Graph Builder, by setting the same lambda=100, the smoothness of the curve is totally different. (&lt;STRONG&gt;Fits are the same even if the &lt;/STRONG&gt;&lt;STRONG&gt;lambda&lt;/STRONG&gt;&lt;STRONG&gt; values differ by approximately 20x&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a reason for such difference?&amp;nbsp;&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="Jing_0-1631842068117.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35879iD28470F7870595C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jing_0-1631842068117.png" alt="Jing_0-1631842068117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:17:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/418865#M66793</guid>
      <dc:creator>Jing</dc:creator>
      <dc:date>2023-06-11T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why the lambda value of Spline fitting used in "Fit Y by X analysis" is different from the "Graph Builder"?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/419066#M66806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13676"&gt;@Jing&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The graph builder uses standardized X variables.&amp;nbsp; To get the same line in Bivariate, choose 'Other...' under the Red Triangle &amp;gt; Flexible &amp;gt; Fit Spline, use a lamda of 0.05 (default in graph builder) and check 'Standardize X'.&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="ih_0-1631906006128.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35911i24274CD1EE7DCF11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_0-1631906006128.png" alt="ih_0-1631906006128.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);

dt = Open("$Sample_data/Car Physical Data.jmp");

New Window("Compare",
	H List Box(
		Bivariate(
			Y( :Weight ),
			X( :Displacement ),
			Fit Spline( 0.05, Standardized, {Line Color( {61, 174, 70} )} ),
			Where( :Country == "Japan" )
		),
		Graph Builder(
			Size( 400, 320 ),
			Show Control Panel( 0 ),
			Variables( X( :Displacement ), Y( :Weight ), Overlay( :Country ) ),
			Elements(
				Points( X, Y, Legend( 14 ) ),
				Smoother( X, Y, Legend( 15 ), Lambda( 0.05 ) )
			),
			Local Data Filter(
				Close Outline( 1 ),
				Add Filter( columns( :Country ), Where( :Country == "Japan" ) )
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 19:15:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/419066#M66806</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-09-17T19:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why the lambda value of Spline fitting used in "Fit Y by X analysis" is different from the "Graph Builder"?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/771696#M95229</link>
      <description>&lt;P&gt;What does Standardize X mean? How is it useful?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 16:18:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/771696#M95229</guid>
      <dc:creator>PriorPuppy76970</dc:creator>
      <dc:date>2024-07-09T16:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why the lambda value of Spline fitting used in "Fit Y by X analysis" is different from the "Graph Builder"?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/771768#M95230</link>
      <description>&lt;P&gt;Standardized X means that you normalize your X distribution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x = [[[ ARRAY OF X VALUES ]]]

x = (x - Mean( x )) / Std Dev( x );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After this, you'll create your cubic smoothing spline polynomials, then when creating your splines (which will be placed into this new scaled-x space), you simply unscale your spline's x-values.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 18:15:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/771768#M95230</guid>
      <dc:creator>ErraticAttack</dc:creator>
      <dc:date>2024-07-09T18:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why the lambda value of Spline fitting used in "Fit Y by X analysis" is different from the "Graph Builder"?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/877082#M103993</link>
      <description>&lt;P&gt;I have a bit more data that I used and I get a very different spline fit using the graph builder and bivariate spline fit.&lt;BR /&gt;The graphs have the same scales, and there seems to be a horizontal shift in the splines.&lt;/P&gt;
&lt;P&gt;The graph builder is on top while the bottom is from the bivariate fit.&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="Binyamin_0-1748518978126.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76355i0BF48C463D5370B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Binyamin_0-1748518978126.png" alt="Binyamin_0-1748518978126.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Binyamin_3-1748519202924.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76358iFFFCEFAEE240EF0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Binyamin_3-1748519202924.png" alt="Binyamin_3-1748519202924.png" /&gt;&lt;/span&gt;&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="Binyamin_1-1748518993920.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76356i06FDAAEC32095039/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Binyamin_1-1748518993920.png" alt="Binyamin_1-1748518993920.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Binyamin_2-1748519164488.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76357iE807C2C4EF645B42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Binyamin_2-1748519164488.png" alt="Binyamin_2-1748519164488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA for any input&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 11:48:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-the-lambda-value-of-Spline-fitting-used-in-quot-Fit-Y-by-X/m-p/877082#M103993</guid>
      <dc:creator>Binyamin</dc:creator>
      <dc:date>2025-05-29T11:48:03Z</dc:date>
    </item>
  </channel>
</rss>

