LIME Procedure

DISTANCE Statement

  • DISTANCE <options>;

The DISTANCE statement specifies the options that are related to distance calculation.

You can specify the following options:

EXPONENTIALKERNEL=number

specifies the denominator in the exponential kernel. The default value is based on the input data, as described in the section Distance and Weight Calculation.

IMPUTE=MEAN | NONE | WEIGHTEDMEAN

specifies the method to use for imputing the missing observations. You can specify the following methods:

MEAN

uses the mean to impute missing values of interval variables, and uses the mode to impute missing values of nominal variables.

NONE

does not impute missing values.

WEIGHTEDMEAN

uses the weighted mean to impute missing values of interval variables, and uses the mode to impute missing values of nominal variables.

By default, IMPUTE=NONE.

MIXEDDISTANCEWEIGHT=number

specifies the distance calculation weighting that balances interval and nominal inputs.

By default, MIXEDDISTANCEWEIGHT=1.

Last updated: August 06, 2026