| Server IP : 121.121.20.254 / Your IP : 216.73.216.59 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/scalc/01/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>embedded text for exponential smoothing</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="intro"></a>
<p id="par_id0403201618694534" class="paragraph" dir="auto">Exponential Smoothing is a method to smooth real values in time series in order to forecast probable future values.</p>
<p id="par_id0403201618694535" class="paragraph" dir="auto">Exponential Triple Smoothing (ETS) is a set of algorithms in which both trend and periodical (seasonal) influences are processed. Exponential Double Smoothing (EDS) is an algorithm like ETS, but without the periodical influences. EDS produces linear forecasts.</p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="Tip Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">See the <a target="_blank" href="https://en.wikipedia.org/wiki/Exponential_smoothing">Wikipedia on Exponential smoothing algorithms</a> for more information.</p></div>
</div>
<br>
<a name="target"></a>
<p id="par_id0403201618594534" class="paragraph" dir="auto"><span class="emph">target (mandatory):</span> A date, time or numeric single value or range. The data point/range for which to calculate a forecast.</p>
<a name="values"></a>
<p id="par_id040320161859459" class="paragraph" dir="auto"><span class="emph">values (mandatory):</span> A numeric array or range. <span class="emph">values</span> are the historical values, for which you want to forecast the next points.</p>
<a name="timeline"></a>
<p id="par_id0403201618594553" class="paragraph" dir="auto"><span class="emph">timeline (mandatory):</span> A numeric array or range. The timeline (x-value) range for the historical values. </p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">The timeline does not have to be sorted, the functions will sort it for calculations.<br>The timeline values must have a consistent step between them.<br>If a constant step cannot be identified in the sorted timeline, the functions will return the #NUM! error.<br>If the ranges of both the timeline and the historical values are not the same size, the functions will return the #N/A error.<br>If the timeline contains fewer than 2 data periods, the functions will return the #VALUE! error.</p></div>
</div>
<br>
<a name="datacompletion"></a>
<p id="par_id0403201618594513" class="paragraph" dir="auto"><span class="emph">data_completion (optional):</span> a logical value TRUE or FALSE, a numeric 1 or 0, default is 1 (TRUE). A value of 0 (FALSE) will add missing data points with zero as historical value. A value of 1 (TRUE) will add missing data points by interpolating between the neighboring data points.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">Although the time line requires a constant step between data points, the function support up to 30% missing data points, and will add these data points. </p></div>
</div>
<br>
<a name="aggregation"></a>
<p id="par_id0403201618594650" class="paragraph" dir="auto"><span class="emph">aggregation (optional):</span> A numeric value from 1 to 7, with default 1. The aggregation parameter indicates which method will be used to aggregate identical time values:</p>
<table border="1" class="" cellpadding="0" cellspacing="0">
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0403201618594696" class="tableheadintable" dir="auto">Aggregation</p>
</th>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id040320161859464" class="tableheadintable" dir="auto">Function</p>
</th>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618564423" class="tablecontentintable" dir="auto">1</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618594636" class="tablecontentintable" dir="auto">AVERAGE</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618565433" class="tablecontentintable" dir="auto">2</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618594692" class="tablecontentintable" dir="auto">COUNT</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618565982" class="tablecontentintable" dir="auto">3</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618594633" class="tablecontentintable" dir="auto">COUNTA</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618570026" class="tablecontentintable" dir="auto">4</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id040320161859460" class="tablecontentintable" dir="auto">MAX</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618570154" class="tablecontentintable" dir="auto">5</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618594658" class="tablecontentintable" dir="auto">MEDIAN</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618570236" class="tablecontentintable" dir="auto">6</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618594671" class="tablecontentintable" dir="auto">MIN</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618570394" class="tablecontentintable" dir="auto">7</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0403201618594639" class="tablecontentintable" dir="auto">SUM</p>
</td>
</tr>
</table>
<br>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">Although the time line requires a constant step between data points, the functions will aggregate multiple points which have the same time stamp. </p></div>
</div>
<br>
<a name="statistics"></a>
<p id="par_id0503201619582693" class="paragraph" dir="auto"><span class="emph">stat_type (mandatory)</span>: A numerical value from 1 to 9. A value indicating which statistic will be returned for the given values and x-range.</p>
<p id="par_id0503201619582620" class="paragraph" dir="auto">The following statistics can be returned:</p>
<table border="1" class="" cellpadding="0" cellspacing="0">
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0503201619582666" class="tableheadintable" dir="auto">stat_type</p>
</th>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id050320161958264" class="tableheadintable" dir="auto">Statistics</p>
</th>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582639" class="tablecontentintable" dir="auto">1</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582658" class="tablecontentintable" dir="auto">Alpha smoothing parameter of ETS algorithm (base)</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582687" class="tablecontentintable" dir="auto">2</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582673" class="tablecontentintable" dir="auto">Gamma smoothing parameter of ETS algorithm (trend)</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619583658" class="tablecontentintable" dir="auto">3</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582780" class="tablecontentintable" dir="auto">Beta smoothing parameter of ETS algorithm (periodic deviation)</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582737" class="tablecontentintable" dir="auto">4</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582795" class="tablecontentintable" dir="auto">Mean absolute scaled error (MASE) - a measure of the accuracy of forecasts.</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582782" class="tablecontentintable" dir="auto">5</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582749" class="tablecontentintable" dir="auto">Symmetric mean absolute percentage error (SMAPE) - an accuracy measure based on percentage errors.</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582739" class="tablecontentintable" dir="auto">6</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582725" class="tablecontentintable" dir="auto">Mean absolute error (MAE) – a measure of the accuracy of forecasts.</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582788" class="tablecontentintable" dir="auto">7</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582750" class="tablecontentintable" dir="auto">Root mean squared error (RMSE) - a measure of the differences between predicted and observed values.</p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582741" class="tablecontentintable" dir="auto">8</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582771" class="tablecontentintable" dir="auto">Step size detected time line (x-range). When a stepsize in months/quarters/years is detected, the stepsize is in months, otherwise the stepsize is in days in case of date(time) timeline and numeric in other cases. </p>
</td>
</tr>
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582767" class="tablecontentintable" dir="auto">9</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0503201619582717" class="tablecontentintable" dir="auto">Number of samples in period – this is the same as argument <span class="emph">period_length</span>, or the calculated number in case of argument <span class="emph">period_length</span> being 1. </p>
</td>
</tr>
</table>
<br>
<a name="confidence"></a>
<p id="par_id0503201619582665" class="paragraph" dir="auto"><span class="emph">confidence_level (mandatory)</span>: A numeric value between 0 and 1 (exclusive), default is 0.95. A value indicating a confidence level for the calculated prediction interval.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">With values <= 0 or >= 1, the functions will return the #NUM! Error.</p></div>
</div>
<br>
<a name="numsampperiod"></a>
<p id="par_id0603201609412381" class="paragraph" dir="auto"><span class="emph">period_length (optional)</span>: A numeric value >= 0, the default is 1. A positive integer indicating the number of samples in a period. </p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon
" style="width:40px;height:40px;"></div>
<div class="notetext"><p dir="auto">A value of 1 indicates that Calc is to determine the number of samples in a period automatically. <br>A value of 0 indicates no periodic effects, a forecast is calculated with EDS algorithms. <br>For all other positive values, forecasts are calculated with ETS algorithms.<br>For values that not being a positive whole number, the functions will return the #NUM! Error.</p></div>
</div>
<br>
<a name="etsadd"></a>
<p id="par_id0603201608440579" class="code" dir="auto">forecast = basevalue + trend * ∆x + periodical_aberration.</p>
<a name="etsmult"></a>
<p id="par_id0603201608440675" class="code" dir="auto">forecast = ( basevalue + trend * ∆x ) * periodical_aberration.</p>
<a name="exampledata"></a>
<div class="embedded">
<a name="sectionexample"></a>
<h4 id="hd_id281171" dir="auto">Example</h4>
</div>
<p id="hd_id0603201610005723" class="paragraph" dir="auto">The table below contains a timeline and its associated values:</p>
<table border="1" class="" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610293753" class="tablecontentintable" dir="auto"></p>
</td>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610300936" class="tableheadintable" dir="auto">A</p>
</th>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610303544" class="tableheadintable" dir="auto">B</p>
</th>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610294112" class="tableheadintable" dir="auto">1</p>
</th>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610312235" class="tableheadintable" dir="auto">Timeline</p>
</th>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610312228" class="tableheadintable" dir="auto">Values</p>
</th>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id090320161029434" class="tableheadintable" dir="auto">2</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610301211" class="tablecontentintable" dir="auto">01/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610303777" class="tablecontentintable" dir="auto">112</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610294532" class="tableheadintable" dir="auto">3</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610301377" class="tablecontentintable" dir="auto">02/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610303972" class="tablecontentintable" dir="auto">118</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610294658" class="tableheadintable" dir="auto">4</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610301586" class="tablecontentintable" dir="auto">03/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610304214" class="tablecontentintable" dir="auto">132</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610294721" class="tableheadintable" dir="auto">5</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610301829" class="tablecontentintable" dir="auto">04/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610304365" class="tablecontentintable" dir="auto">100</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610294810" class="tableheadintable" dir="auto">6</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610301986" class="tablecontentintable" dir="auto">05/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610304419" class="tablecontentintable" dir="auto">121</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610295069" class="tableheadintable" dir="auto">7</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302140" class="tablecontentintable" dir="auto">06/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id090320161030452" class="tablecontentintable" dir="auto">135</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610295133" class="tableheadintable" dir="auto">8</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302288" class="tablecontentintable" dir="auto">07/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610304756" class="tablecontentintable" dir="auto">148</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610295347" class="tableheadintable" dir="auto">9</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302389" class="tablecontentintable" dir="auto">08/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id090320161030480" class="tablecontentintable" dir="auto">148</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610295495" class="tableheadintable" dir="auto">10</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302420" class="tablecontentintable" dir="auto">09/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610304994" class="tablecontentintable" dir="auto">136</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610295668" class="tableheadintable" dir="auto">11</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302687" class="tablecontentintable" dir="auto">10/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610305156" class="tablecontentintable" dir="auto">119</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610295729" class="tableheadintable" dir="auto">12</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302713" class="tablecontentintable" dir="auto">11/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610305294" class="tablecontentintable" dir="auto">104</p>
</td>
</tr>
<tr>
<th rowspan="" colspan="" class="tableheadcell" dir="auto">
<p id="par_id0903201610300473" class="tableheadintable" dir="auto">13</p>
</th>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610302922" class="tablecontentintable" dir="auto">12/2013</p>
</td>
<td rowspan="" colspan="" dir="auto">
<p id="par_id0903201610305330" class="tablecontentintable" dir="auto">118</p>
</td>
</tr>
</table>
<br>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/01/exponsmooth_embd.xhp" target="_blank">/text/scalc/01/exponsmooth_embd.xhp</a></p>
<p dir="auto">Title is: embedded text for exponential smoothing</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>