DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug in moving average (Generate-->Moving Average...)

 
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
acogbill



Joined: 03 Feb 2008
Posts: 3

PostPosted: Fri Dec 18, 2009 3:50 pm    Post subject: Bug in moving average (Generate-->Moving Average...) Reply with quote

There is an apparent bug in the moving average command. I noticed this when trying to smooth some [profile] gravity data. For monotonically increasing data, the moving average seems to always be less than the original curve.

Easy way to test: Generate a straight line (say, for 0 <= x <=10), then run the moving average over the generated data: the moving average is always less than the original data (except for the case x=0).
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2124
Location: Vicksburg, Mississippi

PostPosted: Fri Dec 18, 2009 6:38 pm    Post subject: Reply with quote

That's not a bug, that's expected with the "Prior moving average" (the only method available if you're using DPlot 2.2.7.0 or earlier). See the "Moving Average" topic at http://www.dplot.com/blog/. It sounds like you probably need an update, and that with that update you want to use the "Central moving average".
_________________
David Hyde
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group