HI All,
I have a question. Is it possible to have jsl script for" Col>modelling utilities> explore outlier" ?
Thanks
Ram
Hello, Wendy. thanks for response.
Will be looking forward to see the full script functionality for this.
Rgds
Ram
Hello,
I very much like this outlier feature.
I understand there is limited scripting to this point in time.
In looking at the tree structure, I understand how to 'click' on a selection box.
But is there a way to select (click) a variable listed in the Column in the "OutlineBox(4): Robust Estimates and Outliers" ?
Thanks,
John
Hi, John.
JMP 13 introduced more JSL support for Explore Outliers. See the Scripting Index (Help > Scripting Index) for details. However if you have not yet updated to JMP 13, you can still select rows by navigating to the TableBox. Below is an example to demonstrate:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Water Treatment.jmp" );
dt << Select Column Group( "Sensor Measurements" );
obj = dt << Explore Outliers( Quantile Range Outliers( 1 ) );
Report( obj )[Table Box( 1 )] << Set Selected Rows( [1, 2] );
Hope that helps!
So, how owuld you do this in version 13? When I say reort(obj) << change to missing(); it says 'select a column...'. I could do the table box thing you showed, but I don't know how many columns will have missing values, or what their names would be. What the best way of scripting that in 13?
thanks
I did the following but hoped something more elgant was available:
EO = Explore Outliers(
Y( Eval( VariableList ) ),
Show only columns with outliers( 1 ),
Quantile Range Outliers
) << journal;
n = n items(Report( EO )[Table Box( 1 )][1] << get );
If( n,
Report( EO )[Table Box( 1 )] << Set Selected Rows( 1 :: n );
EO << Change to Missing();
);