{"id":1031,"date":"2022-10-22T04:17:01","date_gmt":"2022-10-22T04:17:01","guid":{"rendered":"https:\/\/mondaikaiketsu.net\/?p=1031"},"modified":"2025-05-01T23:49:55","modified_gmt":"2025-05-01T23:49:55","slug":"keypoints-regression-analysis","status":"publish","type":"post","link":"https:\/\/mondaikaiketsu.net\/en\/keypoints-regression-analysis\/","title":{"rendered":"Key points for &#8220;Regression Analysis&#8221;"},"content":{"rendered":"\n<p>Hello everyone.&nbsp;<a href=\"https:\/\/mondaikaiketsu.net\/en\/2022\/10\/15\/\u77e5\u308b\u4eba\u305e\u77e5\u308b\u72e9\u91ce\u30e2\u30c7\u30eb\uff08kano-model\uff09\u3068\u306f\uff1f\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Last time<\/a>, I wrote about \u201cKANO Model\u201d which was introduced as one of the analysis methods when conducting primary research.  This time, I would like to write about another analysis methods called \u201cRegression Analysis\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. What is &#8220;Regression Analysis&#8221;?<\/strong><\/h2>\n\n\n\n<p>Regression analysis is a statistical analysis method and is one of the so-called \u201cmultivariate analysis\u201d methods. In the case of spreadsheet data such as Excel, the vertical axis is &#8220;row&#8221; and the horizontal axis is &#8220;column&#8221;. You can see the columns that have a large impact (eg: factors that have a large impact on \u201ccustomer satisfaction\u201d -&gt; \u201cproposal\u201d, \u201cprice\u201d, etc).<\/p>\n\n\n\n<p>It can be said that it is one of the methods in the field called \u201cdata mining\u201d in the old days and \u201cdata science\u201d in recent years.  There are so many methods in this field, and they come and go, but this regression analysis has been around for a long time and is easy to use, so I often use it.  When it comes to its easiness, I think there are three points: a) Versatility, b) Clear results, and c) Easy to explain to stakeholders.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>a) Versatility<\/strong><\/h3>\n\n\n\n<p>Regression analysis can analyze a wide variety of data. Depending on the analysis method, there are some that cannot be used unless the data structures are well designed from the stage before collecting them (survey design stage). But in the case of regression analysis, it can be used in a vague situation like &#8220;I have this kind of data at hand, and can I utilize these in some way?&#8221;<\/p>\n\n\n\n<p>In the case of spreadsheet data, if there are multiple \u201ccolumns\u201d and they are quantified, they can often be used (roughly speaking). Therefore, I think you can say that it is a very reassuring ally for \u201cproblem solvers\u201d who work with various departments in the company on various projects. Also, it is helpful to be able to analyze data directly on Excel, rather than using a dedicated statistical tool! (Almost the same analysis can be done on Google Sheets by installing the add-on &#8220;XLMiner Analysis ToolPak&#8221;)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>b) Clear results<\/strong><\/h3>\n\n\n\n<p>Depending on the analysis method, there are methods in which the analyst needs to interpret the analysis results and name the axes, or the analyst&#8217;s subjectivity is included, but in regression analysis, the results themselves are quite digital. So if you know how to look at it, there is little room for subjectivity, I think this point is also good.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>c) Easy to explain to stakeholders<\/strong><\/h3>\n\n\n\n<p>I think this is a very important point for &#8220;problem solvers&#8221; to use this kind of analysis method, so I will touch on it later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. Key points for &#8220;Regression Analysis&#8221;<\/strong><\/h2>\n\n\n\n<p>There are a lot of specific ways to proceed with the analysis on the internet, so as usual:) , let me post only <a href=\"https:\/\/www.ablebits.com\/office-addins-blog\/linear-regression-analysis-excel\/\" target=\"_blank\" rel=\"noopener\" title=\"\">one link<\/a>. As you can see in this link, the execution of the analysis itself ends in an instant on Excel. I will only make two points below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">POINT1: Prep before analysis &#8211; How to handle missing values<\/h3>\n\n\n\n<p>It is common for data to contain blanks. These empty fields are called &#8220;missing values&#8221;. Regression analysis cannot be performed well with missing values, so it is necessary to remove them. There are many ways to remove them, but there are two &#8220;practical&#8221; ways.<\/p>\n\n\n\n<p>One is to remove the records themselves that contain missing values. The problem with this method is that it reduces the number of data samples, so it is not recommended if the number of samples is not enough (about 100 or less).<\/p>\n\n\n\n<p>The second method is to calculate the average value of the columns with blanks and fill in the blanks with the average.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"377\" height=\"489\" src=\"https:\/\/mondaikaiketsu.net\/wp-content\/uploads\/2022\/10\/037af66e43f9b9bd479feac4e09723a3.png\" alt=\"\" class=\"wp-image-1052\"\/><figcaption class=\"wp-element-caption\">Yellow cell = missing values<\/figcaption><\/figure>\n\n\n\n<p>With this method, the variation in the data changes slightly, but the average value remains the same, so the impact on the data distribution can be reduced. Best of all, this is easy.<\/p>\n\n\n\n<p>Another important preparation before analysis is checking for &#8220;Multicollinearity&#8221;. This means that if there is a strong correlation between the independent variables (the three columns of &#8220;Long Cast&#8221;, &#8220;Suspension&#8221;, and &#8220;Grip strength&#8221; in the example above), it will not be possible to analyze them well. Please see <a href=\"https:\/\/mondaikaiketsu.net\/en\/utilizing-sleeping-data\" target=\"_blank\" rel=\"noopener\" title=\"\">this link<\/a> for addressing multicollinearity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>POINT2: How to read analysis results<\/strong><\/h3>\n\n\n\n<p>When you perform regression analysis on Excel, a table like this will be displayed. There may be a lot of different items that come up and you may wonder what is what, but there are only three items you need to look at.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"618\" height=\"408\" src=\"https:\/\/mondaikaiketsu.net\/wp-content\/uploads\/2022\/03\/3e344fe2bd7c292cb033083c5e9fe98a.png\" alt=\"\u30a8\u30af\u30bb\u30eb\u3067\u306e\u91cd\u56de\u5e30\u5206\u6790\u306e\u7d50\u679c\" class=\"wp-image-245\"\/><figcaption class=\"wp-element-caption\">Regression analysis results on Excel: Yellow = Items you need to look at<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Adjusted R Square<\/strong><\/h4>\n\n\n\n<p>There are &#8220;Multiple R&#8221; and &#8220;R Square&#8221; lined up, but for multiple regression, please see this one. This is the value of what percentage of the variation in the outcome variable (\u201cBall speed\u201d in this example) is explained by this analysis. The closer to 100%, the better.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>T-stat<\/strong><\/h4>\n\n\n\n<p>The magnitude of the effect on the outcome variable. Please try to see numbers greater than 2. &#8220;Coefficient&#8221; also indicates the magnitude of the effect, but this may change depending on the unit (eg: results of 1m and 100cm might be changed), so it would be better to look at &#8220;T-stat&#8221;.<\/p>\n\n\n\n<p>However, &#8220;Coefficient&#8221; is still important because it can be used for prediction. In the example above, Y (Ball speed) = 0.65&#215;1 (Long cast) + 0.48&#215;2 (Suspension) + 0.12&#215;3 (Grip strength) + 47.53. This prediction formula means, for example, if the &#8220;Long cast&#8221; extends 1m, the ball speed will increase by 0.65km.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>P value<\/strong><\/h4>\n\n\n\n<p>Only look at data that are less than 5%. This is the probability of variation occurring, and if more than 5%, the probability would be high.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3. How to explain to stakeholders<\/strong><\/h2>\n\n\n\n<p>As I wrote earlier, it is important for you, the \u201cproblem solvers,\u201d to explain your analysis results to project stakeholders so that they can understand them. When using advanced statistical methods such as regression analysis, this part often becomes a bottleneck, so I think it is important to prepare an explanation way.<\/p>\n\n\n\n<p>We are often asked about the difference from correlation analysis. Similar to regression analysis, correlation analyzes data that includes multiple columns, but correlation only shows the strength of the relationship between columns (eg: 0.3 is weak, 0.8 is strong, etc).<\/p>\n\n\n\n<p>In contrast, regression analysis shows causality. Regression analysis is basically Y=ax1+bx2+cx3\u2026+d, which we learned in mathematics long time ago. Y = Outcome variable, a, b, c = Coefficient (also called independent variable), d = Intercept. What this means is that you can predict the outcome variable by changing the coefficient. This is the big difference from correlation. I think it&#8217;s best to understand this first.<\/p>\n\n\n\n<p>Strictly speaking, the multiple regression analysis shared here is called linear regression analysis, and the outcome variable must be a continuous variable. If your outcome variable is discrete, you should use logistic regression analysis. Learn more about logistic regression analysis <a href=\"https:\/\/mondaikaiketsu.net\/en\/keypoints-logistics-regression-analysis\/\" target=\"_blank\" rel=\"noopener\" title=\"\">here<\/a>.<\/p>\n\n\n\n<p>That\u2019s all for this time, and I would like to continue from the next time onwards. Thank you for reading until the end.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello everyone.&nbsp;Last time, I wrote about \u201cKANO Model\u201d which was introduced as one of the analysis methods when conducting primary research. This  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":563,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/mondaikaiketsu.net\/?p=246","footnotes":""},"categories":[34,37],"tags":[],"class_list":["post-1031","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-as-is-en","category-data-analysis-en","en-US"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/posts\/1031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/comments?post=1031"}],"version-history":[{"count":37,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":3172,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/posts\/1031\/revisions\/3172"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/media\/563"}],"wp:attachment":[{"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/media?parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/categories?post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mondaikaiketsu.net\/wp-json\/wp\/v2\/tags?post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}