Previous Page | Next Page

The SIMILARITY Procedure

ODS Graphics

This section describes the use of ODS for creating graphics with the SIMILARITY procedure.

To request these graphs, you must specify the ODS GRAPHICS statement. In addition, you can specify the PLOTS= option in the PROC SIMILARITY statement as described in Table 22.3.

ODS Graph Names

PROC SIMILARITY assigns a name to each graph it creates by using ODS. You can use these names to selectively reference the graphs. The names are listed in Table 22.3.

Table 22.3 ODS Graphics Produced by PROC SIMILARITY

ODS Graph Name

Plot Description

Statement

PLOTS= Option

CostsPlot

Costs plot

SIMILARITY

PLOTS=COSTS

PathDistancePlot

Path distances plot

SIMILARITY

PLOTS=DISTANCES

PathDistanceHistogram

Path distances histogram

SIMILARITY

PLOTS=DISTANCES

PathRelativeDistancePlot

Path relative distances plot

SIMILARITY

PLOTS=DISTANCES

PathRelativeDistanceHistogram

Path relative distances histogram

SIMILARITY

PLOTS=DISTANCES

SeriesPlot

Input time series plot

SIMILARITY

PLOTS=INPUTS

TargetSequencePlot

Target sequence plot

SIMILARITY

PLOTS=TARGETS

SequencePlot

Sequence plot

SIMILARITY

PLOTS=SEQUENCES

SimilarityPlot

Similarity measures plot

SIMILARITY

PLOTS=MEASURES

PathPlot

Path plot

SIMILARITY

PLOTS=PATHS

PathSequencesPlot

Path sequences plot

SIMILARITY

PLOTS=MAPS

PathSequencesScaledPlot

Scaled path sequences map plot

SIMILARITY

PLOTS=MAPS

WarpPlot

Warping plot

SIMILARITY

PLOTS=WARPS

ScaledWarpPlot

Scaled warping plot

SIMILARITY

PLOTS=WARPS

Time Series Plots

The time series plots (SeriesPlot) illustrate the input time series to be compared. The horizontal axis represents the input series time ID values, and the vertical axis represents the input series values.

Sequence Plots

The sequence plots (SequencePlot) illustrate the target and input sequences to be compared. The horizontal axis represents the (target or input) sequence index, and the vertical axis represents the (target or input) sequence values.

Path Plots

The path plot (PathPlot) and path limits plot (PathPlot) illustrate the path through the distance matrix. The horizontal axis represents the input sequence index, and the vertical axis represents the target sequence index. The dots represent the path coordinates. The upper parallel line represents the compression limit and the lower parallel line represents the expansion limit. These plots visualize the path through the distance matrix. Vertical movements indicate compression, and horizontal movements represent expansion of the target sequence with respect to the input sequence. These plots are useful for visualizing the amount of expansion and compression along the path.

Time Warp Plots

The time warp plot (WarpPlot) and scaled time warp plot (ScaledWarpPlot) illustrate the time warping. The horizontal axis represents the (input and target) sequence index. The upper line plot represents the target sequence. The lower line plot represents the input sequence. The lines that connect the input and target sequence values represent the mapping between the input and target sequence indices along the optimal path. These plots visualize the warping of the time index with respect to the input and target sequence values. Expansion of a single target sequence value occurs when it is mapped to more than one input sequence value. Expansion of a single input sequence value occurs when it is mapped to more than one target sequence value. The plots are useful for visualizing the mapping between the input and target sequence values along the path. The plots are useful for comparing the path sequences or input and target sequence after time warping.

Path Sequence Plots

The path sequence plot (PathSequencesPlot) and scaled path sequence plot (PathSequencesScaledPlot) illustrate the sequence mapping along the optimal path. The horizontal axis represents the path index. The dashed line represents the time warped input sequence. The solid line represents the time warped target sequence. These plots visualize the mapping between the input and target sequence values with respect to the path index. The scaled plot with the input and target sequence values are scaled and evenly separated for visual convenience.

Path Distance Plots

The path distance plots (PathDistancePlot) and path relative distance plots (PathRelativeDistancePlot) illustrate the path (relative) distances. The horizontal axis represents the path index. The vertical needles represent the (relative) distances. The horizontal reference lines indicate one and two standard deviations.

The path distance histogram (PathDistanceHistogram) and path relative distance histogram (PathDistanceRelativeHistogram) illustrate the distribution of the path (relative) distances. The bars represent the histogram, and the solid line represents a normal distribution with the same mean and variance.

Cost Plots

The cost plot (CostPlot) and cost limits plot (CostPlot) illustrate the cost of traversing the distance matrix. The horizontal axis represents the input sequence index, and the vertical axis represents the target sequence index. The colors/shading within the plot illustrate the incremental cost of traversing the distance matrix. The upper parallel line represents the compression limit, and the lower parallel line represents the expansion limit.


Note: This procedure is experimental.

Previous Page | Next Page | Top of Page