<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: &#8220;smooth&#8221; package for R. Intermittent state-space model. Part I. Introducing the model	</title>
	<atom:link href="https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/feed/" rel="self" type="application/rss+xml" />
	<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/</link>
	<description>How to look into the future</description>
	<lastBuildDate>Sat, 09 Jan 2021 11:43:23 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Ivan Svetunkov		</title>
		<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-66</link>

		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Tue, 25 Sep 2018 12:29:43 +0000</pubDate>
		<guid isPermaLink="false">https://openforecast.org/?p=1832#comment-66</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-65&quot;&gt;Casper&lt;/a&gt;.

This happens sometimes, I&#039;m not sure why...

The problem with seasonal models on intermittent data is exactly what you say - very low number of observations. So the default univariate models will struggle with fitting anything meaningful with seasonality. John Boylan, Stephan Kolassa and I are currently working on one of the potential solutions for this problem (using vector models instead of univariate ones), but this is an ongoing research, in an alpha stage...

One of the potential solutions for now is to use dummy variables for seasons instead (for the cases, where intermittent!=0) - this might work slightly better. You can use xreg parameter in es() for that. Please, let me know if this works.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-65">Casper</a>.</p>
<p>This happens sometimes, I&#8217;m not sure why&#8230;</p>
<p>The problem with seasonal models on intermittent data is exactly what you say &#8211; very low number of observations. So the default univariate models will struggle with fitting anything meaningful with seasonality. John Boylan, Stephan Kolassa and I are currently working on one of the potential solutions for this problem (using vector models instead of univariate ones), but this is an ongoing research, in an alpha stage&#8230;</p>
<p>One of the potential solutions for now is to use dummy variables for seasons instead (for the cases, where intermittent!=0) &#8211; this might work slightly better. You can use xreg parameter in es() for that. Please, let me know if this works.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Casper		</title>
		<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-65</link>

		<dc:creator><![CDATA[Casper]]></dc:creator>
		<pubDate>Tue, 25 Sep 2018 12:15:54 +0000</pubDate>
		<guid isPermaLink="false">https://openforecast.org/?p=1832#comment-65</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-64&quot;&gt;Ivan Svetunkov&lt;/a&gt;.

I restarted my R session and now it works - I&#039;m not sure what happened. 

The results are, however, not as great as I had hoped. The main issue is that the data is seasonal, but I can only estimate a non-seasonal model due to too few non-zero values. I guess this is due to the fact that the underlying model tries to estimate seasonality for all of the year, and I only have data for around 14 weeks during the winter?

Do you have any ideas for how to proceed? I haven&#039;t come across anything solving this problem yet, although I feel it should be quite a common problem in retailing.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-64">Ivan Svetunkov</a>.</p>
<p>I restarted my R session and now it works &#8211; I&#8217;m not sure what happened. </p>
<p>The results are, however, not as great as I had hoped. The main issue is that the data is seasonal, but I can only estimate a non-seasonal model due to too few non-zero values. I guess this is due to the fact that the underlying model tries to estimate seasonality for all of the year, and I only have data for around 14 weeks during the winter?</p>
<p>Do you have any ideas for how to proceed? I haven&#8217;t come across anything solving this problem yet, although I feel it should be quite a common problem in retailing.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ivan Svetunkov		</title>
		<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-64</link>

		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Tue, 25 Sep 2018 11:22:10 +0000</pubDate>
		<guid isPermaLink="false">https://openforecast.org/?p=1832#comment-64</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-63&quot;&gt;Casper&lt;/a&gt;.

In general this thing that you use:
es(data, “MNN”, intermittent = dummy_vector, h = h)
should work. If it doesn&#039;t then it&#039;s possible that you found a bug. Can you, please, report it here: https://github.com/config-i1/smooth/issues - so we can figure out what&#039;s happening?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-63">Casper</a>.</p>
<p>In general this thing that you use:<br />
es(data, “MNN”, intermittent = dummy_vector, h = h)<br />
should work. If it doesn&#8217;t then it&#8217;s possible that you found a bug. Can you, please, report it here: <a href="https://github.com/config-i1/smooth/issues" rel="nofollow ugc">https://github.com/config-i1/smooth/issues</a> &#8211; so we can figure out what&#8217;s happening?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Casper		</title>
		<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-63</link>

		<dc:creator><![CDATA[Casper]]></dc:creator>
		<pubDate>Tue, 25 Sep 2018 11:15:09 +0000</pubDate>
		<guid isPermaLink="false">https://openforecast.org/?p=1832#comment-63</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-62&quot;&gt;Ivan Svetunkov&lt;/a&gt;.

