SIMILARITY Procedure

Functional Summary

The statements and options that control the SIMILARITY procedure are summarized in Table 1.

Table 1: Functional Summary

Description Statement Option
Statements
Specifies BY-group processing BY
Specifies the time ID variable ID
Specifies the FCMP options FCMPOPT
Specifies input variables to analyze INPUT
Specifies target variables to analyze TARGET
Data Set Options
Specifies the input data set PROC SIMILARITY DATA=
Specifies the time series output data set PROC SIMILARITY OUT=
Specifies the measure summary output data set PROC SIMILARITY OUTMEASURE=
Specifies the path output data set PROC SIMILARITY OUTPATH=
Specifies the sequence output data set PROC SIMILARITY OUTSEQUENCE=
Specifies the summary output data set PROC SIMILARITY OUTSUM=
User-Defined Functions and Subroutine Options
Specifies FCMP quiet mode FCMPOPT QUIET=
Specifies FCMP trace mode FCMPOPT TRACE=
Accumulation and Seasonality Options
Specifies the accumulation frequency ID INTERVAL=
Specifies the length of seasonal cycle PROC SIMILARITY SEASONALITY=
Specifies the interval alignment ID ALIGN=
Specifies that the time ID variable values are not sorted ID NOTSORTED
Specifies the starting time ID value ID START=
Specifies the ending time ID value ID END=
Specifies the accumulation statistic ID, INPUT, TARGET ACCUMULATE=
Specifies the missing value interpretation ID, INPUT, TARGET SETMISS=
Specifies the zero value interpretation ID, INPUT, TARGET ZEROMISS=
Specifies the type of missing value trimming INPUT, TARGET TRIMMISS=
Time Series Transformation Options
Specifies simple differencing INPUT, TARGET DIF=
Specifies seasonal differencing INPUT, TARGET SDIF=
Specifies the transformation INPUT, TARGET TRANSFORM=
Input Sequence Options
Specifies normalization INPUT NORMALIZE=
Specifies scaling INPUT SCALE=
Target Sequence Options
Specifies normalization TARGET NORMALIZE=
Similarity Measure Options
Specifies the compression limits TARGET COMPRESS=
Specifies the expansion limits TARGET EXPAND=
Specifies the similarity measure TARGET MEASURE=
Specifies the similarity measure and path TARGET PATH=
Specifies the sequence slide TARGET SLIDE=
Printing and Graphical Control Options
Specifies the time ID format ID FORMAT=
Specifies printed output PROC SIMILARITY PRINT=
Specifies detailed printed output PROC SIMILARITY PRINTDETAILS
Specifies graphical output PROC SIMILARITY PLOTS=
Miscellaneous Options
Specifies that analysis variables are processed in ascending order PROC SIMILARITY SORTNAMES
Specifies the ordering of the processing of the input and target variables PROC SIMILARITY ORDER=


Last updated: June 19, 2025