Hello,
I am trying to automate some JMP analysis where I generate a desirability function using the Fit model platform. With the current JSL code I can launch the fit model platform and add the profiler to the platform, but in the last step I would like to save the associated desirability formula to a new column in the data table and this does not work.
Do you have suggestions on how I should to this? Here is a piece of code similar to what I am using as an example
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Drug.jmp" );
obj = dt << Fit Model(
Y( :y ),
Effects( :Drug, :x ),
Personality( Standard Least Squares ),
Run Model()
);
obj << Profiler(1);
obj << Save Desirability Formula;
Thank you in advance!