<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Archives CES - Open Forecasting</title>
	<atom:link href="https://openforecast.org/category/univariate-en/ces-en/feed/" rel="self" type="application/rss+xml" />
	<link>https://openforecast.org/category/univariate-en/ces-en/</link>
	<description>How to look into the future</description>
	<lastBuildDate>Sat, 30 Mar 2024 10:46:10 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2015/08/cropped-usd-05-32x32.png&amp;nocache=1</url>
	<title>Archives CES - Open Forecasting</title>
	<link>https://openforecast.org/category/univariate-en/ces-en/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>The Long and Winding Road: The Story of Complex Exponential Smoothing</title>
		<link>https://openforecast.org/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/</link>
					<comments>https://openforecast.org/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/#comments</comments>
		
		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Tue, 02 Aug 2022 12:26:53 +0000</pubDate>
				<category><![CDATA[CES]]></category>
		<category><![CDATA[Complex-valued models]]></category>
		<category><![CDATA[Stories]]></category>
		<category><![CDATA[complex variables]]></category>
		<category><![CDATA[stories]]></category>
		<guid isPermaLink="false">https://openforecast.org/?p=2902</guid>

					<description><![CDATA[<p>About the paper. Disclaimer The idea of using complex variables in modelling and forecasting was originally proposed by my father, Sergey Svetunkov. Based on that, we developed several models, which were then used in some of our research. We worked together in this direction and published several articles in Russian. My father even published a [&#8230;]</p>
<p>Message <a href="https://openforecast.org/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/">The Long and Winding Road: The Story of Complex Exponential Smoothing</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="/en/2022/08/02/complex-exponential-smoothing/">About the paper</a>.</p>
<h2>Disclaimer</h2>
<p><em>The idea of using complex variables in modelling and forecasting was originally proposed by my father, <a href="https://www.researchgate.net/profile/Sergey-Svetunkov">Sergey Svetunkov</a>. Based on that, we developed several models, which were then used in some of our research. We worked together in this direction and published several articles in Russian. My father even published a monograph &#8220;<a href="https://link.springer.com/book/10.1007/978-1-4614-5876-0">Complex-Valued Modeling in Economics and Finance</a>&#8221; based on that research.</em></p>
<h2>Pre-PhD period</h2>
<p>This story started in 2010 when I worked as an Associate Professor at the Higher School of Economics (HSE) in Saint Petersburg, Russia. By then, I had defended my candidate thesis (in Russia, this is considered an equivalent to a PhD) on the topic of &#8220;Complex Variables Production Functions&#8221;, and I was teaching Microeconomics, Econometrics and Forecasting to undergraduate students. On my way to work (which would typically take an hour), I would typically read or write something. On one of those days, I came up with the basic formula for Complex Exponential Smoothing, assigning the error term to the imaginary part of the number and using Brown&#8217;s Simple Exponential Smoothing as a basis for the new forecasting method. Just for comparison, here is the Simple Exponential Smoothing:<br />
\begin{equation*}<br />
 \hat{y}_{t+1} = \alpha y_t + (1-\alpha) \hat{y}_{t} .<br />
\end{equation*}<br />
And here is what I came up with:<br />
\begin{equation*}<br />
 \hat{y}_{t+1} + i \hat{\varsigma}_{t+1} = (\alpha_0 + i \alpha_1) (y_t + i \varsigma_t) + (1-\alpha_0 + i &#8211; i \alpha_1) (\hat{y}_{t} + i \hat{\varsigma}_{t}) .<br />
\end{equation*}<br />
I&#8217;m not explaining this formula in this post (you can read about it <a href="/en/2022/08/02/complex-exponential-smoothing/">here</a>). It is here just for demonstration. It was and still is a complicated forecasting method to understand, but the idea itself excited me. When I returned home, I continued the derivations and did some basic experiments in Excel. I developed the method further in 2010 and presented it in April 2011 at a conference on Business Informatics in Kharkiv, Ukraine (this is <a href="https://www.google.com/search?q=kharkiv+bombing&#038;source=lnms&#038;tbm=isch&#038;sa=X&#038;ved=2ahUKEwjLyITi3oT5AhWySkEAHXYXBpsQ_AUoAnoECAIQBA&#038;biw=1920&#038;bih=970">one of the cities that Russian army has been bombing</a> in the war that Putin started with Ukraine on 24th February 2022). The idea was well received, and I had encouraging feedback. The first paper on CES was then published in Russian language in the proceedings of the conference (it is available in Russian <a href="https://www.researchgate.net/profile/Kyzym-O/publication/337943538_Modeli_ocenki_analiza_i_prognozirovania_socialno-ekonomiceskih_sistem_Models_of_assessment_analysis_and_forecasting_of_socio-economic_systems/links/5df68448299bf10bc35eff88/Modeli-ocenki-analiza-i-prognozirovania-socialno-ekonomiceskih-sistem-Models-of-assessment-analysis-and-forecasting-of-socio-economic-systems.pdf">here</a> and <a href="https://www.business-inform.net/annotated-catalogue/?year=2011&#038;abstract=2011_05_1&#038;lang=ru&#038;stqa=34">here</a>, p.11 &#8211; I used to call the method &#8220;Complex Exponentially Weighted Moving Average&#8221;, CEWMA back then).</p>
<p>After that, I started thinking of preparing a paper in English and submitting it to an international peer-reviewed journal. HSE had an excellent service, where people outside your department would read your paper and provide feedback. So I used that service after preparing the first draft in English in 2012 and got a review with several comments. One of them was helpful. It said that my paper lacked proper motivation and that, in its current state, it could not be published in a peer-reviewed international journal. However, the other comment was that my research area was uninteresting, nobody did anything like that in the academic world, and thus I should find a different area of research.</p>
<p>I disagreed with the latter point and, after minor modifications, submitted the paper to the International Journal of Forecasting (IJF). As expected, Rob Hyndman (back then, editor-in-chief of the journal) replied that the paper could not be published because it lacked motivation and because I failed to show that the approach worked. At that time, I did not know how to motivate the paper or how to modify it to make it publishable, so that was a dead end for that version of the paper. But I did not want to give up, so in 2012, I applied for a PhD in Management Science at Lancaster University, writing a proposal about my model.</p>
<h2>PhD period</h2>
<p>I was admitted as a PhD student in 2013 with a scholarship from the Lancaster University Management School, and I started my work under the supervision of <a href="http://kourentzes.com/forecasting/">Nikolaos Kourentzes</a> and <a href="https://scholar.google.co.uk/citations?user=B3o74TgAAAAJ">Robert</a> <a href="https://www.lancaster.ac.uk/lums/people/robert-fildes">Fildes</a> on the topic &#8220;Complex Exponential Smoothing&#8221;. After preparing a proper experiment, I received good results and wrote the first version of the R function <code>ces()</code>. The results of this work were presented in my first International Symposium on Forecasting (ISF) in Rotterdam in 2014. Nobody noticed my presentation, and nobody seemed to care.</p>
<p>I then focused on rewriting the paper, Nikos helped me in writing up the motivation. After collecting feedback about the paper from our colleagues, we decided to submit it to a statistical journal. That was very arrogant of us &#8211; we did not understand how to write papers for such journals, and nobody in our group ever published there. As a result, we got a desk rejection from the Journal of American Statistical Association in 2015, saying that they do not publish forecasting papers.</p>
<p>In parallel, I started working on an extension of the CES for the seasonal time series, which I then presented at <a href="/en/2015/06/25/international-symposium-on-forecasting-2015-2/">ISF2015</a> at Riverside, US. I then managed to discuss my research with <a href="https://scholar.google.com/citations?user=-0p44ukAAAAJ">Keith Ord</a>, who expressed his interest in it and provided support and guidance for some parts of it. He even helped me with some derivations, which I included in the first paper.</p>
<p>To make things even more complicated, I continued work on my PhD and wrote a second paper, extending CES for seasonal time series. At the end of 2015, I resubmitted the first paper to Operations Research journal, where it got desk-rejected, and then to EJOR (European Journal of Operational Research). After a short discussion with Nikos, we decided to submit the second paper to IJF, hoping that the first will progress fast and that the two of them can be done in parallel. That was a fatal mistake, which impacted my academic career and mental well-being for the next several years.</p>
<p>Unfortunately, the first paper got rejected from EJOR after the second round of revision, with a second reviewer saying that it could not be published because we did not use the Diebold-Mariano test (yes, that was the reason. Note: we used Nemenyi instead). As for the second one, it got stuck in IJF. In the first round, the second reviewer said that the model has a fatal flaw and cannot be used in practice (he concluded that because he misunderstood how the model worked). In the second round, when we explained the model in more detail, the reviewer looked more carefully at CES and started criticising the first paper, which by then was published as a working paper. We placed ourselves in a challenging situation: we had to defend the first paper in the revision of the second one. This process led us to the third and then to the fourth round without significant progress. We were discussing the meaning of complex variables in the model and whether the imaginary part of the model makes sense instead of discussing the seasonal extension of CES. It was apparent that the model works (it performed better than ETS and ARIMA on the M competition data), but the reviewers had questions about the interpretation of the original model. In the fourth round, an Associate Editor of IJF has written that &#8220;<em>I still maintain view and so does reviewer 2 that there is an interesting paper lurking under this paper but we are yet to see it and evaluate it on its own merits</em>&#8220;. It became clear that we were not moving forward and that the only way out of this dead end would be to merge the two papers and restart the submission process &#8211; by then, we were discussing a completely different paper than the one submitted initially to IJF. I was not ready for this serious step, and I decided not to continue the revision process in IJF and put the paper on hold. By then, my publishing experience had been very disappointing and demotivating, and I struggled to continue doing anything in that research direction. Whenever I would open the paper, it would spoil my mood for the rest of the day, as I would think that it was unpublishable and that nobody needed my work (as I&#8217;ve been told repeatedly by many different people starting from 2010).</p>
<p>Nonetheless, somewhere in the middle of the IJF revision, at the end of 2016, I had my viva. I got PhD in Management Science defending the thesis on the topic &#8220;Complex Exponential Smoothing&#8221;.</p>
<h2>Post-PhD period</h2>
<p>At the end of 2017, Fotios Petropoulos suggested me to participate in the <a href="https://en.wikipedia.org/wiki/Makridakis_Competitions">M4 competition</a>. His idea was to submit a combination of forecasts from several models: ETS, ARIMA, Theta and CES. After trying out several options, we used median for the combination (I must confess that we weren&#8217;t the first ones that did that, this was investigated, for example, by <a href="http://doi.org/10.1016/j.ijforecast.2007.06.001">Jose &#038; Winkler, 2008</a>). This approach got to 6th place in the competition. We were invited to submit a paper explaining our approach, which was then published in IJF (<a href="https://doi.org/10.1016/j.ijforecast.2019.01.006">Petropoulos &#038; Svetunkov, 2020</a>). That paper is the first paper published in a peer-reviewed journal discussing CES.</p>
<p>In 2018, during the ISF in Boulder, Nikos and I invited Keith Ord to join our paper &#8211; he supported me during my PhD and made a substantial contribution to the paper. We decided to clean the paper up, rewrite some parts, and submit it to a peer-reviewed journal as a paper from three co-authors. It took us some time to return to the original text, revive the R code and update the paper. In the middle of 2019, Nikos, Keith and I submitted the CES paper to the Journal of Time Series Analysis. It was a desk rejection with a comment that the Associate Editor &#8220;<em>&#8230;argues that your paper is a relatively straightforward extension of smoothing via a state space model</em>&#8221; and thus the paper &#8220;<em>is not appropriate for publication in this journal in terms of substantive content</em>&#8220;. We rewrote the motivation to align the paper with an OR-related journal and submitted it to Omega, to get another desk rejection saying that it is too mathematical for them and that the paper &#8220;<em>is quite technical and would likely be best served by targeting a journal in the time series or forecasting field instead</em>&#8220;.</p>
<p>Finally, at the end of 2019, we submitted the paper to Naval Research Logistics (NRL). By then, I did not have any expectations about the paper and was sure that it would either be a desk rejection or a rejection from reviewers &#8211; I had seen this outcome so many times that it would be naive to expect anything else to happen. However, this time we got an Associate Editor who liked the idea and supported us from the first revision. In fact, they pointed out that CES has already been used in M4 competition and showed that it brought value. On 24th February 2021, we got our first round of revision, after which I decided to move some parts of paper 2 (seasonal CES) to the first one, merging the two. It made sense because the paper would now look complete. While one of the reviewers was sceptical about the paper, Associate Editor provided colossal support and guided us in what to change in the paper so that it could be accepted in NRL. After two rounds and some additional rewrites of the paper, on 18th June 2022, it was accepted for publication in Naval Research Logistics, and then published online on 2nd August 2022.</p>
<h2>Conclusions</h2>
<p>Complex Exponential Smoothing is a complex idea, something that people are not used to. It stands out and does things differently, not the way the researchers typically do. This is what makes it interesting, and this is what made it extremely difficult to publish. Over the years, I questioned the correctness and usefulness of my idea many times. Some days I would be dancing around, singing &#8220;it works, it works&#8221; after a successful experiment; on others, I would throw it away, saying &#8220;never again&#8221; when the experiments failed. This is all part of academic life. However, the most challenging experience for me was the publication of the paper. Over the years, I have met a lot of resistance from the academic world.</p>
<p>I have not included here comments from my former Higher School of Economics colleagues or comments from some journal reviewers. They rarely were pleasant and supportive. Some people did not understand the idea, the others did not want to understand it. But there were always several people around me who helped and guided me. I would not be able to publish the paper in the end if it was not for the support from Nikos Kourentzes, Keith Ord, Sergey Svetunkov (my father) and Anna Sroginis (my wife). They believed in the idea and supported me even when it looked that it wouldn&#8217;t work. So, I am immensely grateful for their support. It has been a long and winding road&#8230; and I&#8217;m glad that it&#8217;s finally over.</p>
<p>As for the <strong>lessons to learn</strong> from this, I have several for you:</p>
<ul>
<li>Do not try publishing dependent papers in parallel: if your second paper depends on the first one, do not submit it before the first one is at least accepted.</li>
<li>If you want to publish in a journal in which your group does not typically publish, find a person who does and work with them. That became apparent to me when I worked on a different paper with a colleague from a statistics department. Statistical journals have a completely different style than the OR ones, and we had no chance to publish CES paper there.</li>
<li><strong>As a reviewer</strong>, you might not understand the paper you are reviewing. This is okay. We cannot know and understand everything instantaneously. But that does not mean that the paper is not good. It only means that you need to invest more time in understanding the paper and then help to improve it (yes, paper revision is a serious job, not a box-ticking process). I had many comments of the style &#8220;I did not understand it, so reject&#8221;. This is not how revisions should be done.</li>
</ul>
<p>Last but not least, be critical of your ideas, but if you believe in something, stick with it and be patient. It might take a lot of time for other people to start appreciating what you have been trying to show them.</p>
<p>Message <a href="https://openforecast.org/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/">The Long and Winding Road: The Story of Complex Exponential Smoothing</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://openforecast.org/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Complex Exponential Smoothing</title>
		<link>https://openforecast.org/2022/08/02/complex-exponential-smoothing/</link>
					<comments>https://openforecast.org/2022/08/02/complex-exponential-smoothing/#respond</comments>
		
		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Tue, 02 Aug 2022 12:23:39 +0000</pubDate>
				<category><![CDATA[CES]]></category>
		<category><![CDATA[Package smooth for R]]></category>
		<category><![CDATA[Papers]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[papers]]></category>
		<guid isPermaLink="false">https://openforecast.org/?p=2901</guid>

					<description><![CDATA[<p>Authors: Ivan Svetunkov, Nikolaos Kourentzes, Keith Ord. Journal: Naval Research Logistics Abstract: Exponential smoothing has been one of the most popular forecasting methods used to support various decisions in organisations, in activities such as inventory management, scheduling, revenue management and other areas. Although its relative simplicity and transparency have made it very attractive for research [&#8230;]</p>
<p>Message <a href="https://openforecast.org/2022/08/02/complex-exponential-smoothing/">Complex Exponential Smoothing</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Authors</strong>: Ivan Svetunkov, Nikolaos Kourentzes, Keith Ord.</p>
<p><strong>Journal</strong>: Naval Research Logistics</p>
<p><strong>Abstract</strong>: Exponential smoothing has been one of the most popular forecasting methods used to support various decisions in organisations, in activities such as inventory management, scheduling, revenue management and other areas. Although its relative simplicity and transparency have made it very attractive for research and practice, identifying the underlying trend remains challenging with significant impact on the resulting accuracy. This has resulted in the development of various modifications of trend models, introducing a model selection problem. With the aim of addressing this problem, we propose the Complex Exponential Smoothing (CES), based on the theory of functions of complex variables. The basic CES approach involves only two parameters and does not require a model selection procedure. Despite these simplifications, CES proves to be competitive with, or even superior to existing methods. We show that CES has several advantages over conventional exponential smoothing models: it can model and forecast both stationary and non-stationary processes, and CES can capture both level and trend cases, as defined in the conventional exponential smoothing classification. CES is evaluated on several forecasting competition datasets, demonstrating better performance than established benchmarks. We conclude that CES has desirable features for time series modelling and opens new promising avenues for research.</p>
<p><a href="/wp-content/uploads/2022/07/Svetunkov-et-al.-2022-Complex-Exponential-Smoothing.pdf">Working paper</a></p>
<p>DOI: <a href="http://doi.org/10.1002/nav.22074" targe="blank">10.1002/nav.22074</a></p>
<p><a href="/en/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/">The story of the paper</a>.</p>
<h2>The idea of Complex Exponential Smoothing</h2>
<p>One of the most fundamental ideas in forecasting is the decomposition of time series into several unobservable components (see, for example, <a href="https://openforecast.org/adam/tsComponents.html">Section 3.1 of ADAM monograph</a>), typically: level, trend, seasonality, error. <a href="https://openforecast.org/adam/ETSConventional.html">ETS</a> relies on this idea of decomposition and implements the <a href="https://openforecast.org/adam/ETSSelection.html">selection of components via information criteria</a>. However, not all time series have these components and the split itself is arbitrary, because, for example, in practice time series with slow trend might be indistinguishable from the series with rapidly changing level. Furthermore, in reality, the data can be more complicated &#8211; it might not have distinct level and trend, and instead can represent a non-linear mixture of unobservable components.</p>
<p>Complex Exponential Smoothing models non-linearity in time series and captures a structure in a different way. Here is how the conventional CES method is formulated:</p>
<p>\begin{equation} \label{eq:cesalgebraic}<br />
	\hat{y}_{t} + i \hat{e}_{t} = (\alpha_0 + i\alpha_1)(y_{t-1} + i e_{t-1}) + (1 &#8211; \alpha_0 + i &#8211; i\alpha_1)(\hat{y}_{t-1} + i \hat{e}_{t-1}) ,<br />
\end{equation}<br />
where \(y_t\) is the actual value, \(e_t\) is the forecast error, \(\hat{y}_t\) is the predicted value, \(\hat{e}_t\) is proxy for the error term, \(\alpha_0\) and \(\alpha_1\) are the smoothing parameters and \(i\) is the imaginary unit, satisfying the equation \(i^2=-1\). Due to the usage of complex variables, the method allows distributing weights between the observations over time in a non-linear way. This becomes more apparent if we insert the same formula \eqref{eq:cesalgebraic} in the right hand side of \eqref{eq:cesalgebraic} and do that several times to get a recursion (similar how it is typically done for Simple Exponential Smoothing. See for, example, <a href="https://openforecast.org/adam/SES.html#whyExponential">Subsection 3.4.2 of ADAM monograph</a>):<br />
\begin{equation} \label{eq:cesalgebraicExpanded}<br />
	\begin{aligned}<br />
		\hat{y}_{t} + i \hat{e}_{t} = &#038; (\alpha_0 + i\alpha_1)(y_{t-1} + i e_{t-1}) + \\<br />
					      &#038; (\alpha_0 + i\alpha_1) (1 &#8211; \alpha_0 + i &#8211; i\alpha_1) (y_{t-2} + i e_{t-2}) + \\<br />
					      &#038; (\alpha_0 + i\alpha_1) (1 &#8211; \alpha_0 + i &#8211; i\alpha_1)^2 (y_{t-3} + i e_{t-3}) + \\<br />
					      &#038; &#8230; + \\<br />
					      &#038; (\alpha_0 + i\alpha_1) (1 &#8211; \alpha_0 + i &#8211; i\alpha_1)^{t-2} (y_{1} + i e_{1}) + \\<br />
					      &#038; (1 &#8211; \alpha_0 + i &#8211; i\alpha_1)^{t-1} (\hat{y}_{1} + i \hat{e}_{1}) .<br />
	\end{aligned}<br />
\end{equation}<br />
This exponentiation of \((1 &#8211; \alpha_0 + i &#8211; i\alpha_1)\) in the formula above is what distributes the weights over time in a non-linear fashion. All of this is difficult to understand, so here is a beautiful figure showing how the weights can be distributed over time (blue line &#8211; weights for the actual value, green one &#8211; weights for the forecast errors):</p>
<div id="attachment_2978" style="width: 650px" class="wp-caption aligncenter"><a href="/wp-content/uploads/2022/07/cspweights.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-2978" src="/wp-content/uploads/2022/07/cspweights-1024x410.png" alt="" width="640" height="256" class="size-large wp-image-2978" srcset="https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cspweights-1024x410.png&amp;nocache=1 1024w, https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cspweights-300x120.png&amp;nocache=1 300w, https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cspweights-768x307.png&amp;nocache=1 768w, https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cspweights-1536x614.png&amp;nocache=1 1536w, https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cspweights-2048x819.png&amp;nocache=1 2048w" sizes="(max-width: 640px) 100vw, 640px" /></a><p id="caption-attachment-2978" class="wp-caption-text">Distribution of weights between observations on complex and real plains. Blue line &#8211; weight for actual values, green line &#8211; weights for the errors.</p></div>
<p>Depending on values of the complex smoothing parameter \(\alpha_0 + i\alpha_1\), the distribution of weights will have different shape. It does not need to be harmonic as on the plot above, it can also be classical exponential (as in Simple Exponential Smoothing), which is achieved, when \(\alpha_1\) is close to one. This is what gives CES its flexibility and allows it deal with both stationary and non-stationary time series, without a need of switching between time series components.</p>
<p>The published paper also discusses a seasonal modification of CES model, which introduces seasonal component that can act either as additive, or multiplicative, or something in-between the two. I do not provide the formula here, because it is cumbersome.</p>
<h2>Examples in R</h2>
<p>In R, CES is implemented in <code>ces()</code> of <code>smooth</code> package. There is also <code>auto.ces()</code> function which does selection between seasonal and non-seasonal models using information criteria. The syntax of the function is similar to the one of <code>es()</code> and <code>adam()</code>. Here is an example of its application:</p>
<pre class="decode">cesModel <- smooth::auto.ces(BJsales, holdout=TRUE, h=12)
cesModel</pre>
<pre>Time elapsed: 0.05 seconds
Model estimated: CES(n)
a0 + ia1: 1.9981+1.0034i
Initial values were produced using backcasting.

Loss function type: likelihood; Loss function value: 249.4613
Error standard deviation: 1.4914
Sample size: 138
Number of estimated parameters: 3
Number of degrees of freedom: 135
Information criteria:
     AIC     AICc      BIC     BICc 
504.9227 505.1018 513.7045 514.1457 

Forecast errors:
MPE: 0%; sCE: 0.7%; Asymmetry: -5%; MAPE: 0.4%
MASE: 0.857; sMAE: 0.4%; sMSE: 0%; rMAE: 0.329; rRMSE: 0.338</pre>
<p>The output above has been discussed on this website in the context of <code>es()</code> in <a href="/en/2016/11/02/smooth-package-for-r-es-function-part-ii-pure-additive-models/">this post</a>. The main difference is in the reported parameter. We see that \(\alpha_0 + i\alpha_1 = 1.9981 + i 1.0034\). The estimated model can then be used in forecasting, for example, using the command:</p>
<pre class="decode">cesModel |> forecast(h=12, interval="p") |> plot()</pre>
<p>to get:</p>
<div id="attachment_3007" style="width: 310px" class="wp-caption aligncenter"><a href="/wp-content/uploads/2022/07/cesForecast.png"><img decoding="async" aria-describedby="caption-attachment-3007" src="/wp-content/uploads/2022/07/cesForecast-300x210.png" alt="" width="300" height="210" class="size-medium wp-image-3007" srcset="https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cesForecast-300x210.png&amp;nocache=1 300w, https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cesForecast-768x538.png&amp;nocache=1 768w, https://openforecast.org/wp-content/webpc-passthru.php?src=https://openforecast.org/wp-content/uploads/2022/07/cesForecast.png&amp;nocache=1 1000w" sizes="(max-width: 300px) 100vw, 300px" /></a><p id="caption-attachment-3007" class="wp-caption-text">CES forecast on the Box-Jenkins sales data</p></div>
<p>This function hasn't changed since I finished my PhD in 2016, so the results in terms of its accuracy discussed in <a href="/en/2018/01/01/smooth-functions-in-2017/">this post</a> still hold. It does not perform stellar, but as <a href="https://doi.org/10.1016/j.ijforecast.2019.01.006">Petropoulos & Svetunkov (2020)</a> showed, it brings value in combination of models. This is because CES captures well the long term tendencies in time series.</p>
<p>Last but not least, I plan to update the code of <code>ces()</code> as a part of the move to more efficient C++ routine in the <code>smooth</code> package in v3.2.0. So, its performance will change slightly but probably will not change much.</p>
<h2>Acknowledgments</h2>
<p>As a final word, I am immensely grateful to <a href="http://kourentzes.com/forecasting/">Nikolaos Kourentzes</a>, who believed in CES back in 2012 and supported me throughout these years, during my PhD and after it without hesitation. I am also grateful to <a href="https://scholar.google.com/citations?user=-0p44ukAAAAJ">Keith Ord</a> who helped in improving the paper and making it happen in the end. Finally, I am grateful to my father, <a href="https://www.researchgate.net/profile/Sergey-Svetunkov">Sergey Svetunkov</a>, who provided me guidance in my first steps in academia and believed in my research, when it wasn't even fashionable.</p>
<p>If you want to know more about CES, <a href="/wp-content/uploads/2022/07/Svetunkov-et-al.-2022-Complex-Exponential-Smoothing.pdf">read the paper</a> (you can do it <a href="https://doi.org/10.1002/nav.22074" targe="blank">here</a> as well) or <a href="/en/2022/08/02/the-long-and-winding-road-the-story-of-complex-exponential-smoothing/">read the story of the paper</a>.</p>
<p>Message <a href="https://openforecast.org/2022/08/02/complex-exponential-smoothing/">Complex Exponential Smoothing</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://openforecast.org/2022/08/02/complex-exponential-smoothing/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A simple combination of univariate models</title>
		<link>https://openforecast.org/2019/04/18/a-simple-combination-of-univariate-models/</link>
					<comments>https://openforecast.org/2019/04/18/a-simple-combination-of-univariate-models/#comments</comments>
		
		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Thu, 18 Apr 2019 08:39:17 +0000</pubDate>
				<category><![CDATA[Applied forecasting]]></category>
		<category><![CDATA[ARIMA]]></category>
		<category><![CDATA[CES]]></category>
		<category><![CDATA[ETS]]></category>
		<category><![CDATA[Univariate models]]></category>
		<category><![CDATA[papers]]></category>
		<guid isPermaLink="false">https://openforecast.org/?p=1949</guid>

					<description><![CDATA[<p>Fotios Petropoulos and I have participated last year in M4 competition. Our approach performed well, finishing as 6th in the competition. This paper in International Journal of Forecasting explains what we used in our approach and why. Here&#8217;s the abstract: This paper describes the approach that we implemented for producing the point forecasts and prediction [&#8230;]</p>
<p>Message <a href="https://openforecast.org/2019/04/18/a-simple-combination-of-univariate-models/">A simple combination of univariate models</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://researchportal.bath.ac.uk/en/persons/fotios-petropoulos" rel="noopener noreferrer" target="_blank">Fotios Petropoulos</a> and I have participated last year in M4 competition. Our approach performed well, finishing as 6th in the competition. <a href="https://doi.org/10.1016/j.ijforecast.2019.01.006" rel="noopener noreferrer" target="_blank">This paper in International Journal of Forecasting</a> explains what we used in our approach and why. Here&#8217;s the abstract:</p>
<p>This paper describes the approach that we implemented for producing the point forecasts and prediction intervals for our M4-competition submission. The proposed simple combination of univariate models (SCUM) is a median combination of the point forecasts and prediction intervals of four models, namely exponential smoothing, complex exponential smoothing, automatic autoregressive integrated moving average and dynamic optimised theta. Our submission performed very well in the M4-competition, being ranked 6th for the point forecasts (with a small difference compared to the 2nd submission) and prediction intervals and 2nd and 3rd for the point forecasts of the weekly and quarterly data respectively.</p>
<p><a href="https://doi.org/10.1016/j.ijforecast.2019.01.006" rel="noopener noreferrer" target="_blank">Paper in IJF</a>.<br />
<a href="https://openforecast.org/wp-content/uploads/2019/04/IJF-2019-SCUM-post-print.pdf">Postprint of the paper</a>.</p>
<p>Message <a href="https://openforecast.org/2019/04/18/a-simple-combination-of-univariate-models/">A simple combination of univariate models</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://openforecast.org/2019/04/18/a-simple-combination-of-univariate-models/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Complex Exponential Smoothing (Working paper)</title>
		<link>https://openforecast.org/2016/02/01/complex-exponential-smoothing-working-paper-2/</link>
					<comments>https://openforecast.org/2016/02/01/complex-exponential-smoothing-working-paper-2/#respond</comments>
		
		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Mon, 01 Feb 2016 14:21:29 +0000</pubDate>
				<category><![CDATA[CES]]></category>
		<category><![CDATA[Complex-valued models]]></category>
		<category><![CDATA[complex variables]]></category>
		<category><![CDATA[papers]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[theory]]></category>
		<guid isPermaLink="false">https://openforecast.org/?p=905</guid>

					<description><![CDATA[<p>Some time ago I have published the working paper on Complex Exponential Smoothing on ResearchGate website. This is the paper written by Nikolaos Kourentzes and I in 2015. It explains a new approach in time series modelling and in forecasting, based on a notion of &#8220;information potential&#8221;. The model, resulting from this idea, allows to [&#8230;]</p>
<p>Message <a href="https://openforecast.org/2016/02/01/complex-exponential-smoothing-working-paper-2/">Complex Exponential Smoothing (Working paper)</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Some time ago I have published the working paper on Complex Exponential Smoothing on <a href="https://www.researchgate.net/publication/283488877_Complex_Exponential_Smoothing" target="_blank">ResearchGate</a> website. This is the paper written by <a href="http://kourentzes.com/forecasting" target="_blank">Nikolaos Kourentzes</a> and I in 2015. It explains a new approach in time series modelling and in forecasting, based on a notion of &#8220;information potential&#8221;. The model, resulting from this idea, allows to effectively forecast both trend and level time series (and it does it better than the conventional ETS). This paper is currently in the reviewing process, but it has already been read by 43 scientists on <a href="https://www.researchgate.net/publication/283488877_Complex_Exponential_Smoothing" target="_blank">ResearchGate</a>.</p>
<p>Message <a href="https://openforecast.org/2016/02/01/complex-exponential-smoothing-working-paper-2/">Complex Exponential Smoothing (Working paper)</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://openforecast.org/2016/02/01/complex-exponential-smoothing-working-paper-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>International Symposium on Forecasting 2015</title>
		<link>https://openforecast.org/2015/06/25/international-symposium-on-forecasting-2015-2/</link>
					<comments>https://openforecast.org/2015/06/25/international-symposium-on-forecasting-2015-2/#respond</comments>
		
		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Thu, 25 Jun 2015 14:28:29 +0000</pubDate>
				<category><![CDATA[CES]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[complex variables]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[ISF]]></category>
		<category><![CDATA[presentations]]></category>
		<guid isPermaLink="false">https://openforecast.org/?p=907</guid>

					<description><![CDATA[<p>I have given a presentation on ISF2015 in Riverside, USA. The topic of presentation was Complex Exponential Smoothing for Time Series Forecasting. This is based on a paper submitted to International Journal on Forecasting, which is currently under review. Here&#8217;s the presentation.</p>
<p>Message <a href="https://openforecast.org/2015/06/25/international-symposium-on-forecasting-2015-2/">International Symposium on Forecasting 2015</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have given a presentation on ISF2015 in Riverside, USA. The topic of presentation was Complex Exponential Smoothing for Time Series Forecasting. This is based on a paper submitted to International Journal on Forecasting, which is currently under review. Here&#8217;s the <a href="/wp-content/uploads/2015/06/2015-06-24_Svetunkov_CES_full.pdf">presentation</a>.</p>
<p>Message <a href="https://openforecast.org/2015/06/25/international-symposium-on-forecasting-2015-2/">International Symposium on Forecasting 2015</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://openforecast.org/2015/06/25/international-symposium-on-forecasting-2015-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Presentation on Management Science seminar at Lancaster University</title>
		<link>https://openforecast.org/2015/03/18/presentation-on-management-science-seminar-at-lancaster-university/</link>
					<comments>https://openforecast.org/2015/03/18/presentation-on-management-science-seminar-at-lancaster-university/#respond</comments>
		
		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Wed, 18 Mar 2015 15:10:30 +0000</pubDate>
				<category><![CDATA[CES]]></category>
		<category><![CDATA[Complex-valued models]]></category>
		<category><![CDATA[complex variables]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[presentations]]></category>
		<guid isPermaLink="false">https://openforecast.org/?p=911</guid>

					<description><![CDATA[<p>Today I have given a presentation on the topic of Complex Exponential Smoothing on Management Science seminar at Lancaster University. Lecturers and PhD students of the department attended the presentation and seemed to like it. However, only in the morning of the day I realised that I have prepared a wrong presentation (it should have [&#8230;]</p>
<p>Message <a href="https://openforecast.org/2015/03/18/presentation-on-management-science-seminar-at-lancaster-university/">Presentation on Management Science seminar at Lancaster University</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today I have given a presentation on the topic of Complex Exponential Smoothing on Management Science seminar at Lancaster University. Lecturers and PhD students of the department attended the presentation and seemed to like it. However, only in the morning of the day I realised that I have prepared a wrong presentation (it should have been on the topic of seasonal model) and forgot to update file with the presentation in Dropbox. As a result I used a white board in order to explain some aspects of the proposed forecasting approach. Still, it seems that no one has noticed that something was wrong&#8230; and only one person was sleeping during the presentation, which I consider as a personal achievement.</p>
<p>Here&#8217;re the <a href="/wp-content/uploads/2015/03/2015-03-18_Svetunkov_CES-full.pdf">slides of the presentation</a>.</p>
<p>Message <a href="https://openforecast.org/2015/03/18/presentation-on-management-science-seminar-at-lancaster-university/">Presentation on Management Science seminar at Lancaster University</a> first appeared on <a href="https://openforecast.org">Open Forecasting</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://openforecast.org/2015/03/18/presentation-on-management-science-seminar-at-lancaster-university/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
