Question: Within a jmp script, is it possible to save off specific prediction equations for various filtered datasets within a single data table?
Current Result: The script exectutes no problem, but the prediction equation is based on the unfiltered data.
I've tried rearranging things but havent found an example online to help do this particular task. Thanks for taking a look!
Script looks something like this:
obj = bivariate(
Y( :DataSet1 ),
X( :DataSet2 ),
Local Data Filter(
Mode( Select(1), Show(1), Include(1) ),
Add filter(
columns( :FilterParam1, :FilterParam2 ),
Where( :FilterParam1 == 3),
Where( :FilterParam2 == 6),
)
),
SendToReport( Dispatch( {}, "Bivar Plot", FrameBox, {Frame Size( XXX, YYY )} ) )
);
obj << (Curve[1] << Save Predicteds);
EQN1 = Char(:Predicted DataSet1 << Get Formula);
Save Text File(.... (saving eqn to text file))....