NAG Library Manual, Mark 30.1
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_stat_moving_average (g01wac) Example Program Results

  Interval         Mean  
 ------------------------
 [  1, 15]        -427.6
 [  2, 16]        -332.5
 [  3, 17]        -337.1
 [  4, 18]        -438.2
 [  5, 19]        -604.4
 [  6, 20]        -789.4
 [  7, 21]        -935.4
 [  8, 22]        -990.6
 [  9, 23]        -927.1
 [ 10, 24]        -752.1
 [ 11, 25]        -501.3
 [ 12, 26]        -227.2
 [ 13, 27]          23.2
 [ 14, 28]         236.2
 [ 15, 29]         422.4
 [ 16, 30]         604.2

 Total number of observations :  30
 Length of window             :  15