Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Numerical Data > Data Transforms and Smoothing > MovingMedian >
Mathematica > Data Manipulation > Statistical Data Analysis > Data Transforms and Smoothing > MovingMedian >
Mathematica > Mathematics and Algorithms > Statistical Data Analysis > Data Transforms and Smoothing > MovingMedian >

MovingMedian

MovingMedian
gives the moving median of list, computed using spans of r elements.
  • MovingMedian gives a list of the medians of elements in list taken in blocks of length r. »
Moving median of a vector:
Moving median of a matrix:
Moving median of a vector:
In[1]:=
Click for copyable input
Out[1]=
 
Moving median of a matrix:
In[1]:=
Click for copyable input
Out[1]=
Compute moving medians for any numeric data:
Obtain results at machine precision:
Obtain results for lists of any precision:
Moving medians of matrices are matrices:
Smooth noisy data:
Compute the 100-day moving median of a financial time series:
A moving median is a sequence of medians:
A two-term MovingMedian is equivalent to a two-term MovingAverage:
MovingMedian requires numeric values:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF