Moving Average Tool

Figure 29. Moving Average Tool Dialog

Use the moving average tool to calculate moving averages of one or more data sets. A moving average provides useful trend information of the data that is lost in a simple average. In addition, moving averages can be used to eliminate random variance. For example, use this tool to create a smoother curve of a stock prize.

Specify the cells containing the datasets in the "Input Range" entry. The entered range or ranges are grouped into datasets either by rows or by columns.

If you have labels in the first cell of each data set, select the "Labels" option.

Specify the "Interval" for the moving average. The interval i is the number of consecutive values to be included in each moving average.

The results are given in one column for each dataset Each row represents the moving average of the corresponding row or column in the input range. The moving average cannot be calculated for the first k rows in the input range where k is smaller than the given interval i.

Figure 30. Some Example Data for the Moving Average Tool

Example 9. Using the Moving Average Tool

Figure 30 shows some example data and Figure 31 the corresponding output.

Figure 31. Moving Averages Tool Output