Saving prediction formula back to tableHi Team,
I have searched but have not found a solution that works for my problem. I have the following code:
fitCubic = dtCheck1 << Fit Curve(
Y( :Name( "Bracketed Concentration (nmol/L)" ) ),
X( :Area Ratio ),
Fit Cubic,
By( :Component Name )
);
fitCubic << prediction formula;
I want to save the prediction formulas (by Component Name) back to the originating table (dtCheck1), but this code does not accomplish this task. Ideas?
Re: Saving prediction formula back to tableI believe your syntax is not correct. Here is the Save Prediction Formula example from the Scripting Index
Names Default To Here( 1 );
dt = Open(
"$SAMPLE_DATA/Nonlinear Examples/Bioassay.jmp"
);
obj = Fit Curve(
Y( :Toxicity ),
X( :log Conc ),
Group( :formulation ),
Fit Logistic 4P
);
obj << (Fit[1] << Save Prediction Formula);