Top "Moving-average" questions

A calculation of the average value of the most recent (within some window) values in a time series, rather than the average of the entire series.

SQL moving average

How do you create a moving average in SQL? Current table: Date Clicks 2012-05-01 2,230 2012-05-02 3,150 2012-05-03 5,520 2012-05…

sql hive moving-average
Numpy Root-Mean-Squared (RMS) smoothing of a signal

I have a signal of electromyographical data that I am supposed (scientific papers' explicit recommendation) to smooth using RMS. I …

numpy iteration scipy smoothing moving-average
Moving Average code in R ~ "ma" function

I have some time series data points and I like to perform a simple Moving Average method on them. If …

r time-series moving-average
Moving average in postgresql

I have the following table in my Postgresql 9.1 database: select * from ro; date | shop_id | amount -----------+----------+-------- 2013-02…

postgresql math average postgresql-9.1 moving-average
Running average in Python

Is there a pythonic way to build up a list that contains a running average of some function? After reading …

python list-comprehension moving-average
Python Pandas: Calculate moving average within group

I have a dataframe containing time series for 100 objects: object period value 1 1 24 1 2 67 ... 1 1000 56 2 1 59 2 2 46 ... 2 1000 64 3 1 54 ... 100 1 451 100 2 153 ... 100 1000 21 I want to calculate moving average with window 10 …

python pandas pandas-groupby moving-average
LINQ to calculate a moving average of a SortedList<dateTime,double>

I have a time series in the form of a SortedList<dateTime,double>. I would like to calculate …

c# linq moving-average
Numpy Two-Dimensional Moving Average

I have a 2d numpy array. I want to take the average value of the n nearest entries to each …

python numpy moving-average
How do I iterate `std::stack` elements in a for loop?

I'm writing a FIR filter that is supposed to calculate running average of an input sequence. class RunningAverager { public: RunningAverager(…

c++ for-loop stl stack moving-average
Calculating moving average in C++

I am trying to calculate the moving average of a signal. The signal value ( a double ) is updated at random …

c++ algorithm time moving-average