{"id":516,"date":"2014-11-26T04:24:12","date_gmt":"2014-11-26T04:24:12","guid":{"rendered":"http:\/\/rovdownloads.com\/blog\/?p=516"},"modified":"2014-11-26T04:24:12","modified_gmt":"2014-11-26T04:24:12","slug":"multivariate-regression-part-1","status":"publish","type":"post","link":"https:\/\/rovdownloads.com\/blog\/multivariate-regression-part-1\/","title":{"rendered":"Multivariate Regression, Part 1"},"content":{"rendered":"<p><strong>Theory<\/strong><br \/>\nIt is assumed that the user is knowledgeable about the fundamentals of regression analysis.<br \/>\nThe general bivariate linear regression equation takes the form of<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form11.png\" alt=\"form1\" width=\"187\" height=\"35\" class=\"aligncenter size-full wp-image-517\" \/><\/p>\n<p>where \u03b20 is the intercept,\u03b21 is the slope, and \u03b5 is the error term. It is bivariate as there are only two variables, a Y, or dependent variable, and an X, or independent variable, where X is also known as the regressor (sometimes a bivariate regression is also known as a univariate regression as there is only a single independent variable X). The dependent variable is so named because it depends on the independent variable; for example, sales revenue depends on the amount of marketing costs expended on a product\u2019s advertising and promotion, making the dependent variable \u201csales\u201d and the independent variable \u201cmarketing costs.\u201d An example of a bivariate regression is seen as simply inserting the best-fitting line through a set of data points in a two-dimensional plane, as seen on the left in Figure 1. In other cases, a multivariate regression can be performed, where there are multiple, or k number of, independent X variables or regressors, where the general regression equation will now take the form of<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form21.png\" alt=\"form2\" width=\"462\" height=\"37\" class=\"aligncenter size-full wp-image-518\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form21.png 462w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form21-300x24.png 300w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form21-210x16.png 210w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/p>\n<p>In this case, the best-fitting line will be within a k + 1 dimensional plane.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled13.png\" alt=\"Untitled\" width=\"722\" height=\"418\" class=\"aligncenter size-full wp-image-519\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled13.png 722w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled13-300x173.png 300w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/Untitled13-210x121.png 210w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>However, fitting a line through a set of data points in a scatter plot as in Figure 1 may result in numerous possible lines. The best-fitting line is defined as the single unique line that minimizes the total vertical errors, that is, the sum of the absolute distances between the actual data points (Yi) and the estimated line (Error! Objects cannot be created from editing field codes.), as shown on the right of Figure 1. To find the best-fitting unique line that minimizes the errors, a more sophisticated approach is applied, using regression analysis. Regression analysis, therefore, finds the unique best-fitting line by requiring that the total errors be minimized, or by calculating<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form31.png\" alt=\"form3\" width=\"178\" height=\"66\" class=\"aligncenter size-full wp-image-520\" \/><\/p>\n<p>where only one unique line minimizes this sum of squared errors. The errors (vertical distances between the actual data and the predicted line) are squared to avoid the negative errors from canceling out the positive errors. Solving this minimization problem with respect to the slope and intercept requires calculating first derivatives and setting them equal to zero:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form41.png\" alt=\"form4\" width=\"432\" height=\"86\" class=\"aligncenter size-full wp-image-521\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form41.png 432w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form41-300x59.png 300w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form41-210x41.png 210w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>which yields the bivariate regression\u2019s least squares equations:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form5.png\" alt=\"form5\" width=\"393\" height=\"289\" class=\"aligncenter size-full wp-image-522\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form5.png 393w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form5-300x220.png 300w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form5-210x154.png 210w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/p>\n<p>For multivariate regression, the analogy is expanded to account for multiple independent variables, where<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form6.png\" alt=\"form6\" width=\"312\" height=\"33\" class=\"aligncenter size-full wp-image-523\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form6.png 312w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form6-300x31.png 300w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form6-210x22.png 210w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/p>\n<p>and the estimated slopes can be calculated by:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form7.png\" alt=\"form7\" width=\"410\" height=\"173\" class=\"aligncenter size-full wp-image-524\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form7.png 410w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form7-300x126.png 300w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/form7-210x88.png 210w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/p>\n<p>In running multivariate regressions, great care must be taken to set up and interpret the results. For instance, a good understanding of econometric modeling is required (e.g., identifying regression pitfalls such as structural breaks, multicollinearity, heteroskedasticity, autocorrelation, specification tests, nonlinearities, and so forth) before a proper model can be constructed.<\/p>\n<p><strong>Procedure<\/strong><\/p>\n<li>Start Excel and type in or open your existing dataset (the illustration in Figure 2 uses the file Multiple Regression in the examples folder).<\/li>\n<li>Check to make sure that the data are arranged in columns and select the data including the variable headings, and click on Risk Simulator | Forecasting | Multiple Regression.<\/li>\n<li>Select the dependent variable and check the relevant options (lags, stepwise regression, nonlinear regression, and so forth) and click OK (Figure 2).<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192129.png\" alt=\"IMG_08072014_192129\" width=\"1703\" height=\"1804\" class=\"aligncenter size-full wp-image-525\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192129.png 1703w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192129-283x300.png 283w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192129-966x1024.png 966w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192129-198x210.png 198w\" sizes=\"auto, (max-width: 1703px) 100vw, 1703px\" \/><\/p>\n<p><strong>Results Interpretation<\/strong><br \/>\nFigure 3 (on the next page) illustrates a sample multivariate regression result report generated. The report comes complete with all the regression results, analysis of variance results, fitted chart, and hypothesis test results.<\/p>\n<p>In \u201cMultivariate Regression, Part 2,\u201d you will learn about a powerful automated approach to regression     analysis known as \u201cstepwise regression\u201d and about how goodness-of-fit statistics provide a glimpse into the accuracy and reliability of the estimated regression model.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192207.png\" alt=\"IMG_08072014_192207\" width=\"1637\" height=\"2621\" class=\"aligncenter size-full wp-image-526\" srcset=\"https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192207.png 1637w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192207-187x300.png 187w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192207-639x1024.png 639w, https:\/\/rovdownloads.com\/blog\/wp-content\/uploads\/2014\/07\/IMG_08072014_192207-131x210.png 131w\" sizes=\"auto, (max-width: 1637px) 100vw, 1637px\" \/><\/p>\n<p>TO BE CONCLUDED IN \u201cMulitvariate Regression, Part 2\u201d<\/p>\n<div style=\"padding-bottom:20px; padding-top:10px;\" class=\"hupso-share-buttons\"><!-- Hupso Share Buttons - http:\/\/www.hupso.com\/share\/ --><a class=\"hupso_toolbar\" href=\"http:\/\/www.hupso.com\/share\/\"><img decoding=\"async\" src=\"https:\/\/static.hupso.com\/share\/buttons\/share-medium.png\" style=\"border:0px; padding-top:5px; float:left;\" alt=\"Share Button\"\/><\/a><script type=\"text\/javascript\">var hupso_services_t=new Array(\"Twitter\",\"Facebook\",\"Google Plus\",\"Linkedin\");var hupso_background_t=\"#EAF4FF\";var hupso_border_t=\"#66CCFF\";var hupso_toolbar_size_t=\"medium\";var hupso_image_folder_url = \"http:\/\/rovdownloads.com\/blog\/wp-content\/plugins\/hupso-share-buttons-for-twitter-facebook-google\/img\/services\/\";var hupso_url_t=\"\";var hupso_title_t=\"Multivariate Regression, Part 1\";<\/script><script type=\"text\/javascript\" src=\"https:\/\/static.hupso.com\/share\/js\/share_toolbar.js\"><\/script><!-- Hupso Share Buttons --><\/div>","protected":false},"excerpt":{"rendered":"<p>Theory It is assumed that the user is knowledgeable about the fundamentals of regression analysis. The general bivariate linear regression equation takes the form of where \u03b20 is the intercept,\u03b21 &hellip; <a class=\"readmore\" href=\"https:\/\/rovdownloads.com\/blog\/multivariate-regression-part-1\/\">Continue Reading &amp;rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[34],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-multivariate-regression"],"acf":[],"_links":{"self":[{"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":2,"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rovdownloads.com\/blog\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}