{"id":101751,"date":"2021-01-11T16:50:22","date_gmt":"2021-01-11T11:20:22","guid":{"rendered":"https:\/\/www.vskills.in\/certification\/tutorial\/?page_id=101751"},"modified":"2024-04-12T14:33:01","modified_gmt":"2024-04-12T09:03:01","slug":"linear-regression-analysis","status":"publish","type":"page","link":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/","title":{"rendered":"Linear Regression Analysis"},"content":{"rendered":"\n<p>The Least Squares Regression (LSR) method derives an equation describing a straight line relationship between the historical sales data and the passage of time. LSR fits a line to the selected range of data so that the sum of the squares of the differences between the actual sales data points and the regression line are minimized. The forecast is a projection of this straight line into the future.<\/p>\n\n\n\n<p>This method requires sales data history for the period that is represented by the number of periods best fit plus the specified number of historical data periods. The minimum requirement is two historical data points. This method is useful to forecast demand when a linear trend is in the data.<\/p>\n\n\n\n<p>Linear regression analysis is a forecasting technique that establishes a relationship between variables. One variable is known or assumed, and used to forecast the value of an unknown variable. Past data establishes a functional relationship between the two variables. We will consider the simplest regression situation between the two variables and the linear relationship. Our forecast of the period\u2019s demand is expressed by:<\/p>\n\n\n\n<p>Ft=a + bX<sub>1<\/sub><\/p>\n\n\n\n<p>Where F1 is the forecast for the period t, given we know the value of the variable X in the period t. The coefficients a and b are constants: a is the intercept value for the vertical (F) axis and b is the slope of the line. Often the equation is expressed as:<\/p>\n\n\n\n<p>Y=a + bX.<\/p>\n\n\n\n<p>In this equation we have substituted F for Y, to indicate b is the forecasted value. In order to find coefficients a and b, old demand is utilized rather than the old forecast. These coefficients are computed by the following two equations<\/p>\n\n\n\n<p>b=: a ($X1D1)-($X1)($D1)___<\/p>\n\n\n\n<p>n ($X1*$X1)-($X1)($X1)<\/p>\n\n\n\n<p>a=$D1- b &amp; X1<\/p>\n\n\n\n<p>n<\/p>\n\n\n\n<p>Where D = a + bX, and a= no. of periods<\/p>\n\n\n\n<p><strong>Example:<\/strong> A pepperbox company carryout pizza boxes. The operation planning department knows that the pizza sales of major client are a function of the advertisement amount, the client spends, on account of which they receive in advance of the expenditure. Operation planning is interested in determining the relationship the client\u2019s advertisement and sales. The amount of pizza the client would order. In money value is known to be a fixed percentage of sales<\/p>\n\n\n\n<p>Quarterly advertising and sales<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Quarter<\/strong><\/td><td><strong>Advertising (in 1,00,000 Rs.)<\/strong><\/td><td><strong>Sales (in 1, 00,000 Rs.)<\/strong><\/td><\/tr><\/thead><tbody><tr><td>1 &nbsp; 2 3 4 5 6 7 8 9 10 &nbsp; &nbsp;<\/td><td>4 &nbsp; 10 15 12 8 16 5 7 9 102<\/td><td>1 &nbsp; 4 5 4 3 4 2 1 4<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Computing b and a, where advertising is X1 for the quarter t, sales are D1 for the quarter t and forecast is F1 for the future Period t<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg\" alt=\"\" class=\"wp-image-95528\"\/><\/figure><\/div>\n\n\n\n<p>b = 10(328) \u2013 (96)30 =29<\/p>\n\n\n\n<p>10(1060) _96*96<\/p>\n\n\n\n<p>a = 30- .29(96) = .22 \/10<\/p>\n\n\n\n<p>Thus the estimated regression line, the relationship between future sales F, and advertising X is<\/p>\n\n\n\n<p>F=22+.29X<\/p>\n\n\n\n<p>The operation planner can now ask for planned expenditure expenditures, and from that sales can be forecast<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Least Squares Regression (LSR) method derives an equation describing a straight line relationship between the historical sales data and the passage of time. LSR fits a line to the selected range of data so that the sum of the squares of the differences between the actual sales data points and the regression line are&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-101751","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linear Regression Analysis - Tutorial<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linear Regression Analysis - Tutorial\" \/>\n<meta property=\"og:description\" content=\"The Least Squares Regression (LSR) method derives an equation describing a straight line relationship between the historical sales data and the passage of time. LSR fits a line to the selected range of data so that the sum of the squares of the differences between the actual sales data points and the regression line are...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vskills.in\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T09:03:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/\",\"name\":\"Linear Regression Analysis - Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg\",\"datePublished\":\"2021-01-11T11:20:22+00:00\",\"dateModified\":\"2024-04-12T09:03:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#primaryimage\",\"url\":\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linear Regression Analysis\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#website\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"name\":\"Tutorial\",\"description\":\"Vskills - A initiative in elearning and certification\",\"publisher\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#organization\",\"name\":\"Vskills\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"contentUrl\":\"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg\",\"width\":73,\"height\":55,\"caption\":\"Vskills\"},\"image\":{\"@id\":\"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/vskills.in\/\",\"https:\/\/x.com\/vskills_in\",\"https:\/\/www.linkedin.com\/company-beta\/1371554\/\",\"https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linear Regression Analysis - Tutorial","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:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/","og_locale":"en_US","og_type":"article","og_title":"Linear Regression Analysis - Tutorial","og_description":"The Least Squares Regression (LSR) method derives an equation describing a straight line relationship between the historical sales data and the passage of time. LSR fits a line to the selected range of data so that the sum of the squares of the differences between the actual sales data points and the regression line are...","og_url":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/","og_site_name":"Tutorial","article_publisher":"https:\/\/www.facebook.com\/vskills.in\/","article_modified_time":"2024-04-12T09:03:01+00:00","og_image":[{"url":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/","name":"Linear Regression Analysis - Tutorial","isPartOf":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#primaryimage"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg","datePublished":"2021-01-11T11:20:22+00:00","dateModified":"2024-04-12T09:03:01+00:00","breadcrumb":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#primaryimage","url":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg","contentUrl":"https:\/\/www.vskills.in\/lms\/wp-content\/uploads\/2017\/08\/image020.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/linear-regression-analysis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vskills.in\/certification\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Linear Regression Analysis"}]},{"@type":"WebSite","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#website","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","name":"Tutorial","description":"Vskills - A initiative in elearning and certification","publisher":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vskills.in\/certification\/tutorial\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#organization","name":"Vskills","url":"https:\/\/www.vskills.in\/certification\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","contentUrl":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-content\/uploads\/2017\/07\/vskills-min-logo.jpg","width":73,"height":55,"caption":"Vskills"},"image":{"@id":"https:\/\/www.vskills.in\/certification\/tutorial\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/vskills.in\/","https:\/\/x.com\/vskills_in","https:\/\/www.linkedin.com\/company-beta\/1371554\/","https:\/\/www.youtube.com\/channel\/UCMWnscxPwRF_PqXo9B7q_Tw"]}]}},"_links":{"self":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/101751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/comments?post=101751"}],"version-history":[{"count":1,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/101751\/revisions"}],"predecessor-version":[{"id":101752,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/pages\/101751\/revisions\/101752"}],"wp:attachment":[{"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/media?parent=101751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/categories?post=101751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vskills.in\/certification\/tutorial\/wp-json\/wp\/v2\/tags?post=101751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}