Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Statistics[MovingStatistic] - compute moving statistics for a data set
Calling Sequence
MovingStatistic(X, m, f, options)
Parameters
X
-
data set
m
bandwidth
f
statistic
options
additional parameters to be passed to the procedure f.
Description
The MovingStatistic function computes moving statistics for a set of observations.
The first parameter X is a single data sample - given as a Vector or list. Each value represents an individual observation.
The second parameter m is the size of the moving window.
The third argument f is the statistic; can be any of the DescriptiveStatistics routines or a maple procedure which accepts a Vector and returns a floating point number.
Note that after f has been called on one subsample, the same Vector is reused for the next subsample, for efficiency reasons. All the builtin DescriptiveStatistics routines can handle this, but if you specify a custom maple procedure for f, you may need to copy its input Vector if you will need access to it after returning. See the example below for an explanation.
Examples
f := proc(A, q) Statistics[Quantile](A, q); end proc:
The following command will fail to apply the unassigned name to the two correct sub-Vectors, because the same Vector is reused internally, as described above:
This command, however, will make a copy for every sub-Vector and thus get the correct answer.
See Also
Statistics, Statistics[DataSmoothing], Statistics[ExponentialSmoothing], Statistics[MovingAverage]
Download Help Document