Difference between revisions of "Manuals/calci/EXPONENTIALSMOOTHING"
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''EXPONENTIALSMOOTHING'''(Array, DampingFactor, NewTableFlag) where, '''Array '''- Input range should be one...") |
|||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <div | + | <div style="font-size:25px">'''EXPONENTIALSMOOTHING(Array, DampingFactor, ShowChart, ShowStandardErrorOptions, NewTableFlag)'''</div><br/> |
| − | + | *where, <math>Array</math> is the input array or reference to the cells containing array, | |
| + | *<math>DampingFactor</math> is a corrective factor that minimizes the instability of data, | ||
| + | *<math>ShowChart</math> is a logical value that decides whether to display a chart, | ||
| + | *<math>ShowStandardErrorOptions</math> is a logical value that decides whether to calculate standard errors, | ||
| + | *<math>NewTableFlag</math> is a logical value that decides whether to display the output in the same worksheet or a new space cube. | ||
| + | **EXPONENTIALSMOOTHING(), Smooths data, weighting more recent data heavier. | ||
| − | + | == Description == | |
| − | + | EXPONENTIALSMOOTHING(Array, DampingFactor, ShowChart, ShowStandardErrorOptions, NewTableFlag) | |
| − | ''' | + | *Exponential Smoothing is a technique that can be applied to a set of data, either to produce smoothed data for presentations, or to make forecasts. |
| + | *<math>Array</math> should be array of numbers. | ||
| + | *<math>DampingFactor</math> is the exponential smoothing constant referred as '''α'''. Value of '''α''' should be greater than '0'. | ||
| + | *If <math>DampingFactor</math> < 0, Calci displays #NULL error message. | ||
| + | *Smaller the damping factor, more smoother are the projections. | ||
| + | *If <math>DampingFactor</math> is omitted, Calci assumes it to be '0.3'. | ||
| + | *<math>ShowChart</math> can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE. | ||
| + | *<math>ShowStandardErrorOptions</math> can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE. | ||
| + | *<math>NewTableFlag</math> can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE. | ||
| + | *If <math>NewTableFlag</math> is TRUE, the result is displayed on new zspace sheet. | ||
| − | + | ==ZOS== | |
| − | + | *The syntax is to use this function in ZOS is <math>EXPONENTIALSMOOTHING (Array,DampingFactor,ShowChart, ShowStandardErrorOptions,NewTableFlag)</math> | |
| − | + | *For e.g.,EXPONENTIALSMOOTHING([10,12.3,18,9.4,22,39,45,51,29],0.5,true,false,true) | |
| − | |||
| − | |||
| − | + | == Examples == | |
| + | Consider the following table with Columns A as data point and Column B as array input for EXPONENTIALSMOOTHING() function. | ||
| − | + | <div id="2SpaceContent" class="zcontent" align="left"> | |
| − | |||
| − | <div id=" | ||
| − | + | {| id="TABLE3" class="SpreadSheet blue" | |
| + | |- class="even" | ||
| + | | class="sshl_f" | '''Period''' | ||
| + | | class=" " | '''Array Input''' | ||
| + | | class=" " | | ||
| − | + | |- class="odd" | |
| − | + | | class="sshl_f" | | |
| − | + | | class=" " | | |
| + | | class=" " | | ||
| − | + | |- class="even" | |
| + | | class="sshl_f" | 0 | ||
| + | | class=" " |0 | ||
| + | | class=" " | | ||
| − | + | |- class="odd" | |
| + | | class="sshl_f" | 1 | ||
| + | | class=" " |45.5 | ||
| + | | class=" " | | ||
| − | + | |- class="even" | |
| + | | class="sshl_f" | 2 | ||
| + | | class=" " |60 | ||
| + | | class=" " | | ||
| − | + | |- class="odd" | |
| + | | class="sshl_f" | 3 | ||
| + | | class=" " |200 | ||
| + | | class=" " | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- class="even" | |- class="even" | ||
| + | | class="sshl_f" | 4 | ||
| + | | class=" " |160 | ||
| class=" " | | | class=" " | | ||
| − | + | ||
| − | |||
| − | |||
| − | |||
|- class="odd" | |- class="odd" | ||
| − | |||
| − | |||
| − | |||
| − | |||
| class="sshl_f" | 5 | | class="sshl_f" | 5 | ||
| + | | class=" " |300 | ||
| + | | class=" " | | ||
| + | |||
|- class="even" | |- class="even" | ||
| − | | class=" | + | | class="sshl_f" | 6 |
| − | + | | class=" " |340 | |
| − | | class=" " | | + | | class=" " | |
| − | | class=" | + | |
| − | |||
|- class="odd" | |- class="odd" | ||
| − | + | | class="sshl_f" | 7 | |
| − | | class=" " | | + | | class=" " |310 |
| − | | class=" " | | + | | class=" " | |
| − | | class=" | + | |
| − | |||
|- class="even" | |- class="even" | ||
| − | + | | class="sshl_f" | 8 | |
| − | | class=" " | | + | | class=" " |500 |
| − | | class=" " | | + | | class=" " | |
| − | | class=" | + | |
| − | |||
|- class="odd" | |- class="odd" | ||
| − | | class=" " | | + | | class="sshl_f" | 9 |
| − | + | | class=" " |566 | |
| − | | class=" " | | + | | class=" " | |
| − | | class=" | + | |
| − | |||
|- class="even" | |- class="even" | ||
| − | + | | class="sshl_f" | 10 | |
| − | | class=" " | | + | | class=" " |610 |
| − | | class=" " | | + | | class=" " | |
| − | | class=" | + | |
| − | |||
| − | |||
|} | |} | ||
| − | + | =EXPONENTIALSMOOTHING(B3:B13, 0.2, TRUE, FALSE, TRUE) returns the below table followed by the chart output: | |
| − | + | ||
<div id="5SpaceContent" class="zcontent" align="left"> | <div id="5SpaceContent" class="zcontent" align="left"> | ||
{| class="SpreadSheet blue" | {| class="SpreadSheet blue" | ||
| − | |+ <br /> | + | |+ <br />EXPONENTIALSMOOTHING |
|- class="even" | |- class="even" | ||
! Input | ! Input | ||
! Output | ! Output | ||
|- class="odd" | |- class="odd" | ||
| − | | | + | | 0 |
| null | | null | ||
|- class="even" | |- class="even" | ||
| − | | | + | | 45.5 |
| − | | | + | | 0 |
|- class="odd" | |- class="odd" | ||
| − | | | + | | 60 |
| − | | | + | | 36.4 |
|- class="even" | |- class="even" | ||
| − | | | + | | 200 |
| − | | | + | | 55.28 |
|- class="odd" | |- class="odd" | ||
| − | | | + | | 160 |
| − | | | + | | 171.056 |
|- class="even" | |- class="even" | ||
| − | | | + | | 300 |
| − | | | + | | 162.21120000000002 |
|- class="odd" | |- class="odd" | ||
| − | | | + | | 340 |
| − | | | + | | 272.44224 |
|- class="even" | |- class="even" | ||
| − | | | + | | 310 |
| − | | | + | | 326.488448 |
|- class="odd" | |- class="odd" | ||
| − | | | + | | 500 |
| − | | | + | | 313.2976896 |
|- class="even" | |- class="even" | ||
| − | | | + | | 566 |
| − | | | + | | 462.65953792 |
|- class="odd" | |- class="odd" | ||
| − | | | + | | 610 |
| − | | | + | | 545.331907584 |
| − | |||
| − | |||
| − | |||
|} | |} | ||
| − | + | ==Related Videos== | |
| − | + | ||
| + | {{#ev:youtube|0r5pK8mlcXM|280|center|EXPONENTIAL SMOOTHING}} | ||
| + | |||
| + | == See Also == | ||
| + | |||
| + | *[[Manuals/calci/HISTOGRAM | HISTOGRAM]] | ||
| + | *[[Manuals/calci/MOVINGAVERAGE | MOVINGAVERAGE]] | ||
| + | |||
| + | == References == | ||
| + | |||
| + | *[http://en.wikipedia.org/wiki/Exponential_smoothing Exponential Smoothing] | ||
| + | |||
| + | |||
| + | |||
| + | *[[Z_API_Functions | List of Main Z Functions]] | ||
| + | |||
| + | *[[ Z3 | Z3 home ]] | ||
Latest revision as of 16:05, 10 August 2018
EXPONENTIALSMOOTHING(Array, DampingFactor, ShowChart, ShowStandardErrorOptions, NewTableFlag)
- where, is the input array or reference to the cells containing array,
- is a corrective factor that minimizes the instability of data,
- is a logical value that decides whether to display a chart,
- is a logical value that decides whether to calculate standard errors,
- is a logical value that decides whether to display the output in the same worksheet or a new space cube.
- EXPONENTIALSMOOTHING(), Smooths data, weighting more recent data heavier.
Description
EXPONENTIALSMOOTHING(Array, DampingFactor, ShowChart, ShowStandardErrorOptions, NewTableFlag)
- Exponential Smoothing is a technique that can be applied to a set of data, either to produce smoothed data for presentations, or to make forecasts.
- should be array of numbers.
- is the exponential smoothing constant referred as α. Value of α should be greater than '0'.
- If < 0, Calci displays #NULL error message.
- Smaller the damping factor, more smoother are the projections.
- If is omitted, Calci assumes it to be '0.3'.
- can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE.
- can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE.
- can be a logical value TRUE or FALSE. If omitted, Calci assumes it to be FALSE.
- If is TRUE, the result is displayed on new zspace sheet.
ZOS
- The syntax is to use this function in ZOS is
- For e.g.,EXPONENTIALSMOOTHING([10,12.3,18,9.4,22,39,45,51,29],0.5,true,false,true)
Examples
Consider the following table with Columns A as data point and Column B as array input for EXPONENTIALSMOOTHING() function.
| Period | Array Input | |
| 0 | 0 | |
| 1 | 45.5 | |
| 2 | 60 | |
| 3 | 200 | |
| 4 | 160 | |
| 5 | 300 | |
| 6 | 340 | |
| 7 | 310 | |
| 8 | 500 | |
| 9 | 566 | |
| 10 | 610 |
=EXPONENTIALSMOOTHING(B3:B13, 0.2, TRUE, FALSE, TRUE) returns the below table followed by the chart output:
| Input | Output |
|---|---|
| 0 | null |
| 45.5 | 0 |
| 60 | 36.4 |
| 200 | 55.28 |
| 160 | 171.056 |
| 300 | 162.21120000000002 |
| 340 | 272.44224 |
| 310 | 326.488448 |
| 500 | 313.2976896 |
| 566 | 462.65953792 |
| 610 | 545.331907584 |
Related Videos
See Also
References