Hi, Astep:

In current releases of JMP, issuing Run Model generates a regular Fit Least Squares but does not also return a handle to the Fit Least Squares object. Therefore, you will need to use the syntax shown in the example below in order to obtain the Prediction Formula:

dt = Open( "$SAMPLE_DATA/Fitness.jmp" );

obj = Fit Model(

Y( :Oxy ),

Effects( :Runtime, :Weight, :RunPulse, :RstPulse, :MaxPulse ),

Personality( Stepwise ),

Run

);

obj << Finish;

obj << Run Model;

Fit Least Squares[1] << Prediction Formula; //HERE

In a future release of JMP, we expect that the Run Model command will return a reference to the Fit Least Squares object. This would allow for easier access to save the Prediction Formula.

I hope this helps!

Wendy Murphrey

Wendy