{"id":5374,"date":"2015-06-07T10:34:15","date_gmt":"2015-06-07T05:04:15","guid":{"rendered":"http:\/\/ucanalytics.com\/blogs\/?p=5374"},"modified":"2018-04-30T14:15:53","modified_gmt":"2018-04-30T08:45:53","slug":"arima-models-manufacturing-case-study-example-part-3","status":"publish","type":"post","link":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/","title":{"rendered":"ARIMA Models &#8211; Manufacturing Case Study Example (Part 3)"},"content":{"rendered":"<hr \/>\n<div id=\"attachment_5378\" style=\"width: 235px\" class=\"wp-caption alignright\"><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg\"><img aria-describedby=\"caption-attachment-5378\" data-attachment-id=\"5378\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/sugercane-juice\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&amp;ssl=1\" data-orig-size=\"247,448\" 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=\"Sugercane Juice\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=165%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-5378\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?resize=225%2C408\" alt=\"Sugercane Juice\" width=\"225\" height=\"408\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?w=247&amp;ssl=1 247w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?resize=138%2C250&amp;ssl=1 138w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?resize=165%2C300&amp;ssl=1 165w\" sizes=\"(max-width: 225px) 100vw, 225px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-5378\" class=\"wp-caption-text\">Sugar Cane Juice and ARIMA &#8211; by Roopam<\/p><\/div>\n<p>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 <strong><a href=\"http:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-example-part-1\/\" target=\"_blank\" rel=\"noopener\">Part 1<\/a><\/strong> and <strong><a href=\"http:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/\" target=\"_blank\" rel=\"noopener\">Part 2<\/a><\/strong>.\u00a0In this part, we will start with ARIMA modeling for forecasting. ARIMA is an abbreviation for \u00a0<em><strong>A<\/strong>uto-<strong>R<\/strong>egressive\u00a0<strong>I<\/strong>ntegrated <strong>M<\/strong>oving <strong>A<\/strong>verage<\/em>. However, before we learn more about ARIMA let&#8217;s create a link between&#8230;<\/p>\n<h2><span style=\"color: #3366ff;\">ARIMA and Sugar Cane Juice<\/span><\/h2>\n<p>May and June are the peak summer months in India. Indian summers are extremely hot and draining.\u00a0Summers are followed by monsoon rains. It&#8217;s no wonder that during summers everyone in India has the habit of looking up towards the sky in the hope to see\u00a0clouds as an indicator of the arrival of monsoons. While waiting for the monsoons, Indians have a few drinks that keep them hydrated. Sugar cane juice, or <em>ganne-ka-ras<\/em>, is by far my favorite drink to beat the heat. The process of making sugar cane juice is fascinating and has similarities with ARIMA modeling.<\/p>\n<p><img data-attachment-id=\"5396\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/sugercane-juicer\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?fit=389%2C309&amp;ssl=1\" data-orig-size=\"389,309\" 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=\"Sugercane Juicer\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?fit=300%2C238&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?fit=389%2C309&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-5396 alignleft\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?resize=300%2C239\" alt=\"Sugercane Juicer\" width=\"300\" height=\"239\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?w=389&amp;ssl=1 389w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?resize=250%2C199&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juicer.jpg?resize=300%2C238&amp;ssl=1 300w\" sizes=\"(max-width: 300px) 100vw, 300px\" data-recalc-dims=\"1\" \/><\/p>\n<p>Sugar cane juice is prepared by crushing\u00a0a long piece of\u00a0sugar cane through the juicer with two large cylindrical rollers as shown in the adjacent picture.\u00a0However, it is difficult to extract all the juice from a tough sugar cane in one go hence the process is repeated multiple times. In the first go, a fresh sugar cane is passed through the juicer and then the residual of the sugar cane that still contains juice is again passed through the juicer many times till there is no more juice left in the residual. This is precisely how ARIMA models work<\/p>\n<p>. Consider your time series data as a sugar cane and ARIMA models as sugar cane juicers. The idea with ARIMA models is that the final residual should look like white noise otherwise, there is juice or information available in the data to extract.<\/p>\n<p>We will come back to white noise (juice-less residual) in the latter sections of this article. However, before that let&#8217;s explore more about ARIMA modeling.<\/p>\n<h2><span style=\"color: #3366ff;\">ARIMA Modeling<\/span><\/h2>\n<p>ARIMA\u00a0is a combination of 3 parts i.e. AR (<em>AutoRegressive<\/em>), I (<em>Integrated<\/em>), and MA (<em>Moving Average<\/em>). A convenient notation for ARIMA model is ARIMA(p,d,q). Here p,d, and q are the levels for each of the AR, I, and MA parts. Each of these three parts is an effort to make the final residuals display a white noise pattern (or no pattern at all).\u00a0In each step of ARIMA modeling, time series data is passed through these 3 parts like a sugar cane through a sugar cane juicer to produce juice-less residual.\u00a0The sequence\u00a0of three passes for ARIMA analysis is as follows:<\/p>\n<h5><span style=\"color: #ff6600;\"><span style=\"font-size: 12pt;\">1st Pass of ARIMA to Extract Juice \/ Information<\/span><\/span><\/h5>\n<p><strong><em>Integrated<\/em> (I)<\/strong> &#8211; subtract time series with its lagged series to extract trends from the data<\/p>\n<p>In this pass of ARIMA juicer, we extract trend(s) from the original time series data. Differencing is one of the most commonly used mechanisms for extraction of trends. Here, the\u00a0original series is subtracted\u00a0from it&#8217;s lagged series e.g.\u00a0November&#8217;s sales values are subtracted from October&#8217;s values to produce trend-less residual series. The formulae for different orders of differencing are as follow:<\/p>\n<table style=\"height: 146px; border-color: #c7c5c5; background-color: #f5f5f5;\" border=\"0.2\" width=\"723\">\n<tbody>\n<tr>\n<td><span style=\"font-size: 10pt;\">No Differencing (d=0)<\/span><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D%5E%7B%27%7D%3D%5Clarge+Y_t+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t}^{&#039;}=&#92;large Y_t \" class=\"latex\" \/><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 10pt;\">1st Differencing\u00a0(d=1)<\/span><\/td>\n<td>\u00a0<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D%5E%7B%27%7D%3DY_t+-Y_%7Bt-1%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t}^{&#039;}=Y_t -Y_{t-1} \" class=\"latex\" \/><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-size: 10pt;\">2nd Differencing\u00a0(d=2)<\/span><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D%5E%7B%27%7D%3DY_t-Y_%7Bt-1%7D-%28Y_%7Bt-1%7D-Y_%7Bt-2%7D%29%3DY_%7Bt%7D-2%5Ctimes+Y_%7Bt-1%7D%2BY_%7Bt-2%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t}^{&#039;}=Y_t-Y_{t-1}-(Y_{t-1}-Y_{t-2})=Y_{t}-2&#92;times Y_{t-1}+Y_{t-2} \" class=\"latex\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img data-attachment-id=\"5520\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/presentation1-3\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?fit=558%2C597&amp;ssl=1\" data-orig-size=\"558,597\" 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=\"Presentation1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?fit=280%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?fit=558%2C597&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-5520 alignright\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?resize=348%2C372\" alt=\"Presentation1\" width=\"348\" height=\"372\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?w=558&amp;ssl=1 558w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?resize=234%2C250&amp;ssl=1 234w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/Presentation1.jpg?resize=280%2C300&amp;ssl=1 280w\" sizes=\"(max-width: 348px) 100vw, 348px\" data-recalc-dims=\"1\" \/>For example, in the adjacent plot, a time series data with a linearly upward trend is displayed. Just below this plot is the 1st order differenced plot for the same data. As you can notice after 1st order differencing, trend part of the series is extracted and the difference data (residual) does not display any trend.<\/p>\n<p>The residual data of most time series usually become trend-less after the first order differencing which is represented as ARIMA(0,1,0). Notice, AR (p), and MA (q) values in this notation are 0 and the <em>integrated<\/em> (I) value has order one. If the residual series still has a trend it is further differenced and is called 2nd order differencing. This trend-less series is called stationary on mean series i.e. mean or average value for series does not change over time. We will come back to stationarity and discuss it in detail when we will create an ARIMA model for our tractor sales data in the next article.<\/p>\n<h5><span style=\"color: #ff6600; font-size: 12pt;\">2nd\u00a0Pass of ARIMA to Extract Juice \/ Information<\/span><\/h5>\n<p><strong><em>AutoRegressive<\/em> (AR)<\/strong> &#8211; extract the influence of the previous periods&#8217; values on the current period<\/p>\n<p>After the time series data is made stationary through the <em>integrated<\/em> (I) pass, the AR part of the ARIMA juicer gets activated. As the name auto-regression suggests, here we try to extract\u00a0the influence of the\u00a0values of previous\u00a0periods on the current period e.g. the influence of the September and October&#8217;s sales value on the November&#8217;s sales. This is done through developing a regression model\u00a0with the time-lagged period values as independent or predictor variables. The general form of the equation for this regression model is shown below. You may want to read the following articles on regression modeling <a href=\"http:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-part-9\/\">Article 1<\/a> and <a href=\"http:\/\/ucanalytics.com\/blogs\/regression-model-retail-case-study-part-10\/\">Article 2<\/a>.<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D+%3D+c+%2B+%5Cphi_%7B1%7DY_%7Bt-1%7D+%2B+%5Cphi_%7B2%7DY_%7Bt-2%7D+%2B+%5Cdots+%2B+%5Cphi_%7Bp%7DY_%7Bt-p%7D+%2B+e_%7Bt%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t} = c + &#92;phi_{1}Y_{t-1} + &#92;phi_{2}Y_{t-2} + &#92;dots + &#92;phi_{p}Y_{t-p} + e_{t} \" class=\"latex\" \/><\/pre>\n<p>AR model of order 1 i.e. p=1 or\u00a0ARIMA(1,0,0) is represented by the following regression equation<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D+%3D+c+%2B+%5Cphi_%7B1%7DY_%7Bt-1%7D+%2B+e_%7Bt%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t} = c + &#92;phi_{1}Y_{t-1} + e_{t} \" class=\"latex\" \/><\/pre>\n<h5><span style=\"color: #ff6600; font-size: 12pt;\"><strong>3rd\u00a0Pass of ARIMA to Extract Juice \/ Information<\/strong><\/span><\/h5>\n<p><strong><em>Moving Average<\/em> (MA)<\/strong> &#8211; extract the influence of the previous period&#8217;s error terms on the current period&#8217;s error<\/p>\n<p>Finally, the last component of ARIMA juicer i.e. MA involves finding relationships between the previous periods&#8217; error terms on the current period&#8217;s error term. Keep in mind, this <em>moving average<\/em> (MA) has nothing to do with moving average we learned about in<a href=\"http:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-part-2\/\"> the previous article<\/a> on time series decomposition. \u00a0<em>Moving Average<\/em> (MA) part of ARIMA is\u00a0developed with the following simple multiple linear regression values with the lagged error values as independent or predictor variables.<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D+%3D+c+%2B+e_t+%2B+%5Ctheta_%7B1%7De_%7Bt-1%7D+%2B+%5Ctheta_%7B2%7De_%7Bt-2%7D+%2B+%5Cdots+%2B+%5Ctheta_%7Bq%7De_%7Bt-q%7D&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t} = c + e_t + &#92;theta_{1}e_{t-1} + &#92;theta_{2}e_{t-2} + &#92;dots + &#92;theta_{q}e_{t-q}\" class=\"latex\" \/><\/pre>\n<p>MA\u00a0model of order 1 i.e. q=1 or ARIMA(0,0,1) is represented by the following regression equation<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y_%7Bt%7D+%3D+c+%2B+e_t+%2B+%5Ctheta_%7B1%7De_%7Bt-1%7D+&#038;bg=ffffff&#038;fg=000&#038;s=1&#038;c=20201002\" alt=\"Y_{t} = c + e_t + &#92;theta_{1}e_{t-1} \" class=\"latex\" \/><\/pre>\n<h2><span style=\"color: #3366ff;\">White Noise &amp; ARIMA<\/span><\/h2>\n<p><img data-attachment-id=\"5491\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?fit=312%2C224&amp;ssl=1\" data-orig-size=\"312,224\" 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=\"stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?fit=300%2C215&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?fit=312%2C224&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5491 alignright\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?resize=312%2C224\" alt=\"stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen\" width=\"312\" height=\"224\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?w=312&amp;ssl=1 312w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?resize=250%2C179&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/stock-footage-an-old-television-from-the-s-turned-on-with-only-static-appearing-on-the-screen.jpg?resize=300%2C215&amp;ssl=1 300w\" sizes=\"(max-width: 312px) 100vw, 312px\" data-recalc-dims=\"1\" \/>Oh, how I miss the good old\u00a0days when television was not on 24\u00d77. For the\u00a0good part of the day the TV used to look like the one shown in the picture &#8211; no signals just plain white noise. As a kid, it was a good pass time for my friends and me to keep looking at the TV with no signal to find patterns. White noise is a funny thing, if you look at it for long you will start seeing some false patterns. This is because the human brain is wired to find patterns, and at times confuses noises with signals. The biggest proof of this is how people lose money every day on the stock market. This is precisely the reason why we need a mathematical or logical process to distinguish between a white noise and a signal (juice\/information). For example, consider the following simulated white noise:<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg\"><img data-attachment-id=\"5502\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/white-nosie\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?fit=640%2C324&amp;ssl=1\" data-orig-size=\"640,324\" 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=\"White Nosie\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?fit=300%2C152&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?fit=640%2C324&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5502 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?resize=640%2C324\" alt=\"White Nosie\" width=\"640\" height=\"324\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?w=640&amp;ssl=1 640w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?resize=250%2C127&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/White-Nosie.jpeg?resize=300%2C152&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>If you stare at the above graph for a reasonably long time you may start seeing some false patterns. A good way to distinguish between signal and noise is ACF (<em>AutoCorrelation Function<\/em>). This is developed by finding the correlation between a series of its lagged values. In the following ACF plot, you could see that for lag = 0 the ACF plot has the perfect correlation i.e.\u00a0\u03c1=1. This makes sense because any data with itself will always have the perfect correlation. However as expected, our white noise doesn&#8217;t have a significant correlation with its historic values (lag\u22651). The dotted horizontal lines in the plot show the threshold\u00a0for the insignificant region i.e. for a significant correlation the vertical\u00a0bars should fall outside the horizontal dotted lines.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg\"><img data-attachment-id=\"5503\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/acf\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?fit=640%2C374&amp;ssl=1\" data-orig-size=\"640,374\" 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=\"ACF\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?fit=300%2C175&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?fit=640%2C374&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5503 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?resize=640%2C374\" alt=\"ACF\" width=\"640\" height=\"374\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?w=640&amp;ssl=1 640w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?resize=250%2C146&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/06\/ACF.jpeg?resize=300%2C175&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>There is another measure <em>Partial AutoCorrelation\u00a0Function<\/em> (PACF) that plays a crucial role in ARIMA modeling. We will discuss this in the next article when we will return to our manufacturing case study example.<\/p>\n<h4><span style=\"color: #3366ff;\">Sign-off Note<\/span><\/h4>\n<p>In this article, you have spent your time learning things you will use in the next article while playing your role as a data science consultant to PowerHorse to forecast their tractor sales.<\/p>\n<p>In the meantime, let me quickly check out of my window to see if there are any clouds\u00a0out there&#8230;&#8230;&#8230;. Nope! I think there is still time before we will get our first monsoon showers in Bombay for this year &#8211; need to keep my glass of sugar cane juice handy to fight this summer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 for \u00a0Auto-Regressive\u00a0Integrated Moving Average. However,<\/p>\n<p><a class=\"excerpt-more blog-excerpt\" href=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":5378,"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>ARIMA Models - Manufacturing Case Study Example (Part 3) &ndash; YOU CANalytics |<\/title>\n<meta name=\"description\" content=\"This part of manufacturing case study example uses ARIMA (AutoRegressive Integrated Moving Average) models to forecast tractor sales.\" \/>\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\/arima-models-manufacturing-case-study-example-part-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ARIMA Models - Manufacturing Case Study Example (Part 3) &ndash; YOU CANalytics |\" \/>\n<meta property=\"og:description\" content=\"This part of manufacturing case study example uses ARIMA (AutoRegressive Integrated Moving Average) models to forecast tractor sales.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/\" \/>\n<meta property=\"og:site_name\" content=\"YOU CANalytics |\" \/>\n<meta property=\"article:author\" content=\"roopam\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-07T05:04:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-30T08:45:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"247\" \/>\n\t<meta property=\"og:image:height\" content=\"448\" \/>\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\/arima-models-manufacturing-case-study-example-part-3\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1\",\"width\":247,\"height\":448},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#webpage\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/\",\"name\":\"ARIMA Models - Manufacturing Case Study Example (Part 3) &ndash; YOU CANalytics |\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#primaryimage\"},\"datePublished\":\"2015-06-07T05:04:15+00:00\",\"dateModified\":\"2018-04-30T08:45:53+00:00\",\"description\":\"This part of manufacturing case study example uses ARIMA (AutoRegressive Integrated Moving Average) models to forecast tractor sales.\",\"breadcrumb\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucanalytics.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ARIMA Models &#8211; Manufacturing Case Study Example (Part 3)\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#webpage\"},\"author\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\"},\"headline\":\"ARIMA Models &#8211; Manufacturing Case Study Example (Part 3)\",\"datePublished\":\"2015-06-07T05:04:15+00:00\",\"dateModified\":\"2018-04-30T08:45:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#webpage\"},\"wordCount\":1437,\"commentCount\":28,\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1\",\"articleSection\":[\"Manufacturing Case Study Example\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#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":"ARIMA Models - Manufacturing Case Study Example (Part 3) &ndash; YOU CANalytics |","description":"This part of manufacturing case study example uses ARIMA (AutoRegressive Integrated Moving Average) models to forecast tractor sales.","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\/arima-models-manufacturing-case-study-example-part-3\/","og_locale":"en_US","og_type":"article","og_title":"ARIMA Models - Manufacturing Case Study Example (Part 3) &ndash; YOU CANalytics |","og_description":"This part of manufacturing case study example uses ARIMA (AutoRegressive Integrated Moving Average) models to forecast tractor sales.","og_url":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/","og_site_name":"YOU CANalytics |","article_author":"roopam","article_published_time":"2015-06-07T05:04:15+00:00","article_modified_time":"2018-04-30T08:45:53+00:00","og_image":[{"width":247,"height":448,"url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&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\/arima-models-manufacturing-case-study-example-part-3\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1","width":247,"height":448},{"@type":"WebPage","@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#webpage","url":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/","name":"ARIMA Models - Manufacturing Case Study Example (Part 3) &ndash; YOU CANalytics |","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#primaryimage"},"datePublished":"2015-06-07T05:04:15+00:00","dateModified":"2018-04-30T08:45:53+00:00","description":"This part of manufacturing case study example uses ARIMA (AutoRegressive Integrated Moving Average) models to forecast tractor sales.","breadcrumb":{"@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucanalytics.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"ARIMA Models &#8211; Manufacturing Case Study Example (Part 3)"}]},{"@type":"Article","@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#article","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#webpage"},"author":{"@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6"},"headline":"ARIMA Models &#8211; Manufacturing Case Study Example (Part 3)","datePublished":"2015-06-07T05:04:15+00:00","dateModified":"2018-04-30T08:45:53+00:00","mainEntityOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#webpage"},"wordCount":1437,"commentCount":28,"publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1","articleSection":["Manufacturing Case Study Example"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/#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\/Sugercane-Juice.jpg?fit=247%2C448&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3L0jT-1oG","jetpack-related-posts":[{"id":10437,"url":"https:\/\/ucanalytics.com\/blogs\/python-code-time-series-forecasting-arima-models-manufacturing-case-study-example\/","url_meta":{"origin":5374,"position":0},"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":[]},{"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":5374,"position":1},"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":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":5374,"position":2},"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":5213,"url":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/","url_meta":{"origin":5374,"position":3},"title":"Time Series Decomposition &#8211; Manufacturing Case Study Example (Part 2)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"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\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\/05\/Painter1.jpg?fit=630%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/05\/Painter1.jpg?fit=630%2C1024&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":5051,"url":"https:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-example-part-1\/","url_meta":{"origin":5374,"position":4},"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":1385,"url":"https:\/\/ucanalytics.com\/blogs\/customer-segmentation-outliers-telecom-case-study-part-3\/","url_meta":{"origin":5374,"position":5},"title":"Cluster Analysis and Outliers \u2013 Telecom Case Study Example (Part 3)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Outliers \"I refuse to join any club that would have me as a member.\" - Groucho Marx This witty statement came from (according to me) one of the funniest men in the history of American cinema \u2013 Julius Henry Marx better known as Groucho Marx. Groucho was certainly a very\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"Groucho - by Roopam","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/01\/photo.jpg?fit=768%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/01\/photo.jpg?fit=768%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/01\/photo.jpg?fit=768%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/01\/photo.jpg?fit=768%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/5374"}],"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=5374"}],"version-history":[{"count":0,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/5374\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media\/5378"}],"wp:attachment":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media?parent=5374"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/categories?post=5374"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/tags?post=5374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}