Previous Page | Next Page

The HPFDIAGNOSE Procedure

ADJUST Statement

ADJUST variable = ( variable-list ) / options ;

The ADJUST statement lists the numeric variables in the DATA= data set whose accumulated values are used to adjust the dependent values. Adjustments are performed before diagnostics.

The numeric variable listed is the variable to which adjustments specified in that statement applies. This variable must appear in a FORECAST statement.

The numeric variables used as the source of the adjustments are listed following the parentheses. For more information see the section Adjustment Operations section.

The following options can be used with the ADJUST statement.

OPERATION=option

specifies how the adjustments are applied to the forecast variable. The option determines how the adjustment variables are applied to the dependent variable prior to diagnostics.

Computations with missing values are handled differently in the ADJUST statement than in other parts of SAS. If any of the adjustment operations result in a nonmissing dependent value being added to, subtracted from, divided by, or multiplied by a missing value, the nonmissing dependent value is left unchanged. Division by zero produces a missing value.

The following predefined adjustment operations are provided:

NONE

No adjustment operation is performed. This is the default.

ADD

Variables listed in the adjustment statement are added to the dependent variable.

SUBTRACT

Variables listed in the adjustment statement are subtracted from the dependent variable.

MULTIPLY

Dependent variable is multiplied by variables listed in the adjustment statement.

DIVIDE

Dependent variable is divided by variables listed in the adjustment statement.

MIN

Dependent variable is set to the minimum of the dependent variable and all variables listed in the adjustment statement.

MAX

Dependent variable is set to the maximum of the dependent variable and all variables listed in the adjustment statement.

ACCUMULATE=option

See the ACCUMULATE= option in the section ID Statement for more details.

SETMISSING=option |number

See the SETMISSING= option in the section ID Statement for more details.

TRIMMISS=option

See the TRIMMISS= option in the section ID Statement for more details.

ZEROMISS=option

See the ZEROMISS= option in the section ID Statement for more details.

Previous Page | Next Page | Top of Page