cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
sid265
Level I

Individual sets of data points Smoothing/Spline Fitting in Graph builder

Hello,

 

I'd like to know if there's anyway of adjusting the lambda in smoother for  individual sets of datapoints.  For eg: can only the fitting of the cyanish curve be modified without changing the fitting of the other curves? Thank you! 

Capture.PNG

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Individual sets of data points Smoothing/Spline Fitting in Graph builder

You can use Fit Y by X and then set the Group By, and then do a Flexable==>Fit Spline.  Each group will have it's own Lambda slider

spline.PNG

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

dt << Bivariate(
	Y( :height ),
	X( :weight ),
	Fit Where( :sex == "F", Fit Spline( 1000, {Line Color( {212, 73, 88} )} ) ),
	Fit Where( :sex == "M", Fit Spline( 1000, {Line Color( {66, 112, 221} )} ) )
);
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Individual sets of data points Smoothing/Spline Fitting in Graph builder

You can use Fit Y by X and then set the Group By, and then do a Flexable==>Fit Spline.  Each group will have it's own Lambda slider

spline.PNG

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

dt << Bivariate(
	Y( :height ),
	X( :weight ),
	Fit Where( :sex == "F", Fit Spline( 1000, {Line Color( {212, 73, 88} )} ) ),
	Fit Where( :sex == "M", Fit Spline( 1000, {Line Color( {66, 112, 221} )} ) )
);
Jim