{"id":4133,"date":"2014-10-18T18:00:53","date_gmt":"2014-10-18T12:30:53","guid":{"rendered":"http:\/\/ucanalytics.com\/blogs\/?p=4133"},"modified":"2016-09-14T14:59:39","modified_gmt":"2016-09-14T09:29:39","slug":"regression-mother-models-retail-case-study-example-part-9","status":"publish","type":"post","link":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/","title":{"rendered":"Regression: the Mother of all Models &#8211; Retail Case Study Example (Part 9)"},"content":{"rendered":"<div id=\"attachment_4134\" style=\"width: 290px\" class=\"wp-caption alignright\"><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg\"><img aria-describedby=\"caption-attachment-4134\" data-attachment-id=\"4134\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/olympics-by-roopam\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&amp;ssl=1\" data-orig-size=\"336,407\" 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=\"Olympics &#8211; by Roopam\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Olympics &#8211; by Roopam&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=247%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-4134\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?resize=280%2C339\" alt=\"Olympics - by Roopam\" width=\"280\" height=\"339\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?w=336&amp;ssl=1 336w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?resize=206%2C250&amp;ssl=1 206w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?resize=247%2C300&amp;ssl=1 247w\" sizes=\"(max-width: 280px) 100vw, 280px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-4134\" class=\"wp-caption-text\">The Olympics &#8211; by Roopam<\/p><\/div>\n<hr \/>\n<p>Welcome back to our retail case study example for marketing analytics. In\u00a0the previous 8 parts, we have covered some of the key tasks of data science such as:<\/p>\n<div>Problem definition: \u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/marketing-analytics-retail-case-study-part-1\/\">Part 1<\/a>\u00a0&amp;\u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/marketing-analytics-retail-case-study-part-2\/\">Part 2<\/a><\/div>\n<div>Description: <a href=\"http:\/\/ucanalytics.com\/blogs\/exploratory-data-analysis-retail-case-study-part-3\/\">Part 3<\/a><\/div>\n<div>Association: <a href=\"http:\/\/ucanalytics.com\/blogs\/association-analysis-retail-case-study-part-4\/\">Part 4<\/a><\/div>\n<div>Classification: <a href=\"http:\/\/ucanalytics.com\/blogs\/decision-tree-cart-retail-case-part-5\/\">Part 5<\/a>, <a href=\"http:\/\/ucanalytics.com\/blogs\/decision-tree-entropy-retail-case-part-6\/\">Part 6<\/a>,\u00a0\u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/model-selection\/\">Part 7<\/a>\u00a0&amp;\u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/artificial-neural-networks-retail-case-study-part-8\/\">Part 8<\/a><\/div>\n<p>&nbsp;<\/p>\n<p>In this part, we will learn about estimation through\u00a0the mother of all models &#8211;\u00a0multiple linear regression. A sound understanding of regression analysis and modeling provides a solid foundation for analysts to gain deeper understanding of virtually every other modeling technique like neural networks, logistic regression, etc. But before moving to regression, let&#8217;s try to put some fundamental ideas behind statistics in perspective by using the most followed event of the summer Olympics..<\/p>\n<h2><span style=\"color: #3366ff;\">100 Meters Sprint<\/span><\/h2>\n<p>The first Olympic games I followed was in 1988 held in Seoul, South Korea. That was the same Olympics where Ben Johnson broke the then world record for 100 meters sprint by completing\u00a0the race in 9.79 seconds. Later, Johnson was tested positive for consumption of performance enhancing drugs. He was disqualified from the race, and stripped of his gold medal. For a sporting event that lasts just close to 10 seconds, 100 meters sprint is arguably the most followed event of the summer Olympics. In 2012 Olympics, Usain Bolt created a new record by finishing the race in 9.63 seconds. The following is the list of medal holders for 2012 Olympics (source: Wikipedia)<\/p>\n<table class=\"wikitable sortable jquery-tablesorter\" style=\"height: 132px;\" border=\"2\" width=\"494\">\n<thead>\n<tr>\n<th class=\"headerSort\" tabindex=\"0\" title=\"Sort ascending\">Rank<\/th>\n<th class=\"headerSort\" tabindex=\"0\" title=\"Sort ascending\">Lane<\/th>\n<th class=\"headerSort\" tabindex=\"0\" title=\"Sort ascending\">Name<\/th>\n<th class=\"headerSort\" tabindex=\"0\" title=\"Sort ascending\">Nationality<\/th>\n<th class=\"headerSort\" tabindex=\"0\" title=\"Sort ascending\">Reaction<\/th>\n<th class=\"headerSort\" tabindex=\"0\" title=\"Sort ascending\">Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span class=\"sorttext\"><img decoding=\"async\" loading=\"lazy\" class=\"\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/4\/47\/Gold_medal_icon.svg\/16px-Gold_medal_icon.svg.png\" alt=\"1\" width=\"24\" height=\"24\" data-file-width=\"16\" data-file-height=\"16\" \/><\/span><\/td>\n<td>7<\/td>\n<td align=\"left\">Usain Bolt<\/td>\n<td align=\"left\"><img decoding=\"async\" loading=\"lazy\" class=\"thumbborder\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/0\/0a\/Flag_of_Jamaica.svg\/22px-Flag_of_Jamaica.svg.png\" alt=\"\" width=\"22\" height=\"11\" data-file-width=\"600\" data-file-height=\"300\" \/> Jamaica<\/td>\n<td>0.165<\/td>\n<td>9.63<\/td>\n<\/tr>\n<tr>\n<td><span class=\"sorttext\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/2\/2e\/Silver_medal_icon.svg\/16px-Silver_medal_icon.svg.png\" alt=\"2\" width=\"24\" height=\"24\" data-file-width=\"16\" data-file-height=\"16\" \/><\/span><\/td>\n<td>5<\/td>\n<td align=\"left\">Yohan Blake<\/td>\n<td align=\"left\"><img decoding=\"async\" loading=\"lazy\" class=\"thumbborder\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/0\/0a\/Flag_of_Jamaica.svg\/22px-Flag_of_Jamaica.svg.png\" alt=\"\" width=\"22\" height=\"11\" data-file-width=\"600\" data-file-height=\"300\" \/> Jamaica<\/td>\n<td>0.179<\/td>\n<td>9.75<\/td>\n<\/tr>\n<tr>\n<td><span class=\"sorttext\"><img decoding=\"async\" loading=\"lazy\" class=\"\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/8\/89\/Bronze_medal_icon.svg\/16px-Bronze_medal_icon.svg.png\" alt=\"3\" width=\"24\" height=\"24\" data-file-width=\"16\" data-file-height=\"16\" \/><\/span><\/td>\n<td>6<\/td>\n<td align=\"left\">Justin Gatlin<\/td>\n<td align=\"left\"><img decoding=\"async\" loading=\"lazy\" class=\"thumbborder\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/en\/thumb\/a\/a4\/Flag_of_the_United_States.svg\/22px-Flag_of_the_United_States.svg.png\" alt=\"\" width=\"22\" height=\"12\" data-file-width=\"1235\" data-file-height=\"650\" \/> USA<\/td>\n<td>0.178<\/td>\n<td>9.79<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>Usain Bolt is widely regarded as the fasted man in the world. However, I must say that&#8230;<\/p>\n<h2><span style=\"color: #3366ff;\">You Can Beat Usain Bolt in 100 Meters Sprint<\/span><\/h2>\n<p>Before I explain how, let us go back to the medal holders of 2012 Olympics. For Instance, if we make Usain Bolt run the 100 meters race one thousand times, he will finish each race\u00a0with a different timing, mostly close to his record time in the Olympics. The same is also true for the other medal holders Yohan Blake, and Justin Gatlin. For argument&#8217;s sake, let&#8217;s assume the following distributions for race completion time for the three medal holders. \u00a0The following distributions are all normal or Gaussian distributions. Normal distribution\u00a0is a good assumption for most natural phenomena like running speed of humans.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg\"><img data-attachment-id=\"4270\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/100-meters-race\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?fit=799%2C292&amp;ssl=1\" data-orig-size=\"799,292\" 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=\"100 Meters Race\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?fit=300%2C109&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?fit=640%2C234&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4270\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?resize=640%2C234\" alt=\"100 Meters Race\" width=\"640\" height=\"234\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?w=799&amp;ssl=1 799w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?resize=250%2C91&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/100-Meters-Race.jpg?resize=300%2C109&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Using the above distributions the gold medal will still stay with Usain Bolt as the most likely case. However, there are still cases\u00a0in which either sprinter can win the gold medal. This, according to me, is the foundation of statistical thinking.<\/p>\n<p>Now coming back to our title for this section, if you compete with Usain Bolt Googolplex number of times then there is still a likely case that you will win at least one race against the fastest man in the world. Yay!<\/p>\n<table style=\"background-color: #9bd4eb; border-color: #000000;\" border=\"1\" bgcolor=\"#81DAF5\">\n<tbody>\n<tr>\n<td><strong>Law of large numbers:<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Googol is 10<sup>100\u00a0<\/sup><\/strong>: this is a really large number. Googol is also the inspiration behind the name for Google (search engine) &#8211; yes the smart founders of Google misspelled it.<\/td>\n<\/tr>\n<tr>\n<td><strong>Googolplex is 10<sup>Googol<\/sup>\u00a0:\u00a0<\/strong>this is unfathomably\u00a0large number. Google&#8217;s corporate head quarters in California is called Googleplex.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span style=\"color: #3366ff;\">Regression Analysis &#8211; Retail Case Study Example<\/span><\/h2>\n<p>Now let&#8217;s come back to our case study example where you are the Chief Analytics Officer &amp; Business Strategy Head at an online shopping store called DresSMart Inc.\u00a0set the following two objectives:<\/p>\n<p><strong>Objective 1:<\/strong> Improve the conversion\u00a0rate of the campaigns i.e. number of customer buying products from the marketing product catalog.<\/p>\n<p><strong>Objective 2:<\/strong>\u00a0Improve the profit generated through the converted customers<\/p>\n<p>You\u00a0have achieved the first objective in the previous few parts of this case study example. The\u00a0classification models (<a href=\"http:\/\/ucanalytics.com\/blogs\/decision-tree-cart-retail-case-part-5\/\">Part 5<\/a>, <a href=\"http:\/\/ucanalytics.com\/blogs\/decision-tree-entropy-retail-case-part-6\/\">Part 6<\/a>,\u00a0\u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/model-selection\/\">Part 7<\/a>\u00a0&amp;\u00a0<a href=\"http:\/\/ucanalytics.com\/blogs\/artificial-neural-networks-retail-case-study-part-8\/\">Part 8<\/a>) were used to estimate the propensities\u00a0of customers to respond to campaigns. This leaves you\u00a0with the second objective to\u00a0estimate the expected profit generated from each customer if he\/she responds to the campaign. This is a classical regression problem. To develop a regression model you\u00a0will use the data for 4200 customers, out of hundred thousand solicited customers, those have responded to the previous campaigns. All these 4200 customers live in different\u00a0locations\u00a0that can be grouped\u00a0into the following three\u00a0categories<\/p>\n<ol>\n<li>Large Cities<\/li>\n<li>Mid-Sized Cities<\/li>\n<li>Small Towns<\/li>\n<\/ol>\n<p>Incidentally, these customers are\u00a0evenly divided into these three categories with 1400 customers in each group.\u00a0The first thing you checked is the average value of profit generated from these three categories of cities. As you could see in the figure below average values for profits are different for these categories. Keep these average values\u00a0in mind,\u00a0they\u00a0will come handy when we will develop our regression model.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg\"><img data-attachment-id=\"4246\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/1-average-profits\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?fit=643%2C393&amp;ssl=1\" data-orig-size=\"643,393\" 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=\"1 Average Profits\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?fit=300%2C183&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?fit=640%2C391&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4246\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?resize=640%2C391\" alt=\"1 Average Profits\" width=\"640\" height=\"391\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?w=643&amp;ssl=1 643w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?resize=250%2C152&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/1-Average-Profits.jpg?resize=300%2C183&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>Now \u00a0the second question is if these average values for profits are significantly different or not. This question is answered using the location category wise distributions of all the 4200 customers. The above figure shows a representation of these distributions (towards right). For our original data, the following are\u00a0the location category wise density distribution for all the 4200 customers. Notice, profit is negative for some\u00a0cases in this distribution because of returned products by customer, and other losses.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg\"><img data-attachment-id=\"4248\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/profit-distribution\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?fit=714%2C436&amp;ssl=1\" data-orig-size=\"714,436\" 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=\"Profit Distribution\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?fit=300%2C183&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?fit=640%2C391&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4248\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?resize=640%2C391\" alt=\"Profit Distribution\" width=\"640\" height=\"391\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?w=714&amp;ssl=1 714w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?resize=250%2C152&amp;ssl=1 250w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Profit-Distribution.jpeg?resize=300%2C183&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>There are a couple of intuitive\u00a0insights in the above plots:<\/p>\n<ol>\n<li>The large cities have a bigger\u00a0average value for profits than the others because of higher earning capacity and disposable income for residents of the large metropolitan cities.<\/li>\n<li>The large cities also have a\u00a0wider\u00a0distribution of profit than other two categories because of greater\u00a0socio-economic diversity for\u00a0the large metropolitan cities.<\/li>\n<\/ol>\n<p>Keeping the above insights in mind, let&#8217;s create our simple regression model with these categories as the predictor variables. The following is the results for our regression model:<\/p>\n<table border=\"2\" width=\"500\">\n<thead>\n<tr style=\"background-color: #3170de;\">\n<td width=\"200\"><strong><span style=\"color: #ffffff;\">Coefficients:<\/span><\/strong><\/td>\n<td width=\"64\"><strong><span style=\"color: #ffffff;\">Estimate<\/span><\/strong><\/td>\n<td width=\"110\"><strong><span style=\"color: #ffffff;\">Std. Error<\/span><\/strong><\/td>\n<td width=\"68\"><strong><span style=\"color: #ffffff;\">t value<\/span><\/strong><\/td>\n<td width=\"58\"><strong><span style=\"color: #ffffff;\">Pr(&gt;|t|)<\/span><\/strong><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"background-color: #f0c8b1;\">\n<td><strong>Intercept<\/strong><\/td>\n<td>46<\/td>\n<td>0.4691<\/td>\n<td>98.06<\/td>\n<td>&lt;2e-16<\/td>\n<\/tr>\n<tr style=\"background-color: #f0c8b1;\">\n<td><strong>Mid Sized Cities<\/strong><\/td>\n<td>8<\/td>\n<td>0.6635<\/td>\n<td>12.06<\/td>\n<td>&lt;2e-16<\/td>\n<\/tr>\n<tr style=\"background-color: #f0c8b1;\">\n<td><strong>Large Cities<\/strong><\/td>\n<td>22<\/td>\n<td>0.6635<\/td>\n<td>33.16<\/td>\n<td>&lt;2e-16<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #5fc2de;\"><strong>Multiple R-squared:<\/strong><\/td>\n<td>0.2069<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #5fc2de;\"><strong>Adjusted R-squared:<\/strong><\/td>\n<td>0.2065<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #5fc2de;\"><strong>F-statistic (P Value)<\/strong><\/td>\n<td>2.20E-16<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>The following is the linear equation for this regression model<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Profit+%3D+46%2B8%5Ctimes+Mid%5C+Sized%5C+Cities%2B22%5Ctimes+Large%5C+Cities+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"Profit = 46+8&#92;times Mid&#92; Sized&#92; Cities+22&#92;times Large&#92; Cities \" class=\"latex\" \/><\/pre>\n<p>Notice, that the model just has mid-sized and larger cities as the predictor variables. The information about small towns is absorbed in the intercept part. Also, these predictor variables are dummy variables hence they can have 0 or 1 as the only possible choices for values. For instance, if the location is a small town then mid-sized cities = 0, and large cities=0 hence the profit is:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Profit+%3D+46%2B8%5Ctimes+0%2B22%5Ctimes+0%3D46+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"Profit = 46+8&#92;times 0+22&#92;times 0=46 \" class=\"latex\" \/><\/pre>\n<p>Recall the above average figures, this is the same average value for small towns. Now, if the location is a mid-sized city then<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Profit+%3D+46%2B8%5Ctimes+1%2B22%5Ctimes+0%3D54+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"Profit = 46+8&#92;times 1+22&#92;times 0=54 \" class=\"latex\" \/><\/pre>\n<p>Again this is the same as the average value for mid-sized cities.\u00a0Finally, the estimated profit through the resident customer of a large city is:<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Profit+%3D+46%2B8%5Ctimes+0%2B22%5Ctimes+1%3D68+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"Profit = 46+8&#92;times 0+22&#92;times 1=68 \" class=\"latex\" \/><\/pre>\n<p>Now the next\u00a0question is : how good is this model? For this we will have to scroll up to the regression model results and look at the following three things:<\/p>\n<ol>\n<li><strong>P values for individual coefficients: <\/strong>Look at\u00a0the right most column for the coefficients &#8211; the value is really small\u00a0&lt;2e-16 this means that the model is almost 100% certain that the coefficients will not become zero. This is similar to your chances of beating Usain Bolt i.e.\u00a0extremely\u00a0low but not zero.<\/li>\n<li><strong>Adjusted R-squared value:<\/strong> for our model which is 0.2065. This means that just the category of location explains about 20% of the variation in profit. This is not bad for a single categorical variable if we will keep adding more significant variables to the above model the value of Adjusted R -squared will keep increasing.<\/li>\n<li><strong>F-Statistics:<\/strong>\u00a0Again the p-value here is really small i.e.\u00a02.20E-16. This means the model has very low\u00a0chance of being random similar to your chances of randomly beating Usain Bolt.<\/li>\n<\/ol>\n<h4><span style=\"color: #3366ff;\">Sign-off Note<\/span><\/h4>\n<p>The following statements summarize the essential ideas behind the Olympic games. The most important thing in the Olympic Games is not to win but to take part.\u00a0The essential thing is not to have conquered but to have fought well.<\/p>\n<p>So go out, play well, and most importantly enjoy even if the opponent is the fastest man on the planet. See you soon with a new post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to our retail case study example for marketing analytics. In\u00a0the previous 8 parts, we have covered some of the key tasks of data science such as: Problem definition: \u00a0Part 1\u00a0&amp;\u00a0Part 2 Description: Part 3 Association: Part 4 Classification: Part 5, Part 6,\u00a0\u00a0Part 7\u00a0&amp;\u00a0Part 8 &nbsp; In this part, we will learn about estimation<\/p>\n<p><a class=\"excerpt-more blog-excerpt\" href=\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4134,"comment_status":"open","ping_status":"closed","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":[1,59],"tags":[7,42,6,72,10],"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 Analysis- Retail Case Study Example - Part 9<\/title>\n<meta name=\"description\" content=\"Marketing analytics case study example: learn regression analysis to estimate profit for every customer through marketing campaigns\" \/>\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\/regression-mother-models-retail-case-study-example-part-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Regression Analysis- Retail Case Study Example - Part 9\" \/>\n<meta property=\"og:description\" content=\"Marketing analytics case study example: learn regression analysis to estimate profit for every customer through marketing campaigns\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/\" \/>\n<meta property=\"og:site_name\" content=\"YOU CANalytics |\" \/>\n<meta property=\"article:author\" content=\"roopam\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-18T12:30:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-09-14T09:29:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"336\" \/>\n\t<meta property=\"og:image:height\" content=\"407\" \/>\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\/regression-mother-models-retail-case-study-example-part-9\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1\",\"width\":336,\"height\":407,\"caption\":\"Olympics - by Roopam\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#webpage\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/\",\"name\":\"Regression Analysis- Retail Case Study Example - Part 9\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#primaryimage\"},\"datePublished\":\"2014-10-18T12:30:53+00:00\",\"dateModified\":\"2016-09-14T09:29:39+00:00\",\"description\":\"Marketing analytics case study example: learn regression analysis to estimate profit for every customer through marketing campaigns\",\"breadcrumb\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucanalytics.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Regression: the Mother of all Models &#8211; Retail Case Study Example (Part 9)\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#webpage\"},\"author\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\"},\"headline\":\"Regression: the Mother of all Models &#8211; Retail Case Study Example (Part 9)\",\"datePublished\":\"2014-10-18T12:30:53+00:00\",\"dateModified\":\"2016-09-14T09:29:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#webpage\"},\"wordCount\":1333,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1\",\"keywords\":[\"Business Analytics\",\"Marketing Analytics\",\"Predictive Analytics\",\"Retail Analytics\",\"Roopam Upadhyay\"],\"articleSection\":[\"Marketing Analytics\",\"Retail Case Study Example\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#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 Analysis- Retail Case Study Example - Part 9","description":"Marketing analytics case study example: learn regression analysis to estimate profit for every customer through marketing campaigns","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\/regression-mother-models-retail-case-study-example-part-9\/","og_locale":"en_US","og_type":"article","og_title":"Regression Analysis- Retail Case Study Example - Part 9","og_description":"Marketing analytics case study example: learn regression analysis to estimate profit for every customer through marketing campaigns","og_url":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/","og_site_name":"YOU CANalytics |","article_author":"roopam","article_published_time":"2014-10-18T12:30:53+00:00","article_modified_time":"2016-09-14T09:29:39+00:00","og_image":[{"width":336,"height":407,"url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&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\/regression-mother-models-retail-case-study-example-part-9\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1","width":336,"height":407,"caption":"Olympics - by Roopam"},{"@type":"WebPage","@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#webpage","url":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/","name":"Regression Analysis- Retail Case Study Example - Part 9","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#primaryimage"},"datePublished":"2014-10-18T12:30:53+00:00","dateModified":"2016-09-14T09:29:39+00:00","description":"Marketing analytics case study example: learn regression analysis to estimate profit for every customer through marketing campaigns","breadcrumb":{"@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucanalytics.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"Regression: the Mother of all Models &#8211; Retail Case Study Example (Part 9)"}]},{"@type":"Article","@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#article","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#webpage"},"author":{"@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6"},"headline":"Regression: the Mother of all Models &#8211; Retail Case Study Example (Part 9)","datePublished":"2014-10-18T12:30:53+00:00","dateModified":"2016-09-14T09:29:39+00:00","mainEntityOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#webpage"},"wordCount":1333,"commentCount":9,"publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1","keywords":["Business Analytics","Marketing Analytics","Predictive Analytics","Retail Analytics","Roopam Upadhyay"],"articleSection":["Marketing Analytics","Retail Case Study Example"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ucanalytics.com\/blogs\/regression-mother-models-retail-case-study-example-part-9\/#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\/2014\/10\/Olympics-by-Roopam.jpg?fit=336%2C407&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3L0jT-14F","jetpack-related-posts":[{"id":3129,"url":"https:\/\/ucanalytics.com\/blogs\/marketing-analytics-retail-case-study-part-1\/","url_meta":{"origin":4133,"position":0},"title":"Marketing Analytics &#8211; Retail Case Study Example (Part 1)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Today we are going to start a new case study example on YOU CANalytics. In this case study example, we will examine different facets of marketing analytics and customer relationship management (CRM). We will use the example of online retail to explore more about marketing analytics - an area of\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"Marketing Analytics Modeling","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/06\/Marketing-Analytics-Modeling-Blog.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/06\/Marketing-Analytics-Modeling-Blog.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/06\/Marketing-Analytics-Modeling-Blog.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/06\/Marketing-Analytics-Modeling-Blog.jpg?resize=700%2C400 2x"},"classes":[]},{"id":3973,"url":"https:\/\/ucanalytics.com\/blogs\/model-selection-retail-case-study-example-part-7\/","url_meta":{"origin":4133,"position":1},"title":"Model Selection &#8211; Retail Case Study Example (Part 7)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Model Selection This is a continuation of our retail case study example for campaign and marketing analytics. In the previous two parts, we discussed a couple of decision tree algorithms (CART and C4.5)\u00a0for classification. Recall a previous case study example on\u00a0banking and risk management where we discussed logistic regression\u00a0which is\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/09\/photo.jpg?fit=1200%2C1029&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/09\/photo.jpg?fit=1200%2C1029&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/09\/photo.jpg?fit=1200%2C1029&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/09\/photo.jpg?fit=1200%2C1029&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/09\/photo.jpg?fit=1200%2C1029&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3195,"url":"https:\/\/ucanalytics.com\/blogs\/marketing-analytics-retail-case-study-example-part-2\/","url_meta":{"origin":4133,"position":2},"title":"Marketing Analytics &#8211; Retail Case Study Example (Part 2)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Last week we started a case study from the online retail industry to learn more about marketing analytics (Read Part 1). Before we continue with the same case, let me share a few factors that enhance the quality of analysis for marketing or customer analytics. The obvious factors, of course,\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"Noir - by Roopam","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/02\/photo.jpg?fit=713%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/02\/photo.jpg?fit=713%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/02\/photo.jpg?fit=713%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/02\/photo.jpg?fit=713%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3318,"url":"https:\/\/ucanalytics.com\/blogs\/exploratory-data-analysis-retail-case-study-example-part-3\/","url_meta":{"origin":4133,"position":3},"title":"Exploratory Data Analysis (EDA) &#8211; Retail Case Study Example (Part 3)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"For the last couple of weeks we have been\u00a0working on a marketing analytics case study example (read Part 1 and Part 2). In the last part (Part 2) we defined a couple of advanced analytics objectives based on the business problem at an online retail\u00a0company called DresSmart Inc. In this\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"penalty shootout","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/07\/penalty-shootout.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/07\/penalty-shootout.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/07\/penalty-shootout.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":4357,"url":"https:\/\/ucanalytics.com\/blogs\/next-best-action-retail-case-study-example-part-11\/","url_meta":{"origin":4133,"position":4},"title":"Next Best Action &#8211; Retail Case Study Example (Epilogue)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"This article is the epilogue to our case study example about campaign and marketing analytics for an online retail company. You could read the previous parts at Problem definition: \u00a0Part 1\u00a0&\u00a0Part 2 Description: Part 3 Association: Part 4 Classification: Part 5, Part 6,\u00a0Part 7,\u00a0Part 8 Estimation: Part 9, Part 10\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/11\/Free-Will.jpg?fit=315%2C448&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4274,"url":"https:\/\/ucanalytics.com\/blogs\/regression-model-retail-case-study-part-10\/","url_meta":{"origin":4133,"position":5},"title":"Regression Model &#8211; Retail Case Study Example (Part 10)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"This article is a continuation of our marketing analytics case study example for campaign management solutions. In this case, we started with the following\u00a0two\u00a0goals to build models to identify Most responsive customers Most revenue generating customers Problem definition: \u00a0Part 1\u00a0&\u00a0Part 2 Description: Part 3 Association: Part 4 Classification: Part 5,\u2026","rel":"","context":"In &quot;Marketing Analytics&quot;","block_context":{"text":"Marketing Analytics","link":"https:\/\/ucanalytics.com\/blogs\/category\/marketing-analytics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/10\/Regression-Train-by-Roopam.jpg?fit=448%2C320&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/4133"}],"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=4133"}],"version-history":[{"count":1,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/4133\/revisions"}],"predecessor-version":[{"id":11957,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/4133\/revisions\/11957"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media\/4134"}],"wp:attachment":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media?parent=4133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/categories?post=4133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/tags?post=4133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}