/** Our analysts used to use ECO / Proc Insight to display a graph to detect outliers (comparing previous and current data values). Once the graph was visible, the user would click on outliers and the ID for the point(s) would display and remain displayed. The user would take a screen shot and follow up on the outliers.
We are switching from ECO to EG and this code plots a graph with hover over functionality. But once the user moves the cursor off the outlier point, the info disappears. Ideally it would be more efficient if the user could hover over a point or click on it, and the ID would be written to a file / dataset to reduce transcription error.
Ideas / suggestions welcome
data myClass; set sashelp.class; AltText = ' alt=' || quote('Name: ' || put(Name, $10.) ); run;
has been used as a basis for a macro that can be called by different users, to determine outliers. The user can supply a rule, will see two graphs (one with all points, one with 'rule-breakers' labelled), and will get a dataset and/or xlsx with the outliers for further processing.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.