cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ThomasZatValcon
Level III

How to Run the Profiler command in a Fit Group from jsl

How do I run the Profiler command in a Fit Group of fitted models?

I.e. the models are fitted separately and a Fit Group is generated. Then I want to do the same that happens when selecting Fit Group>Profiler in the red triangle. I would also like to have a reference to the resulting Prediction profiler OutlineBox. 

1 REPLY 1
txnelson
Super User

Re: How to Run the Profiler command in a Fit Group from jsl

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