Hi Ivan,

Thanks for your answer. I do happen to know when the sales start and end, so I think the first approach would make most sense. 

What do you mean exactly when you say to provide the dummy vector to the intermittent parameter? I tried fitting a model like this:
es(data, &quot;MNN&quot;, intermittent = dummy_vector, h = h), and got an error (i also tried fitting other types than MNN).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-62">Ivan Svetunkov</a>.</p>
<p>Hi Ivan,</p>
<p>Thanks for your answer. I do happen to know when the sales start and end, so I think the first approach would make most sense. </p>
<p>What do you mean exactly when you say to provide the dummy vector to the intermittent parameter? I tried fitting a model like this:<br />
es(data, &#8220;MNN&#8221;, intermittent = dummy_vector, h = h), and got an error (i also tried fitting other types than MNN).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ivan Svetunkov		</title>
		<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-62</link>

		<dc:creator><![CDATA[Ivan Svetunkov]]></dc:creator>
		<pubDate>Mon, 24 Sep 2018 09:34:13 +0000</pubDate>
		<guid isPermaLink="false">https://openforecast.org/?p=1832#comment-62</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-61&quot;&gt;Casper&lt;/a&gt;.

Hi Casper,

I don&#039;t have a specific model for that yet, and I have not covered some specifics of the functions of smooth in order to give the detailed answer. But if you know when the sales start and when they end (so you know specific values for o_t), then you can provide those values as a vector of dummies in the intermittent parameter. The other option would be to model time varying probability based on ETS(M,N,M) model for demand occurrence (meaning that there are periods, when probability is very high and the others, when it&#039;s very low), but this relies on logistic model that has not been covered yet, and has its own limitations. I will discuss it in the next post.

Cheers,
Ivan]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-61">Casper</a>.</p>
<p>Hi Casper,</p>
<p>I don&#8217;t have a specific model for that yet, and I have not covered some specifics of the functions of smooth in order to give the detailed answer. But if you know when the sales start and when they end (so you know specific values for o_t), then you can provide those values as a vector of dummies in the intermittent parameter. The other option would be to model time varying probability based on ETS(M,N,M) model for demand occurrence (meaning that there are periods, when probability is very high and the others, when it&#8217;s very low), but this relies on logistic model that has not been covered yet, and has its own limitations. I will discuss it in the next post.</p>
<p>Cheers,<br />
Ivan</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Casper		</title>
		<link>https://openforecast.org/2018/09/18/smooth-package-for-r-intermittent-state-space-model-part-i-introducing-the-model/#comment-61</link>

		<dc:creator><![CDATA[Casper]]></dc:creator>
		<pubDate>Sat, 22 Sep 2018 14:58:05 +0000</pubDate>
		<guid isPermaLink="false">https://openforecast.org/?p=1832#comment-61</guid>

					<description><![CDATA[Interesting post! Can you elaborate on how one could tackle the problem of seasonal intermittency/absence, as with the watermelons only being sold for part of the year? I&#039;m currently facing this issue with some products being sold only for 4-5 months per year,, where they have continuous demand, and then no demand at all for the remaining months.
I have thought about using a different frequency for the time series and removing the periods with no sales, but sadly the starting and ending period are not always in the same week each year.]]></description>
			<content:encoded><![CDATA[<p>Interesting post! Can you elaborate on how one could tackle the problem of seasonal intermittency/absence, as with the watermelons only being sold for part of the year? I&#8217;m currently facing this issue with some products being sold only for 4-5 months per year,, where they have continuous demand, and then no demand at all for the remaining months.<br />
I have thought about using a different frequency for the time series and removing the periods with no sales, but sadly the starting and ending period are not always in the same week each year.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
