Yes, I see the effect too (JMP 12.1 on the Mac).
If you press the 'Together' button, JMP tries to be helpful and pops up this:
but, if you run the code behind the button directly it doesn't (which is the desired behaviour). No good idea how to stop this, unfortunately. Please mail support@jmp.com and reference this thread.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
// Decimate the responses a little to make a difference between the fits
Column(dt, "height")[RandomIndex(NRow(dt), 10)] = .;
Column(dt, "weight")[RandomIndex(NRow(dt), 10)] = .;
New Window( "test", bb1 = Button Box( "Fit Model Together" ), bb2 = Button Box( "Fit Model Separately" ) );
bb1 << set function(
NewWindow("Fit Model Together",
Fit Model(
Y( :height, :weight ),
Effects( :sex ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run()
)
)
);
bb2 << set function(
NewWindow("Fit Model Separately",
Fit Model(
Y( :height),
Effects( :sex ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run()
),
Fit Model(
Y( :weight),
Effects( :sex ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run()
)
)
);