{"id":137821,"date":"2026-11-30T09:54:35","date_gmt":"2026-11-30T15:54:35","guid":{"rendered":"https:\/\/www.albert.io\/blog\/?p=137821"},"modified":"2026-11-30T09:54:35","modified_gmt":"2026-11-30T15:54:35","slug":"linear-regression-calculator","status":"publish","type":"post","link":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/","title":{"rendered":"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals)"},"content":{"rendered":"<p>This free linear regression calculator finds the least-squares regression line \u0177 = a + bx, the correlation r and r\u00b2 from your x, y data, and draws a scatterplot, a residual plot and a residual table, with AP-style interpretations, for statistics and AP Statistics students.<\/p>\n<div class=\"athq-tool athq-set-math\" data-slug=\"linear-regression-calculator\" data-mode=\"full\" data-name=\"Linear Regression Calculator\" data-src=\"https:\/\/www.albert.io\/blog\/wp-content\/uploads\/albert-tools-hq\/linear-regression-calculator.3df625f98f.js\" data-config=\"{&quot;start&quot;:[]}\" data-cta=\"{&quot;url&quot;:&quot;https:\\\/\\\/www.albert.io\\\/adaptive-subjects\\\/adaptive-math-skills?utm_source=blog&amp;utm_medium=tool&amp;utm_campaign=linear-regression-calculator&amp;utm_content=cta&quot;,&quot;label&quot;:&quot;Practice free in Albert&quot;}\"><p class=\"athq-loading\">Loading the linear regression calculator\u2026<\/p><noscript><p>This linear regression calculator needs JavaScript turned on.<\/p><\/noscript><\/div>\n<h2>How to use the linear regression calculator<\/h2>\n<ol>\n<li><strong>Enter your data.<\/strong> Paste one x, y pair per line (like 1, 62), \u201c(x, y)\u201d pairs, or two columns copied from a spreadsheet. Or switch to Two lists and enter the x and y values separately.<\/li>\n<li><strong>Name the variables<\/strong> (optional), like \u201chours studied\u201d and \u201ctest score\u201d, so the interpretations are written in context.<\/li>\n<li><strong>Add an x to predict at<\/strong> (optional) to get \u0177 for that x. The calculator warns you when it\u2019s extrapolation.<\/li>\n<li><strong>Read the results.<\/strong> You get the equation, r and r\u00b2, the scatterplot with the line, the residual plot, sentences interpreting the slope, intercept, r, r\u00b2 and s, the steps and a residual table.<\/li>\n<\/ol>\n<h2>Worked example<\/h2>\n<p>Eight students recorded how many hours they studied for a test and their scores:<\/p>\n<div class=\"athq-table-scroll\">\n<table>\n<thead>\n<tr>\n<th>Hours (x)<\/th>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<td>7<\/td>\n<td>8<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>Score (y)<\/th>\n<td>62<\/td>\n<td>66<\/td>\n<td>71<\/td>\n<td>70<\/td>\n<td>78<\/td>\n<td>81<\/td>\n<td>84<\/td>\n<td>88<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<ol>\n<li><strong>Summarize.<\/strong> x\u0304 = 4.5, \u0233 = 75, s\u2093 = 2.449, s_y = 9.150 and r = 0.988.<\/li>\n<li><strong>Find the slope.<\/strong> b = r(s_y \u00f7 s\u2093) = 0.988 \u00d7 (9.150 \u00f7 2.449) = 3.6905.<\/li>\n<li><strong>Find the intercept.<\/strong> a = \u0233 \u2212 b\u00b7x\u0304 = 75 \u2212 3.6905 \u00d7 4.5 = 58.3929.<\/li>\n<li><strong>Write the line.<\/strong> \u0177 = 58.3929 + 3.6905x, or predicted score = 58.39 + 3.69(hours studied).<\/li>\n<li><strong>Predict.<\/strong> For 5.5 hours, \u0177 = 58.3929 + 3.6905 \u00d7 5.5 = 78.69 points.<\/li>\n<\/ol>\n<p><strong>Interpretations:<\/strong> For each additional hour studied, the predicted test score increases by about 3.69 points. r\u00b2 = 0.976, so about 97.6% of the variation in test scores is accounted for by the linear model relating score to hours studied. The student who studied 4 hours scored 70, below the predicted 73.15, a residual of 70 \u2212 73.15 = \u22123.15 points.<\/p>\n<h2>What the least-squares regression line is<\/h2>\n<p>For any line through a scatterplot, each point has a <strong>residual<\/strong>, the vertical distance from the point to the line: residual = y \u2212 \u0177. The least-squares regression line (LSRL) is the one line that makes the sum of the squared residuals as small as possible. Squaring keeps positive and negative residuals from cancelling and gives large misses more weight.<\/p>\n<p>The LSRL has a few properties that are worth knowing for the exam:<\/p>\n<ul>\n<li>It always passes through the point (x\u0304, \u0233).<\/li>\n<li>Its residuals always add up to 0.<\/li>\n<li>Its slope has the same sign as r.<\/li>\n<li>Swapping x and y gives a different line, so the choice of explanatory variable matters.<\/li>\n<\/ul>\n<h2>The formulas<\/h2>\n<div class=\"athq-table-scroll\">\n<table>\n<thead>\n<tr>\n<th>Quantity<\/th>\n<th>Formula<\/th>\n<th>Meaning<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Slope<\/td>\n<td>b = r \u00b7 (s_y \u00f7 s\u2093)<\/td>\n<td>Predicted change in y for each increase of 1 in x<\/td>\n<\/tr>\n<tr>\n<td>y-intercept<\/td>\n<td>a = \u0233 \u2212 b\u00b7x\u0304<\/td>\n<td>Predicted y when x = 0<\/td>\n<\/tr>\n<tr>\n<td>Correlation<\/td>\n<td>r = \u03a3(z\u2093 \u00b7 z_y) \u00f7 (n \u2212 1)<\/td>\n<td>Direction and strength of the linear association<\/td>\n<\/tr>\n<tr>\n<td>Coefficient of determination<\/td>\n<td>r\u00b2<\/td>\n<td>Fraction of the variation in y accounted for by the model<\/td>\n<\/tr>\n<tr>\n<td>Standard deviation of residuals<\/td>\n<td>s = \u221a(\u03a3(y \u2212 \u0177)\u00b2 \u00f7 (n \u2212 2))<\/td>\n<td>Typical size of a prediction error<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The AP Statistics formula sheet gives the slope as b = r(s_y\/s\u2093) and the intercept as a = \u0233 \u2212 b\u00b7x\u0304, which is the route the calculator\u2019s steps follow.<\/p>\n<h2>Correlation: r<\/h2>\n<p>The correlation coefficient r runs from \u22121 to 1. Its sign gives the direction (positive: y tends to rise as x rises), and its size gives the strength of the linear relationship: values near \u00b11 are strong, values near 0 are weak. A few cautions:<\/p>\n<ul>\n<li>r only measures <strong>linear<\/strong> association. A strong curved pattern can have an r near 0.<\/li>\n<li>r has no units and doesn\u2019t change if you swap x and y or change units (like inches to centimeters).<\/li>\n<li>r is not resistant: one outlier can raise or lower it a lot.<\/li>\n<li>Correlation is not causation. A strong r between two variables doesn\u2019t show that one causes the other.<\/li>\n<\/ul>\n<h2>Interpreting slope, intercept, r\u00b2 and s<\/h2>\n<p>AP Statistics questions expect interpretations in context, written as predictions:<\/p>\n<ul>\n<li><strong>Slope:<\/strong> \u201cFor each additional [x unit] of [x], the predicted [y] increases (or decreases) by about [b] [y units].\u201d Use \u201cpredicted\u201d because the line describes an average trend.<\/li>\n<li><strong>y-intercept:<\/strong> \u201cWhen [x] = 0, the predicted [y] is [a].\u201d If x = 0 is far outside the data, say the intercept has no practical meaning.<\/li>\n<li><strong>r\u00b2:<\/strong> \u201cAbout [r\u00b2 as a percent] of the variation in [y] is accounted for by the linear model relating [y] to [x].\u201d<\/li>\n<li><strong>s:<\/strong> \u201cThe actual [y] values typically differ from the values predicted by the line by about [s] [y units].\u201d<\/li>\n<\/ul>\n<p>Type the variable names in the calculator and it fills these in for you.<\/p>\n<h2>Residuals and the residual plot<\/h2>\n<p>A residual plot graphs each residual against x (or against \u0177). It\u2019s the best check of whether a line is a good model:<\/p>\n<ul>\n<li><strong>Random scatter around 0:<\/strong> a linear model is appropriate.<\/li>\n<li><strong>A curve<\/strong> (residuals positive at both ends and negative in the middle, or the reverse): the relationship isn\u2019t linear, so try a transformation or a nonlinear model.<\/li>\n<li><strong>A fan shape<\/strong> (residuals spreading out as x grows): predictions are less reliable for some x values.<\/li>\n<\/ul>\n<p>Points with unusually large residuals are possible outliers; the calculator highlights any residual more than 2s from 0. A point far from the others in the x direction can be influential, pulling the line toward itself, even when its residual is small.<\/p>\n<h2>Predictions and extrapolation<\/h2>\n<p>To predict y, substitute an x value into the equation. Predictions are most trustworthy for x values inside the range of the data. Using the line far outside that range is <strong>extrapolation<\/strong>: the pattern may not continue, so the prediction can be badly wrong. A study-time line fit to 1\u20138 hours, for example, predicts a score above 100 for 12 hours.<\/p>\n<h2>Reading computer regression output<\/h2>\n<p>AP questions often give software output instead of raw data. It usually looks like this for the study-time example:<\/p>\n<div class=\"athq-table-scroll\">\n<table>\n<thead>\n<tr>\n<th>Predictor<\/th>\n<th>Coef<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Constant<\/td>\n<td>58.3929<\/td>\n<\/tr>\n<tr>\n<td>Hours<\/td>\n<td>3.6905<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>with S = 1.5262 and R-Sq = 97.6% listed underneath. The \u201cConstant\u201d coefficient is the intercept a, the coefficient next to the explanatory variable is the slope b, S is the standard deviation of the residuals s, and R-Sq is r\u00b2 as a percent. To find r, take the square root of r\u00b2 and give it the sign of the slope. The calculator reports the same four numbers, so you can practice matching them up.<\/p>\n<h2>Regression on the AP Statistics exam<\/h2>\n<p>Least-squares regression is part of AP Statistics Unit 2, Exploring Two-Variable Data, and slope inference returns in Unit 9. Expect to read computer regression output, interpret the slope, intercept, r\u00b2 and s in context, judge a residual plot and calculate a residual. For more practice, read <a href=\"https:\/\/www.albert.io\/blog\/ap-statistics-least-squares-regression\/\">Least Squares Regression<\/a>, <a href=\"https:\/\/www.albert.io\/blog\/ap-statistics-residuals\/\">Residuals<\/a> and <a href=\"https:\/\/www.albert.io\/blog\/ap-statistics-correlation\/\">Correlation<\/a>, and browse the <a href=\"https:\/\/www.albert.io\/blog\/ap-statistics-cheat-sheets\/\">AP Statistics cheat sheets<\/a>. After a practice test, estimate your score with the <a href=\"https:\/\/www.albert.io\/blog\/ap-statistics-score-calculator\/\">AP Statistics Score Calculator<\/a>.<\/p>\n<h2>FAQ<\/h2>\n<div class=\"athq-faq\"><h3>How do you find the least-squares regression line?<\/h3><p>Find the means and standard deviations of x and y and the correlation r. The slope is b = r(s_y\/s\u2093) and the intercept is a = \u0233 \u2212 b\u00b7x\u0304, so the line is \u0177 = a + bx. For (1, 1), (2, 3) and (3, 2), r = 0.5, s\u2093 = s_y = 1, so b = 0.5 and a = 2 \u2212 0.5 \u00d7 2 = 1: \u0177 = 1 + 0.5x.<\/p>\n<h3>How do I interpret the slope?<\/h3><p>The slope is the predicted change in y for each increase of 1 in x. Say it in context and as a prediction: \u201cFor each additional hour studied, the predicted test score increases by about 3.69 points.\u201d Avoid saying y \u201cwill\u201d change by that amount: the line describes an average trend, not a guarantee for each individual.<\/p>\n<h3>What is the difference between r and r\u00b2?<\/h3><p>r measures the direction and strength of a linear association, from \u22121 to 1. r\u00b2 is the fraction of the variation in y that the linear model with x accounts for. With r = 0.5, r\u00b2 = 0.25: about 25% of the variation in y is accounted for by the linear model relating y to x.<\/p>\n<h3>What is a residual?<\/h3><p>A residual is the actual y minus the predicted y: e = y \u2212 \u0177. A positive residual means the point is above the line, and a negative one means it\u2019s below. The least-squares line makes the sum of the squared residuals as small as possible, and the residuals always add up to 0.<\/p>\n<h3>How do I know if a linear model is appropriate?<\/h3><p>Look at the residual plot. Random scatter around 0 with no curve and no fan shape suggests a line is a good model. A curved pattern means a nonlinear model would fit better, and a fan shape means the predictions are less reliable for some x values. A high r alone doesn\u2019t prove the relationship is linear.<\/p>\n<h3>What is extrapolation?<\/h3><p>Extrapolation is using the line to predict y for an x value outside the range of the data. The pattern may not continue beyond the data, so those predictions can be badly wrong. The calculator flags a prediction as extrapolation when x is below the smallest or above the largest x in your data.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","albert_practice_url":"","albert_lit_section":"analysis","albert_lit_sort_order":0,"footnotes":""},"categories":[14],"tags":[12854],"class_list":["post-137821","post","type-post","status-publish","format-standard","hentry","category-tools-and-calculators","tag-score-calculator"],"acf":{"post_id":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals) | Albert<\/title>\n<meta name=\"description\" content=\"Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.\" \/>\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.albert.io\/blog\/linear-regression-calculator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals) | Albert\" \/>\n<meta property=\"og:description\" content=\"Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Albert Blog &amp; Resources\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-30T15:54:35+00:00\" \/>\n<meta name=\"author\" content=\"Nate Rodriguez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nate Rodriguez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/\"},\"author\":{\"name\":\"Nate Rodriguez\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/19bfb09edb833686afd6de5747925b70\"},\"headline\":\"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals)\",\"datePublished\":\"2026-11-30T15:54:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/\"},\"wordCount\":1071,\"keywords\":[\"Score Calculator\"],\"articleSection\":[\"Tools &amp; Calculators\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/\",\"url\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/\",\"name\":\"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals) | Albert\",\"isPartOf\":{\"@id\":\"https:\/\/www.albert.io\/blog\/#website\"},\"datePublished\":\"2026-11-30T15:54:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/19bfb09edb833686afd6de5747925b70\"},\"description\":\"Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.albert.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.albert.io\/blog\/#website\",\"url\":\"https:\/\/www.albert.io\/blog\/\",\"name\":\"Albert Blog &amp; Resources\",\"description\":\"Free resources and practice materials for students and teachers!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.albert.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/19bfb09edb833686afd6de5747925b70\",\"name\":\"Nate Rodriguez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.albert.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2380d952faca2222aaad0af6191e1ae51190565e8444219357e15a72ee849ed1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2380d952faca2222aaad0af6191e1ae51190565e8444219357e15a72ee849ed1?s=96&d=mm&r=g\",\"caption\":\"Nate Rodriguez\"},\"description\":\"Albert.io offers the best practice questions for high-stakes exams and core courses spanning grades 6-12. For over five years, hundreds of thousands of students have used Albert to build confidence and score better on their SAT\u00ae, ACT\u00ae, AP, and Common Core tests. If you're an educator interested in trying Albert, click the button below to learn about our pilot program.\",\"url\":\"https:\/\/www.albert.io\/blog\/author\/naterodriguez\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals) | Albert","description":"Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.","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.albert.io\/blog\/linear-regression-calculator\/","og_locale":"en_US","og_type":"article","og_title":"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals) | Albert","og_description":"Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.","og_url":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/","og_site_name":"Albert Blog &amp; Resources","article_published_time":"2026-11-30T15:54:35+00:00","author":"Nate Rodriguez","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nate Rodriguez","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/#article","isPartOf":{"@id":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/"},"author":{"name":"Nate Rodriguez","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/19bfb09edb833686afd6de5747925b70"},"headline":"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals)","datePublished":"2026-11-30T15:54:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/"},"wordCount":1071,"keywords":["Score Calculator"],"articleSection":["Tools &amp; Calculators"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/","url":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/","name":"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals) | Albert","isPartOf":{"@id":"https:\/\/www.albert.io\/blog\/#website"},"datePublished":"2026-11-30T15:54:35+00:00","author":{"@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/19bfb09edb833686afd6de5747925b70"},"description":"Free linear regression calculator: paste x, y data for the LSRL \u0177 = a + bx, r and r\u00b2, a scatterplot, residual plot and AP-style interpretations.","breadcrumb":{"@id":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.albert.io\/blog\/linear-regression-calculator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.albert.io\/blog\/linear-regression-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.albert.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Linear Regression Calculator (LSRL, r and r\u00b2, with Residuals)"}]},{"@type":"WebSite","@id":"https:\/\/www.albert.io\/blog\/#website","url":"https:\/\/www.albert.io\/blog\/","name":"Albert Blog &amp; Resources","description":"Free resources and practice materials for students and teachers!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.albert.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/19bfb09edb833686afd6de5747925b70","name":"Nate Rodriguez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.albert.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2380d952faca2222aaad0af6191e1ae51190565e8444219357e15a72ee849ed1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2380d952faca2222aaad0af6191e1ae51190565e8444219357e15a72ee849ed1?s=96&d=mm&r=g","caption":"Nate Rodriguez"},"description":"Albert.io offers the best practice questions for high-stakes exams and core courses spanning grades 6-12. For over five years, hundreds of thousands of students have used Albert to build confidence and score better on their SAT\u00ae, ACT\u00ae, AP, and Common Core tests. If you're an educator interested in trying Albert, click the button below to learn about our pilot program.","url":"https:\/\/www.albert.io\/blog\/author\/naterodriguez\/"}]}},"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/137821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/comments?post=137821"}],"version-history":[{"count":1,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/137821\/revisions"}],"predecessor-version":[{"id":137822,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/posts\/137821\/revisions\/137822"}],"wp:attachment":[{"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/media?parent=137821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/categories?post=137821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albert.io\/blog\/wp-json\/wp\/v2\/tags?post=137821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}