{"id":5782,"date":"2015-07-12T13:05:29","date_gmt":"2015-07-12T07:35:29","guid":{"rendered":"http:\/\/ucanalytics.com\/blogs\/?p=5782"},"modified":"2017-07-08T10:37:47","modified_gmt":"2017-07-08T05:07:47","slug":"how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5","status":"publish","type":"post","link":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/","title":{"rendered":"How Effective is My Marketing Budget? &#8211; Regression with ARIMA Errors, Case Study Example (Part 5)"},"content":{"rendered":"<hr \/>\n<p>So far we have covered the following topics in this case study example\u00a0on time series forecasting and ARIMA models:<\/p>\n<div><a href=\"http:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-part-1\/\">Part 1<\/a>\u00a0: Introduction to time series modeling &amp; forecasting<\/div>\n<div><a href=\"http:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-part-2\/\">Part 2<\/a>: Time series decomposition to decipher patterns and trends before forecasting<\/div>\n<div><a href=\"http:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/\">Part 3<\/a>: Introduction to ARIMA models for forecasting<\/div>\n<p><a href=\"http:\/\/ucanalytics.com\/blogs\/step-by-step-graphic-guide-to-forecasting-through-arima-modeling-in-r-manufacturing-case-study-example\/\">Part 4<\/a>: ARIMA model case study example<\/p>\n<p>These topics\u00a0focused on forecasts\u00a0using embedded information in the data series. These forecasts are often regarded as good-to-know information and are quite useful for planning purposes. However,\u00a0they don&#8217;t empower organizations with information to change the course of the future.Organizations usually like to know if they could do things better for\u00a0improved outcomes. They also like to know if their current efforts are generating desired outcomes, and want suggestions for course corrections. These are part of \u00a0fundamental questions for any organization and require thorough analysis and creativity.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\" alignright\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?resize=338%2C450\" alt=\"Exogenous Variable ARIMA and AIC : A Balancing Act - by Roopam\" width=\"338\" height=\"450\" data-recalc-dims=\"1\" \/><\/a>Keeping with this theme, in this article, we will continue with our case study example and try to answer the question whether the PowerHorse tractors marketing effort is generating added sales revenue. For this, we will use regression with ARIMA errors (ARIMAX) or exogenous variable ARIMA. Before that let&#8217;s learn about a useful concept for model selection\u00a0i.e. Akaike Information Criterion (AIC) through:<\/p>\n<h2><span style=\"color: #3366ff;\">Balancing Acts<\/span><\/h2>\n<p>Michael Jackson, the king of pop music,\u00a0is regarded as one of the most famous and truly international artists till date. His net earning from the\u00a0sales of his music albums\u00a0had surpassed his peers by a huge margin. Despite this when he died in 2009 he had close to $400 million in debts. Clearly, he could not manage his finances. Elves Presley, another legendary musician, met\u00a0the same fate when he died. Just before their deaths both these artists were working relentlessly for their stage performances to fight their financial troubles. Clearly, healthy finance is not just about earning well but it is also about managing costs. It&#8217;s a fine balancing act between these two parameters as depicted by the following simple equation:<\/p>\n<blockquote><p><span style=\"font-size: 14pt;\">Debt\u00a0= Cost &#8211; Income<\/span><\/p><\/blockquote>\n<p>For healthy finances, the idea is to keep the debt at the minimum. Model development in data science, like any other endeavor in life, is also about finding the right balance. We will explore the same in the next section while learning about&#8230;<\/p>\n<h2><span style=\"color: #3366ff;\">Akaike Information Criterion (AIC)<\/span><\/h2>\n<p>Akaike Information Criterion (AIC) is a mechanism to select the best fit model. AIC has similarities with the debt\u00a0formula we have seen in the previous section. AIC is an effort to balance the model between goodness-of-fit and\u00a0number of parameters used in the model. This is similar to the balancing act between income and cost. As a modeler, you care about the maximum\u00a0goodness of fit (income) with the minimum number of parameters (cost). The formula for AIC is displayed below:<\/p>\n<blockquote><p><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=AIC%3D2K-2ln%28L%29++&#038;bg=ffffff&#038;fg=000&#038;s=2&#038;c=20201002\" alt=\"AIC=2K-2ln(L)  \" class=\"latex\" \/><\/p><\/blockquote>\n<p>For the given model, L\u00a0in the above formula is the maximized value of the likelihood function representing goodness-of-fit, and\u00a0<i>k<\/i>\u00a0the number of estimated parameters. Like your debts, you want to keep AIC value at the minimum to choose the best possible model.\u00a0Bayesian Information Criterion (BIC) is another variant of AIC and is used for the same purpose of best fit model selection. For the best possible model selection, you want to look at AIC, BIC, and AICc (AIC with sample correction) if all these values are minimum for a given model<\/p>\n<h2><span style=\"color: #3366ff;\">Regression with ARIMA Errors &#8211; Case Study Example<\/span><\/h2>\n<p>For the last 4 years, PowerHorse tractors is \u00a0running an expensive\u00a0marketing and farmer connect program to boost their sales. They are interested in learning the impact of this program on overall sales. As a data science consultant you are helping them with this effort. This is an interesting problem and requires a thorough analysis followed by\u00a0creative solutions and scientific monitoring mechanism. To begin with you will build models based on regression with ARIMA errors and compare them with the pure play ARIMA model. This analysis will provide some clues towards effectiveness of the marketing program. However, this analysis will not be conclusive for finding shortcomings and enhancements for the program which will require further analysis and creative solutions. The later analysis will become another case study example on YOU CANalytics. The following is the approach you have taken for\u00a0regression with ARIMA errors. If you want a quick brush up on regression before you jump to regression with ARIMA errors read the following articles<\/p>\n<ul>\n<li><a href=\"http:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/\">Regression<\/a><\/li>\n<li><a href=\"http:\/\/ucanalytics.com\/blogs\/regression-model-retail-case-study-part-10\/\">Regression models<\/a><\/li>\n<li><a href=\"http:\/\/ucanalytics.com\/blogs\/arima-models-manufacturing-case-study-example-part-3\/\">ARIMA<\/a><\/li>\n<li><a href=\"http:\/\/ucanalytics.com\/blogs\/step-by-step-graphic-guide-to-forecasting-through-arima-modeling-in-r-manufacturing-case-study-example\/\">ARIMA model<\/a><\/li>\n<\/ul>\n<p>You can find the data for this analysis attached at the end of this article. To begin with, you plot the following scatter plot of same months marketing expense and tractors sales.<\/p>\n<p><img data-attachment-id=\"5837\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/tractor-sales-vs-marketing-expense\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?fit=681%2C342&amp;ssl=1\" data-orig-size=\"681,342\" 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 vs marketing expense\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?fit=300%2C151&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?fit=640%2C321&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5837 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?resize=640%2C321\" alt=\"tractor sales vs marketing expense\" width=\"640\" height=\"321\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?w=681&amp;ssl=1 681w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?resize=250%2C126&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/tractor-sales-vs-marketing-expense.jpeg?resize=300%2C151&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/p>\n<p>This looks promising with quite a high correlation coefficient (\u03c1 &gt; 0.8). However, there is a lurking danger in analyzing non-stationary time series data. Since two uncorrelated series can display high correlation because of time series trend in data. In this case, PowerHorse is a growing company hence both its sales and marketing expenses are on an upward curve. A better way is to find the correlation between stationary data obtained through differencing. The following is the correlation plot for stationary data:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg\"><img data-attachment-id=\"5838\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/differenced-tractor-and-marketing-scatter-plot\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?fit=677%2C338&amp;ssl=1\" data-orig-size=\"677,338\" 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=\"differenced tractor and marketing scatter plot\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?fit=300%2C150&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?fit=640%2C320&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5838 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?resize=640%2C320\" alt=\"differenced tractor and marketing scatter plot\" width=\"640\" height=\"320\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?w=677&amp;ssl=1 677w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?resize=250%2C125&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/differenced-tractor-and-marketing-scatter-plot.jpeg?resize=300%2C150&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a>Ok, so that near perfect correlation has now disappeared though there is still some correlation in this data (\u03c1 = 0.41). Typically, the marketing effort for the previous few months needs to have a good correlation with sales for an effective marketing program. The marketing expense for the last month as displayed below has very little correlation (\u03c1 = 0.17):<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg\"><img data-attachment-id=\"5836\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/lag-one-diff-sales-and-marketing\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?fit=673%2C351&amp;ssl=1\" data-orig-size=\"673,351\" 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=\"lag one diff sales and marketing\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?fit=300%2C156&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?fit=640%2C334&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-5836 aligncenter\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?resize=640%2C334\" alt=\"lag one diff sales and marketing\" width=\"640\" height=\"334\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?w=673&amp;ssl=1 673w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?resize=250%2C130&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/lag-one-diff-sales-and-marketing.jpeg?resize=300%2C156&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>The correlation for the previous quarter also shows non-existent correlation with sales. Now, let&#8217;s build a regression model with ARIMA error (ARIMAX) model for the\u00a0current and previous months.<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td style=\"background-color: #60a1e6;\"><strong>Tips to Build Regression with ARIMA Error Models in R<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f7c58f;\">In R you could use auto.arima function with xreg to build such models e.g. auto.arima(Tractor_Sales_Data, xreg=Marketing_Expense). Auto.arima function is part of forecast package used in the previous article\u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/step-by-step-graphic-guide-to-forecasting-through-arima-modeling-in-r-manufacturing-case-study-example\/\">ARIMA model<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following are the results for sales forecast for tractors in a month using marketing expense in regression with ARIMA errors model. Focus on the last part of the results with AIC values.<\/p>\n<table style=\"height: 181px;\" border=\"2\" width=\"601\">\n<tbody>\n<tr>\n<td style=\"border-color: #292828; width: 128px;\" width=\"128\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>Time series:<\/strong><\/span><\/td>\n<td style=\"border-color: #292828; width: 128px;\" width=\"156\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\">Tractor Sales with Marketing\u00a0Expense<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border-color: #292828; width: 128px;\" colspan=\"2\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\">Best fit Model:<strong>\u00a0ARIMA(0,0,0)<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 128px; background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>\u00a0<\/strong><\/span><\/td>\n<td style=\"border-color: #292828; width: 128px; background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>Marketing Expense<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 128px; background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>Coefficients:<\/strong><\/span><\/td>\n<td style=\"border-color: #292828; width: 128px;\">0.2629<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 128px; background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>s.e.<\/strong><\/span><\/td>\n<td style=\"border-color: #292828; width: 128px;\">0.0840<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 128px; background-color: #f7c58f;\" colspan=\"2\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\">log likelihood=-252.38<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 128px; background-color: #f7c58f;\"><span style=\"font-family: 'courier new', courier, monospace;\"><strong>AIC=508.76 \u00a0<\/strong><\/span><\/td>\n<td style=\"width: 128px; background-color: #f7c58f;\"><span style=\"font-family: 'courier new', courier, monospace;\"><strong>BIC=512.33<\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Next, let&#8217;s build a pure play forecast without marketing expense as a predictor variable.<\/p>\n<table style=\"height: 212px;\" border=\"1\" width=\"604\">\n<tbody>\n<tr>\n<td width=\"128\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>Time series:<\/strong><\/span><\/td>\n<td colspan=\"2\" width=\"156\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\">Tractor Sales without Marketing Expense<\/span><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\">Best fit Model: <strong>ARIMA(1,0,0)(0,1,0)[12]\u00a0<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>\u00a0<\/strong><\/span><\/td>\n<td style=\"background-color: #60a1e6;\" colspan=\"2\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>AR1<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>Coefficients:<\/strong><\/span><\/td>\n<td colspan=\"2\">-0.3595<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #60a1e6;\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\"><strong>s.e.<\/strong><\/span><\/td>\n<td colspan=\"2\">0.1546<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f7c58f;\" colspan=\"3\"><span style=\"font-size: 12pt; font-family: 'courier new', courier, monospace;\">log likelihood=-250.58<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f7c58f;\"><strong><span style=\"font-family: 'courier new', courier, monospace;\">AIC=323.8 \u00a0 \u00a0<\/span><\/strong><\/td>\n<td style=\"background-color: #f7c58f;\"><strong><span style=\"font-family: 'courier new', courier, monospace;\">AICc=324.18<\/span><\/strong><\/td>\n<td style=\"background-color: #f7c58f;\"><strong><span style=\"font-family: 'courier new', courier, monospace;\">\u00a0BIC=326.92<\/span><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Notice\u00a0AIC, AICc, and BIC values for the plain\u00a0ARIMA model without marketing expense as predictor variable has lower values of the two models. This indicates that marketing expense is not actually adding value to tractor sales. This is the first indication for the management at PowerHorse to re-evaluate the marketing and farmer connect program. I must point out that\u00a0evaluation of marketing budgets with a forecasting model like the one we have built is not the best of practices. The best practice is to embed\u00a0scientific data collection, monitoring, and evaluation mechanism in the design of a marketing program at inception. However, a scientific and well thought out mechanism prior to implementation is often missing in many\u00a0programs. This is when one could go back in time to use regression with ARIMA error to evaluate effective of marketing programs.<\/p>\n<h4><span style=\"color: #3366ff;\">Sign-off Note<\/span><\/h4>\n<p>Balance is the key to life be\u00a0it the predator-prey relationship (ecosystem) or planetary motion. The economy also operates to achieve a balance between supply and demand.\u00a0The perfect balance between our blood pressure and the atmospheric pressure is what saves us from being crushed into pulp or bursting into pieces. Balance is an integral part of a happy life: be it a balance between work and relaxation\u00a0or personal and social time. May we all achieve this balance to live a happy life.<\/p>\n<table style=\"height: 32px; background-color: #b5c2e8;\" border=\"1\" width=\"703\">\n<tbody>\n<tr>\n<td>Data:\u00a0<strong><a href=\"http:\/\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/Sales-and-Marketing.csv\">Sales and Marketing<\/a><\/strong><\/p>\n<p>R Code: <strong><a href=\"http:\/\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/R-Code-xARIMA-Sales-Marketing.txt\" target=\"_blank\" rel=\"noopener\">R Code &#8211; Exogenous ARIMA model\u00a0<\/a><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>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 &amp; forecasting Part 2: Time series decomposition to decipher patterns and trends before forecasting Part 3: Introduction to ARIMA models for forecasting Part 4: ARIMA model case study example<\/p>\n<p><a class=\"excerpt-more blog-excerpt\" href=\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":5783,"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>Regression with ARIMA Errors to test Effective Marketing? - Case Study Example<\/title>\n<meta name=\"description\" content=\"Regression with ARIMA Errors (ARIMAX)\" \/>\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\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Regression with ARIMA Errors to test Effective Marketing? - Case Study Example\" \/>\n<meta property=\"og:description\" content=\"Regression with ARIMA Errors (ARIMAX)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/\" \/>\n<meta property=\"og:site_name\" content=\"YOU CANalytics |\" \/>\n<meta property=\"article:author\" content=\"roopam\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-12T07:35:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-07-08T05:07:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"480\" \/>\n\t<meta property=\"og:image:height\" content=\"640\" \/>\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\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1\",\"width\":480,\"height\":640},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#webpage\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/\",\"name\":\"Regression with ARIMA Errors to test Effective Marketing? - Case Study Example\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#primaryimage\"},\"datePublished\":\"2015-07-12T07:35:29+00:00\",\"dateModified\":\"2017-07-08T05:07:47+00:00\",\"description\":\"Regression with ARIMA Errors (ARIMAX)\",\"breadcrumb\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucanalytics.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Effective is My Marketing Budget? &#8211; Regression with ARIMA Errors, Case Study Example (Part 5)\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#webpage\"},\"author\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\"},\"headline\":\"How Effective is My Marketing Budget? &#8211; Regression with ARIMA Errors, Case Study Example (Part 5)\",\"datePublished\":\"2015-07-12T07:35:29+00:00\",\"dateModified\":\"2017-07-08T05:07:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#webpage\"},\"wordCount\":1329,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1\",\"articleSection\":[\"Manufacturing Case Study Example\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#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":"Regression with ARIMA Errors to test Effective Marketing? - Case Study Example","description":"Regression with ARIMA Errors (ARIMAX)","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\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/","og_locale":"en_US","og_type":"article","og_title":"Regression with ARIMA Errors to test Effective Marketing? - Case Study Example","og_description":"Regression with ARIMA Errors (ARIMAX)","og_url":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/","og_site_name":"YOU CANalytics |","article_author":"roopam","article_published_time":"2015-07-12T07:35:29+00:00","article_modified_time":"2017-07-08T05:07:47+00:00","og_image":[{"width":480,"height":640,"url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&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\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1","width":480,"height":640},{"@type":"WebPage","@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#webpage","url":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/","name":"Regression with ARIMA Errors to test Effective Marketing? - Case Study Example","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#primaryimage"},"datePublished":"2015-07-12T07:35:29+00:00","dateModified":"2017-07-08T05:07:47+00:00","description":"Regression with ARIMA Errors (ARIMAX)","breadcrumb":{"@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucanalytics.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"How Effective is My Marketing Budget? &#8211; Regression with ARIMA Errors, Case Study Example (Part 5)"}]},{"@type":"Article","@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#article","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#webpage"},"author":{"@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6"},"headline":"How Effective is My Marketing Budget? &#8211; Regression with ARIMA Errors, Case Study Example (Part 5)","datePublished":"2015-07-12T07:35:29+00:00","dateModified":"2017-07-08T05:07:47+00:00","mainEntityOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#webpage"},"wordCount":1329,"commentCount":23,"publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/07\/rope-walk.jpg?fit=480%2C640&ssl=1","articleSection":["Manufacturing Case Study Example"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ucanalytics.com\/blogs\/how-effective-is-my-marketing-budget-regression-with-arima-errors-arimax-case-study-example-part-5\/#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\/07\/rope-walk.jpg?fit=480%2C640&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3L0jT-1vg","jetpack-related-posts":[{"id":10437,"url":"https:\/\/ucanalytics.com\/blogs\/python-code-time-series-forecasting-arima-models-manufacturing-case-study-example\/","url_meta":{"origin":5782,"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":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":5782,"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":5782,"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":5051,"url":"https:\/\/ucanalytics.com\/blogs\/forecasting-time-series-analysis-manufacturing-case-study-example-part-1\/","url_meta":{"origin":5782,"position":3},"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":5213,"url":"https:\/\/ucanalytics.com\/blogs\/time-series-decomposition-manufacturing-case-study-example-part-2\/","url_meta":{"origin":5782,"position":4},"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":10404,"url":"https:\/\/ucanalytics.com\/blogs\/video-case-study-example-time-series-age-big-data\/","url_meta":{"origin":5782,"position":5},"title":"Video Case Study Example &#8211; Time Series in the Age of Big Data","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Dear readers, watch the first video case study example on YOU CANalytics. This was my first attempt at the video presentation and I must say it is damn hard to speak while staring at your computer. I have come away with a new-found respect for the folks who could effortlessly\u2026","rel":"","context":"In &quot;Video Discussion&quot;","block_context":{"text":"Video Discussion","link":"https:\/\/ucanalytics.com\/blogs\/category\/video-discussion\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/07\/Video-Case-Sudy-Time-Series-in-the-Age-of-Big-Data.jpg?fit=640%2C480&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/07\/Video-Case-Sudy-Time-Series-in-the-Age-of-Big-Data.jpg?fit=640%2C480&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/07\/Video-Case-Sudy-Time-Series-in-the-Age-of-Big-Data.jpg?fit=640%2C480&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/5782"}],"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=5782"}],"version-history":[{"count":0,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/5782\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media\/5783"}],"wp:attachment":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media?parent=5782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/categories?post=5782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/tags?post=5782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}