Talk:Averages/Simple moving average: Difference between revisions

m (moved Talk:Moving Average to Talk:Average/Simple moving average: collecting all averages under a common prefix)
Line 11:
==Autohotkey takes average of all previous==
-Ut should be a sum of the last N items, not all previous items. --[[User:Paddy3118|Paddy3118]] 04:02, 22 June 2009 (UTC)
 
==Lua problem==
The lus entry haas a problem. A moving average is of the last N items if N is 5 for example then it is an averaage of the ''last'' (no more than) 5 items. When a sixth item comes along you must drop the first and average the last five, i.e. the second to the sixth items. I was going to say check the wp link given, but it seems to be obfuscated by its terminology - oh well. --[[User:Paddy3118|Paddy3118]] 06:40, 5 February 2010 (UTC)
Anonymous user