Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Statistics[ExponentialSmoothing] - apply exponential smoothing to a data set
Calling Sequence
ExponentialSmoothing(X, lambda, options)
Parameters
X
-
data set
lambda
smoothing constant
options
(optional) equation(s) of the form option=value where option is one of ignore, or initial; specify options for the ExponentialSmoothing function
Description
The ExponentialSmoothing function computes exponentially weighted moving averages for the original observations using the formula
where N is the number of elements in A and by default. This is useful for smoothing the data, thus eliminating cyclic and irregular patterns and therefore enhancing the long term trends.
The first parameter X is a single data sample - given as a Vector or list. Each value represents an individual observation.
The second parameter lambda is the smoothing constant, which can be any real number between 0 and 1.
Options
The options argument can contain one or more of the options shown below. These options are described in more detail in the Statistics[Mean] help page.
ignore=truefalse -- This option is used to specify how to handle non-numeric data. If ignore is set to true all non-numeric items in data will be ignored.
initial=deduce, or realcons -- This option is used to specify the initial value for the smoothed observations. By default, the first of the original observations is taken as the initial value.
Examples
See Also
Statistics, Statistics[DataSmoothing], Statistics[LinearFilter], Statistics[MovingAverage]
Download Help Document