Hi all,
when you run the code below (code is taken from the scripting index) a window opens where you can manually specify if a response shall be maximized, be none etc. I was wondering if this manual step can be done completely by scripting such that no user interaction is required at all?
Thanks for your help!
Note: I'm using JMP 18.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
obj = dt << Profiler(
Y( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS )
);
obj << Desirability Functions( 1 );
obj << Set Desirabilities;
Did you try what would happen if you just dropped those? It might work but I'm not sure
obj << (Pred Formula ABRASION << Response Limits({Goal("None")}));
I think you can do something like this
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Tiretread.jmp");
obj = dt << Profiler(
Y(:Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS)
);
obj << Desirability Functions(1);
obj << (Pred Formula ABRASION << Response Limits(
{Lower(100, 1), Middle(150, 1), Upper(200, 1), Goal("None"),
Importance(0.25)}
));
Thanks for your prompt reply! This already helps, just one more question: Is there a way to only set the "Goal()" of "Response Limits()" as I don't want to change lower limit, upper limit etc.
Did you try what would happen if you just dropped those? It might work but I'm not sure
obj << (Pred Formula ABRASION << Response Limits({Goal("None")}));