IMSTAT Procedure (Analytics)

Tip: For information about the data and server management statements, see IMSTAT Procedure (Data and Server Management).

Syntax

PROC IMSTAT <options>;
AGGREGATE variable-name (aggregate-variable-options) / ID=variable-name< options>;
ARM ITEM=item-variable TRAN=transaction-variable </ options>;
ASSESS <variable-list> / Y=response-variable <options>;
BOXPLOT <variable-list> </ options>;
CLUSTER <variable-list> </ options>;
CORR <variable-list> </ options>;
CROSSTAB row*column </ options>;
DECISIONTREE target-variable </ options>;
DISTINCT <variable-list> </ options>;
FORECAST timestamp-variable </ options>;
FREQUENCY variable-list </ options>;
GENMODEL dependent-variable <(class-variables)> = model-effects </ options>;
GLM dependent-variable <(class-variables)> = model-effects </ options>;
GROUPBY <variable-list> </ options>;
HISTOGRAM <variable-list> </ options>;
KDE variable-list </ options>;
LOGISTIC dependent-variable <(class-variables)> = model-effects </ options>
MDSUMMARY variable-list </ <set-specification,...> options>;
NEURAL <target-variable> </ options>;
OPTIMIZE <options>;
PERCENTILE <variable-list> </ options>;
RANDOMWOODS target-variable </ options>;
REGCORR <variable-list> </ options>;
SUMMARY <variable-list> </ options>;
TEXTPARSE TXT=text-variable ID=document-ID <options>;
TOPK <variable-list> </ options>;
QUIT;

Table of Procedure Tasks and Examples

Statement Task Example
AGGREGATE Aggregate values of one or more variables Ex. 14
BOXPLOT Retrieving box plot values Ex. 2, Ex. 3
CLUSTER Performing a cluster analysis Ex. 5
CORR Performing a pairwise correlation Ex. 6
CROSSTAB Crosstabulation with measures of association and Chi-square tests Ex. 7
DECISIONTREE Training and validating a decision tree Ex. 8
FORECAST Computes predicted values for observed and future (forecast) values of time series Ex. 12, Ex. 13
MDSUMMARY Performing a multi-dimensional summary Ex. 10
PERCENTILE Calculating percentiles and quartiles Ex. 1
REGCORR Fitting a regression model Ex. 11