{"id":5213,"date":"2015-05-24T15:10:28","date_gmt":"2015-05-24T09:40:28","guid":{"rendered":"http:\/\/ucanalytics.com\/blogs\/?p=5213"},"modified":"2016-09-04T11:45:32","modified_gmt":"2016-09-04T06:15:32","slug":"time-series-decomposition-manufacturing-case-study-example-part-2","status":"publish","type":"post","link":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/","title":{"rendered":"Time Series Decomposition &#8211; Manufacturing Case Study Example (Part 2)"},"content":{"rendered":"<div id=\"attachment_5212\" style=\"width: 274px\" class=\"wp-caption alignright\"><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg\"><img aria-describedby=\"caption-attachment-5212\" data-attachment-id=\"5212\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/painter-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&amp;ssl=1\" data-orig-size=\"630,1024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Painter\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=185%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-5212\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?resize=264%2C431\" alt=\"Painter\" width=\"264\" height=\"431\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?resize=154%2C250&amp;ssl=1 154w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?zoom=2&amp;resize=264%2C431 528w\" sizes=\"(max-width: 264px) 100vw, 264px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5212\" class=\"wp-caption-text\">Painter and Time Series Decomposition &#8211; by Roopam<\/p><\/div>\n<hr \/>\n<p>In the previous\u00a0article, we started a new case study on sales forecasting for a tractor and farm\u00a0equipment manufacturing company called PowerHorse. Our final\u00a0goal is\u00a0to forecast tractor sales in the next 36 months. In this article, we will delve deeper into time series decomposition. <a href=\"http:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-part-1\/\" target=\"_blank\">As discussed earlier<\/a>, the idea behind time series decomposition is to extract different regular patters embedded in the observed time series. But in order to understand why this is easier said than done we need to understand some fundamental properties of mathematics and nature as an\u00a0answer to the question:<\/p>\n<h2><span style=\"color: #3366ff;\">Why is Your Bank Password Safe?<\/span><\/h2>\n<p><span style=\"color: #333333;\"><em>Mix one part of blue and one part of yellow to make 2 parts of green<\/em><\/span>: a primary school art teacher writes this on the blackboard during a\u00a0painting class. The students in the class then curiously try this trick and <em>Voil\u00e0<\/em>! they see green colour emerging from nowhere out of blue and yellow. One of the students after exhausting all her\u00a0supplies of blue and yellow curiously\u00a0asks the teacher: how can I extract the original yellow and blue from my\u00a0two parts of green? This is where things get interesting, it is easy to mix things however it is really difficult (sometimes impossible) to\u00a0reverse the process of mixing. The underlining principle at work over here is entropy (<a href=\"http:\/\/ucanalytics.com\/blogs\/decision-tree-entropy-retail-case-part-6\/\" target=\"_blank\">read the article on decision trees and entropy<\/a>); reducing entropy (read randomness) requires a lot of work. This is essentially the reason why time series are difficult to decipher, and also the reason why your bank password is safe.<\/p>\n<p>Cryptography, the science of hiding communication, is used\u00a0to hide secrets such as bank passwords or credit card numbers and relies heavily on the above property of mixing being easier than &#8220;un-mixing&#8221;. When you share your credit card information on the internet it is available on the public domain for anybody to access. <img data-attachment-id=\"5271\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/sn-cryptography_0\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/sn-cryptography_0.jpg?fit=241%2C235&amp;ssl=1\" data-orig-size=\"241,235\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"sn-cryptography_0\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/sn-cryptography_0.jpg?fit=241%2C235&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/sn-cryptography_0.jpg?fit=241%2C235&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"alignright wp-image-5271 \" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/sn-cryptography_0.jpg?resize=235%2C233\" alt=\"\" width=\"235\" height=\"233\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/sn-cryptography_0.jpg?resize=50%2C50&amp;ssl=1 50w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/sn-cryptography_0.jpg?resize=150%2C150&amp;ssl=1 150w\" sizes=\"(max-width: 235px) 100vw, 235px\" data-recalc-dims=\"1\" \/>However, what makes it difficult for anyone without the key to use this information is the hard to decipher encryption. These encryptions at the fundamental level are created by multiplying\u00a02 really large prime numbers. By the way, a prime number (aka prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. Now multiplication of two numbers, no matter how large, is a fairly straight forward process like mixing colours. On the other hand, reversing this process i.e. factorizing a product of two large primes could take hundreds of years for the fastest computer available on the planet. This is similar to &#8220;un-mixing&#8221; blue and yellow from green. You could learn more about cryptography and encryption by reading a fascinating book by Simon Singh called &#8216;The Code Book&#8217;.<\/p>\n<h2><span style=\"color: #3366ff;\">Time Series Decomposition &#8211; Manufacturing Case Study Example<\/span><\/h2>\n<p>Back to our case study example, you are helping PowerHorse Tractors with sales forecasting (<a href=\"http:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-part-1\/\" target=\"_blank\">read part 1<\/a>). As a part of this project, one of the\u00a0production units\u00a0you are analysing is based in South East Asia. This unit is completely independent\u00a0and caters to neighbouring geographies. This unit\u00a0is just a decade and a half old. In 2014 , they captured 11% of the market share, a 14% increase from the previous year. However, being a new unit they have very little bargaining power with their suppliers to implement Just-in-Time (JiT) manufacturing principles that have worked really well in PowerHorse&#8217;s base location. Hence, they want to be on top of their production planning to maintain healthy business margins. Monthly sales forecast is the\u00a0first step you have suggested to this unit towards effective inventory management.<\/p>\n<p>In the same effort, you asked the MIS team to share month on month (MoM) sales figures (number of tractors sold) for the last 12 years. The following is the time series plot for the same:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg\"><img data-attachment-id=\"5279\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/tractor-sales\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?fit=601%2C303&amp;ssl=1\" data-orig-size=\"601,303\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Tractor Sales\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?fit=300%2C151&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?fit=601%2C303&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5279 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?resize=601%2C303\" alt=\"Tractor Sales\" width=\"601\" height=\"303\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?w=601&amp;ssl=1 601w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?resize=250%2C126&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Tractor-Sales.jpeg?resize=300%2C151&amp;ssl=1 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Now you will start with time series decomposition of this data to understand underlying patterns for tractor sales. As discussed in the previous article, usually business time series are divided into the following four components:<\/p>\n<ul>\n<li class=\"first-child\"><strong>Trend<\/strong> \u2013 \u00a0overall direction of the series i.e. upwards, downwards etc.<\/li>\n<li><strong>Seasonality<\/strong> \u2013 monthly or quarterly patterns<\/li>\n<li><strong>Cycle<\/strong>\u00a0\u2013 \u00a0long term business cycles<\/li>\n<li class=\"last-child\"><strong>Irregular remainder <\/strong>\u2013 random noise left after extraction biof all the components<strong>\u00a0<\/strong><\/li>\n<\/ul>\n<p>In the above data, a cyclic pattern seems to be non-existent since the unit we are analysing is a relatively new unit to notice business cycles. Also in theory,\u00a0business cycles in traditional businesses are observed \u00a0over a period of 7 or more years. Hence, you\u00a0won&#8217;t include business cycles in this time series decomposition exercise. We will build our model based on the following function:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D+%3D+f%28Trend_%7Bt%7D%5C+%2C+Seasonality_%7Bt%7D%5C+%2C+Remainder_%7Bt%7D%29+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t} = f(Trend_{t}&#92; , Seasonality_{t}&#92; , Remainder_{t}) \" class=\"latex\" \/><\/pre>\n<p>In the remaining article, we will study each of these components in some detail starting with trend.<\/p>\n<h2><span style=\"color: #3366ff;\">Trend &#8211; Time Series Decomposition<\/span><\/h2>\n<p style=\"text-align: left;\">Now, to begin with let&#8217;s try to decipher trends embedded in the above tractor sales time series. One of the commonly used procedures to do so is moving averages. A good analogy for\u00a0moving average is ironing clothes to remove wrinkles. The idea with moving average is to remove all the zigzag motion (wrinkles) from the time series to produce a steady trend through averaging adjacent values of a time period. Hence, the formula for moving average is:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Moving%5C+Average+%3D+%5Cfrac%7B%5Csum%5Climits_%7Bi%3D-m%7D%5Em+Y_%7Bt%2Bi%7D%7D%7B2m%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Moving&#92; Average = &#92;frac{&#92;sum&#92;limits_{i=-m}^m Y_{t+i}}{2m} \" class=\"latex\" \/><\/pre>\n<p>Now, let&#8217;s try to remove wrinkles from our time series using moving average. We will take moving average of different time periods i.e. 4,6,8, and 12 months as shown below. Here, moving average\u00a0is shown in blue and actual series in orange.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg\"><img data-attachment-id=\"5317\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/rplot-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?fit=640%2C372&amp;ssl=1\" data-orig-size=\"640,372\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Rplot\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?fit=300%2C174&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?fit=640%2C372&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-5317\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?resize=640%2C372\" alt=\"Rplot\" width=\"640\" height=\"372\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?w=640&amp;ssl=1 640w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?resize=250%2C145&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Rplot.jpeg?resize=300%2C174&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>As you could see in the above plots, 12-month moving average could produced a wrinkle free curve as desired. This on some level is expected since we are using month-wise data for our analysis and there is expected monthly-seasonal effect in our data. Now, let&#8217;s\u00a0decipher the seasonal component<\/p>\n<h2><span style=\"color: #3366ff;\">Seasonality &#8211; Time Series Decomposition<\/span><\/h2>\n<p>The first thing to do is to see how number of tractors sold vary on a month on month basis. We will plot a stacked annual plot to observe seasonality in our data. As you could see there is a fairly consistent month on month variation with July and August as the peak months for tractor sales.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg\"><img data-attachment-id=\"5281\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/seasonal-decomposition\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?fit=568%2C345&amp;ssl=1\" data-orig-size=\"568,345\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Seasonal Decomposition\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?fit=300%2C182&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?fit=568%2C345&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5281 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?resize=568%2C345\" alt=\"Seasonal Decomposition\" width=\"568\" height=\"345\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?w=568&amp;ssl=1 568w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?resize=250%2C152&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Seasonal-Decomposition.jpeg?resize=300%2C182&amp;ssl=1 300w\" sizes=\"(max-width: 568px) 100vw, 568px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<h2><span style=\"color: #3366ff;\">Irregular Remainder &#8211; Time Series Decomposition<\/span><\/h2>\n<p>To decipher underlying patterns in tractor sales, you build a multiplicative time series decomposition model with the following equation<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D+%3D+Trend_%7Bt%7D%5Ctimes+Seasonality_%7Bt%7D+%5Ctimes+Remainder_%7Bt%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t} = Trend_{t}&#92;times Seasonality_{t} &#92;times Remainder_{t} \" class=\"latex\" \/><\/pre>\n<p>Instead of multiplicative model you could have chosen additive model as well. However, it would have made very little difference in terms of \u00a0conclusion you will draw from this time series decomposition exercise. Additionally, you are also aware that plain vanilla decomposition models like these are rarely used for forecasting. Their primary purpose is to understand underlying patterns in temporal data to use in more sophisticated analysis like Holt-Winters seasonal method or ARIMA.<br \/>\n<a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg\"><img data-attachment-id=\"5278\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/time-series-decomposition-plot\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?fit=608%2C349&amp;ssl=1\" data-orig-size=\"608,349\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Time Series Decomposition Plot\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?fit=300%2C172&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?fit=608%2C349&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5278 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?resize=608%2C349\" alt=\"Time Series Decomposition Plot\" width=\"608\" height=\"349\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?w=608&amp;ssl=1 608w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?resize=250%2C144&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Time-Series-Decomposition-Plot.jpeg?resize=300%2C172&amp;ssl=1 300w\" sizes=\"(max-width: 608px) 100vw, 608px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>The following are some of your\u00a0key observations from this analysis:<\/p>\n<p><strong>1) Trend<\/strong>:\u00a012-months moving average looks quite similar to a straight line hence you could have easily used linear regression to estimate the trend in this data.<\/p>\n<p><strong>2) Seasonality: <\/strong>as discussed,\u00a0seasonal plot displays a fairly consistent month-on-month pattern.\u00a0The monthly seasonal components are average values for a month after removal of trend. Trend is removed from the time series using the following formula:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Seasonality_%7Bt%7D+%5Ctimes+Remainder_%7Bt%7D%3D%5Cfrac%7BY_%7Bt%7D%7D%7BTrend_%7Bt%7D%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"Seasonality_{t} &#92;times Remainder_{t}=&#92;frac{Y_{t}}{Trend_{t}} \" class=\"latex\" \/><\/pre>\n<p><strong>3) Irregular Remainder (random)<\/strong>: is the residual left in the series after removal of trend and seasonal components. Remainder is calculated using the following formula:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Remainder_%7Bt%7D%3D%5Cfrac%7BY_%7Bt%7D%7D%7BTrend_%7Bt%7D%5Ctimes+Seasonality_%7Bt%7D+%7D+&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"Remainder_{t}=&#92;frac{Y_{t}}{Trend_{t}&#92;times Seasonality_{t} } \" class=\"latex\" \/><\/pre>\n<p>The expectations from remainder\u00a0component is that it should look like a white noise i.e. displays no pattern at all. However, for our series residual display some pattern with high variation on the edges of data i.e. near the beginning (2004-07) and the end (2013-14) of the series.<\/p>\n<p>White noise (randomness) has an important significance in time series modelling. In the later parts of this manufacturing case study. you will use ARIMA models to forecasts sales value. ARIMA modelling is an effort to make the remainder series display white noise patterns.<\/p>\n<h4><span style=\"color: #3366ff;\">Sign-off Note<\/span><\/h4>\n<p>It is really interesting how Mother Nature has her cool ways to hide her secrets. She knows this really well that it is easy to produce complexity by mixing several simple things. However, to produce simplicity out of complexity is not at all straightforward. Any scientific exploration including business analysis is essentially an effort to decipher simple principles hiding behind mist of complexity and confusion. Go guys have fun unlocking those deep hidden secrets!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the previous\u00a0article, we started a new case study on sales forecasting for a tractor and farm\u00a0equipment manufacturing company called PowerHorse. Our final\u00a0goal is\u00a0to forecast tractor sales in the next 36 months. In this article, we will delve deeper into time series decomposition. As discussed earlier, the idea behind time series decomposition is to extract<\/p>\n<p><a class=\"excerpt-more blog-excerpt\" href=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":5212,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[74],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Time Series Decomposition - Case Study Example<\/title>\n<meta name=\"description\" content=\"Manufacturing case study example: learn about time series decomposition in our effort to forecast sales figure for a manufacturing operation.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Time Series Decomposition - Case Study Example\" \/>\n<meta property=\"og:description\" content=\"Manufacturing case study example: learn about time series decomposition in our effort to forecast sales figure for a manufacturing operation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/\" \/>\n<meta property=\"og:site_name\" content=\"YOU CANalytics |\" \/>\n<meta property=\"article:author\" content=\"roopam\" \/>\n<meta property=\"article:published_time\" content=\"2015-05-24T09:40:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-09-04T06:15:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"630\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Roopam Upadhyay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\",\"name\":\"YOU CANalytics\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120\",\"width\":607,\"height\":120,\"caption\":\"YOU CANalytics\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/\",\"name\":\"YOU CANalytics |\",\"description\":\"Explore the Power of Data Science\",\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ucanalytics.com\/blogs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1\",\"width\":630,\"height\":1024},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#webpage\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/\",\"name\":\"Time Series Decomposition - Case Study Example\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#primaryimage\"},\"datePublished\":\"2015-05-24T09:40:28+00:00\",\"dateModified\":\"2016-09-04T06:15:32+00:00\",\"description\":\"Manufacturing case study example: learn about time series decomposition in our effort to forecast sales figure for a manufacturing operation.\",\"breadcrumb\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucanalytics.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Time Series Decomposition &#8211; Manufacturing Case Study Example (Part 2)\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#webpage\"},\"author\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\"},\"headline\":\"Time Series Decomposition &#8211; Manufacturing Case Study Example (Part 2)\",\"datePublished\":\"2015-05-24T09:40:28+00:00\",\"dateModified\":\"2016-09-04T06:15:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#webpage\"},\"wordCount\":1395,\"commentCount\":19,\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1\",\"articleSection\":[\"Manufacturing Case Study Example\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\",\"name\":\"Roopam Upadhyay\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g\",\"caption\":\"Roopam Upadhyay\"},\"description\":\"This blog contains my personal views and thoughts on predictive Analytics and big data. - Roopam Upadhyay\",\"sameAs\":[\"roopam\"],\"url\":\"https:\/\/ucanalytics.com\/blogs\/author\/roopam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Time Series Decomposition - Case Study Example","description":"Manufacturing case study example: learn about time series decomposition in our effort to forecast sales figure for a manufacturing operation.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/","og_locale":"en_US","og_type":"article","og_title":"Time Series Decomposition - Case Study Example","og_description":"Manufacturing case study example: learn about time series decomposition in our effort to forecast sales figure for a manufacturing operation.","og_url":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/","og_site_name":"YOU CANalytics |","article_author":"roopam","article_published_time":"2015-05-24T09:40:28+00:00","article_modified_time":"2016-09-04T06:15:32+00:00","og_image":[{"width":630,"height":1024,"url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1","type":"image\/jpeg"}],"twitter_misc":{"Written by":"Roopam Upadhyay","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/ucanalytics.com\/blogs\/#organization","name":"YOU CANalytics","url":"https:\/\/ucanalytics.com\/blogs\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/ucanalytics.com\/blogs\/#logo","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120","width":607,"height":120,"caption":"YOU CANalytics"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/#logo"}},{"@type":"WebSite","@id":"https:\/\/ucanalytics.com\/blogs\/#website","url":"https:\/\/ucanalytics.com\/blogs\/","name":"YOU CANalytics |","description":"Explore the Power of Data Science","publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ucanalytics.com\/blogs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1","width":630,"height":1024},{"@type":"WebPage","@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#webpage","url":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/","name":"Time Series Decomposition - Case Study Example","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#primaryimage"},"datePublished":"2015-05-24T09:40:28+00:00","dateModified":"2016-09-04T06:15:32+00:00","description":"Manufacturing case study example: learn about time series decomposition in our effort to forecast sales figure for a manufacturing operation.","breadcrumb":{"@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucanalytics.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"Time Series Decomposition &#8211; Manufacturing Case Study Example (Part 2)"}]},{"@type":"Article","@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#article","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#webpage"},"author":{"@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6"},"headline":"Time Series Decomposition &#8211; Manufacturing Case Study Example (Part 2)","datePublished":"2015-05-24T09:40:28+00:00","dateModified":"2016-09-04T06:15:32+00:00","mainEntityOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#webpage"},"wordCount":1395,"commentCount":19,"publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1","articleSection":["Manufacturing Case Study Example"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/#respond"]}]},{"@type":"Person","@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6","name":"Roopam Upadhyay","image":{"@type":"ImageObject","@id":"https:\/\/ucanalytics.com\/blogs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g","caption":"Roopam Upadhyay"},"description":"This blog contains my personal views and thoughts on predictive Analytics and big data. - Roopam Upadhyay","sameAs":["roopam"],"url":"https:\/\/ucanalytics.com\/blogs\/author\/roopam\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3L0jT-1m5","jetpack-related-posts":[{"id":5051,"url":"https:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-example-part-1\/","url_meta":{"origin":5213,"position":0},"title":"Forecasting &#038; Time Series Analysis &#8211; Manufacturing Case Study Example (Part 1)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Today we are starting a new case study example series on YOU CANalytics involving forecasting and time series analysis. In this case study example, we will learn about\u00a0time series analysis for a manufacturing operation. Time series analysis and modeling have many business and social applications. It is extensively used to\u2026","rel":"","context":"In &quot;Manufacturing Case Study Example&quot;","block_context":{"text":"Manufacturing Case Study Example","link":"https:\/\/ucanalytics.com\/blogs\/category\/manufacturing-case-study-example\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/04\/Time-Series-Analysis-Sine-Curve.jpg?fit=480%2C597&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5632,"url":"https:\/\/ucanalytics.com\/blogs\/step-by-step-graphic-guide-to-forecasting-through-arima-modeling-in-r-manufacturing-case-study-example\/","url_meta":{"origin":5213,"position":1},"title":"Step-by-Step Graphic Guide to Forecasting through ARIMA Modeling using R &#8211; Manufacturing Case Study Example (Part 4)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"This article is a continuation of our manufacturing case study example to\u00a0forecast tractor sales through time series and ARIMA models. You can\u00a0find the previous parts at the following links: Part 1\u00a0: Introduction to time series modeling & forecasting Part 2: Time series decomposition to decipher patterns and trends before forecasting\u2026","rel":"","context":"In &quot;Manufacturing Case Study Example&quot;","block_context":{"text":"Manufacturing Case Study Example","link":"https:\/\/ucanalytics.com\/blogs\/category\/manufacturing-case-study-example\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/photo-1.jpg?fit=412%2C336&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5374,"url":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/","url_meta":{"origin":5213,"position":2},"title":"ARIMA Models &#8211; Manufacturing Case Study Example (Part 3)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"For the last couple of articles, we are working on a manufacturing case study to forecast tractor sales for a company called PowerHorse. You can\u00a0find the previous articles on the links Part 1 and Part 2.\u00a0In this part, we will start with ARIMA modeling for forecasting. ARIMA is an abbreviation\u2026","rel":"","context":"In &quot;Manufacturing Case Study Example&quot;","block_context":{"text":"Manufacturing Case Study Example","link":"https:\/\/ucanalytics.com\/blogs\/category\/manufacturing-case-study-example\/"},"img":{"alt_text":"White Nosie","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?resize=525%2C300 1.5x"},"classes":[]},{"id":5782,"url":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/","url_meta":{"origin":5213,"position":3},"title":"How Effective is My Marketing Budget? &#8211; Regression with ARIMA Errors, Case Study Example (Part 5)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"So far we have covered the following topics in this case study example\u00a0on time series forecasting and ARIMA models: Part 1\u00a0: Introduction to time series modeling & forecasting Part 2: Time series decomposition to decipher patterns and trends before forecasting Part 3: Introduction to ARIMA models for forecasting Part 4:\u2026","rel":"","context":"In &quot;Manufacturing Case Study Example&quot;","block_context":{"text":"Manufacturing Case Study Example","link":"https:\/\/ucanalytics.com\/blogs\/category\/manufacturing-case-study-example\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":9145,"url":"https:\/\/ucanalytics.com\/blogs\/data-simulation-regression-modeling-pricing-case-study-example-part-6\/","url_meta":{"origin":5213,"position":4},"title":"Data Simulation for Regression Modeling &#8211; Pricing Case Study Example (Part 6)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"\"Data! Data! Data!\" he cried impatiently. \"I can't make bricks without clay.\" - Sherlock Holmes This is a continuation of our regression case study example. In the previous parts, we have learned, as Sherlock Holmes says, to make bricks i.e. develop regression models. In this part, we will learn how\u2026","rel":"","context":"In &quot;Pricing Case Study Example&quot;","block_context":{"text":"Pricing Case Study Example","link":"https:\/\/ucanalytics.com\/blogs\/category\/pricing-case-study-example\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2016\/10\/Potter-1.jpg?fit=403%2C301&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":10437,"url":"https:\/\/ucanalytics.com\/blogs\/python-code-time-series-forecasting-arima-models-manufacturing-case-study-example\/","url_meta":{"origin":5213,"position":5},"title":"Python Code for Time Series Forecasting &#038; ARIMA Models &#8211; Manufacturing Case Study Example","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Business forecasting case study example\u00a0is one of the popular case\u00a0studies on YOU CANalytics. Originally, the time series analysis and forecasting for the case study were demonstrated\u00a0on R in a series of articles. One of the readers, Anindya Saha, has replicated this entire analysis in Python. You could read this python\u2026","rel":"","context":"In &quot;Manufacturing Case Study Example&quot;","block_context":{"text":"Manufacturing Case Study Example","link":"https:\/\/ucanalytics.com\/blogs\/category\/manufacturing-case-study-example\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/08\/ARIMA-Python.jpg?fit=927%2C736&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/08\/ARIMA-Python.jpg?fit=927%2C736&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/08\/ARIMA-Python.jpg?fit=927%2C736&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/08\/ARIMA-Python.jpg?fit=927%2C736&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/5213"}],"collection":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/comments?post=5213"}],"version-history":[{"count":0,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/5213\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media\/5212"}],"wp:attachment":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media?parent=5213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/categories?post=5213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/tags?post=5213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}