Screen with Forward Moving Average
The Screen with Forward Moving Average function screens a time series data set
for possible erroneous values based on the change from the forward moving average
computed at the previous point.
Data values failing the screening test are assigned a user specified quality flag and/or
are set to the missing value. The data set may or may not currently have quality
flags assigned. The forward moving average is computed over a user specified number of
values. Missing values and values failing the screening test are not counted in the
moving average and the divisor of the average is less one for each such value.
To screen data in time series data sets:
-
Choose the General tab of the Math Functions screen and select the Screen
with Forward Moving Average operator.
-
Select a data set to apply the function from the Selected Data Set pull-down
list at the top of the screen or multiple data sets from the list in the lower portion
of the screen. If you include the data set selected in the top Selected Data
Set, the operation on that set will only be done once.
-
In the Number to Average Over box, enter a value to set the size of the moving
average interval.
-
In the Change Value Limit box, enter a value to set maximum absolute change
allowed from the forward moving average.
-
Select the Set Invalid Values to Missing box if time series values failing the
screening test are to be set to the missing value.
-
Select the Set Quality Flag to box if the data quality flag is to be set for
data values failing the screening test. If this box is checked, invalid data will
be flagged with the quality selected in the list to the right. The available
quality settings are: R(ejected), M(issing) and Q(uestionable).
-
Click Compute to apply the function to the selected data set.