Calculate a Weighted Average Date.
Note* Negative values not permitted in weighting field.
The result will be rounded to the closest whole day.
wadate MATDATE CURBAL
wadate (ORIGDATE mplus 360) CURBAL
wadate NRADATE CURBAL (RATETYPE in 'A')
(Option) wadate DateField Weight (SelectionStatement)
Name | Data Type | Input Type | Description | Optional | Default |
---|---|---|---|---|---|
Option | Numeric | Constant | 0 - Include days in calculation; 1 - Disregard days in calculation | Yes |
Name | Data Type | Input Type | Description | Optional | Default |
---|---|---|---|---|---|
DateField | Date | Field | No | ||
Weight | Numeric | Field | Yes | ||
SelectionStatement | Boolean | Field | Expression to select records that will be applied to the calculation. | Yes | 1 |
Type: Date
yyyymmdd