HP 3000 Manuals

Smoothing Algorithm [ HP RXForecast Users Manual for MPE Systems ] MPE/iX 5.0 Documentation


HP RXForecast Users Manual for MPE Systems

Smoothing Algorithm 

Smoothing is also known as median smoothing.

The median of the data values surrounding a data point is taken.  This
median value then replaces the original data point.  This process is done
for each point.  The entire process is repeated until there are no more
changes in the smoothed data.

     Begin
         While more data points
         Begin
           newdatai = median (datai-k, datai-k+1,...,
                           datai,datai+1,...,datai+k)
         End
         Copy newdata into data
     End



MPE/iX 5.0 Documentation