MovingAverage bug?
- To: MathGroup <mathgroup at yoda.physics.unc.edu>
- Subject: MovingAverage bug?
- From: Tapio Luttinen <100013.2275 at compuserve.com>
- Date: 27 Jan 94 05:44:44 EST
Dear MathGroup Is there a bug in MovingAverage package? <<Statistics`MovingAverage` data = {{a,b}, {c,d}, {e,f}}; MovingAverage[data, 1] b + d d + f {{a, -----}, {c, -----}} 2 2 I would expect a + c b + d c + e d + f {{-----, -----}, {-----, -----}} 2 2 2 2 Tapio Luttinen +-----------------------------------------------------------------------+ | Tapio Luttinen Tel. (work) +358 (18) 752-4252 | | TL Consulting Engineers Ltd. Tel. (home) +358 (18) 756-3332 | | Kulmakatu 5 Tel. (mobile) +358 (49) 350-298 | | 15140 Lahti Fax +358 (18) 752-4253 | | FINLAND E-mail 100013.2275 at compuserve.com | +-----------------------------------------------------------------------+