cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How to 'Save Best Transformation' in "Box-Cox Transformations" using JSL.

I need to save best transformation in the table using JSL. How can I achieve that? 

BOX COX.png

Names Default To Here( 1 );
dt = Current Data Table();

// 1. Column Selection
dlg = Column Dialog( colList = Col List( "Select Test Column", Max Col( 1 ) ) );
If( dlg["Button"] == -1, Throw( "User cancelled" ) );

selectedColList = dlg["colList"]; 
col = Column( dt, selectedColList );

// 2. Run Fit Model to access Box-Cox
fm = dt << Fit Model(
	Y( col ),
	Effects,
	Personality( "Standard Least Squares" ),
	Emphasis( "Minimal Report" ),
	Run
);

// 3. Trigger Box-Cox and SAVE the transformed column

fm_rep = Report( fm );

// Activate the Box-Cox transformation display
fm << Box Cox Y Transformation( 1 );

// Send the Save command to the specific Box-Cox Transformations outline box
fm_rep["Box-Cox Transformations"] << Save Best Transformation;

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to 'Save Best Transformation' in "Box-Cox Transformations" using JSL.

Have you checked Scripting Index?

image.png

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How to 'Save Best Transformation' in "Box-Cox Transformations" using JSL.

Have you checked Scripting Index?

image.png

-Jarmo

Recommended Articles