下面是從“源”嵌入式腳本中獲取的腳本,在右鍵單擊Fit Model平台的All Possible Models部分中的表並選擇“Make into Data Table”時創建。 它直接從JMP提供腳本。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Fitness.jmp" );
platform = Data Table( "Fitness" ) << Fit Model(
Y( :Oxy ),
Effects( :Runtime, :Weight, :RunPulse, :RstPulse, :MaxPulse ),
Personality( "Stepwise" ),
Run( All Possible Models( 5, 10 ) )
);
Wait( 0 );
Report( platform )[Outline Box( "Stepwise Fit for Oxy" )][
Outline Box( "All Possible Models" )][Table Box( 1 )] << Make Combined Data Table;
Report( platform ) << Close Window;