Here is the example from the Fit Group entry in the Scripting Index
Help=>Scripting Index=>Fit Group=>Profiler
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
obj = dt << Fit Group(
Fit Model(
Y( :ABRASION ),
Effects(
:SILICA & RS, :SILANE & RS, :SULFUR & RS,
:SILICA * :SILICA, :SILICA * :SILANE,
:SILANE * :SILANE, :SILICA * :SULFUR,
:SILANE * :SULFUR, :SULFUR * :SULFUR
),
Personality( Standard Least Squares ),
Emphasis( Minimal Report ),
Run()
),
Gaussian Process(
Y( :HARDNESS ),
X( :SILICA, :SILANE, :SULFUR ),
Set Correlation Function( "Cubic" )
)
);
obj << Profiler( 1 );
Jim