{"id":6147,"date":"2026-04-08T22:30:56","date_gmt":"2026-04-09T03:30:56","guid":{"rendered":"https:\/\/ykim.synology.me\/wordpress\/?p=6147"},"modified":"2026-11-26T22:39:42","modified_gmt":"2026-11-27T04:39:42","slug":"the-impact-of-variance-components-on-the-coefficient-of-determination-r2","status":"publish","type":"post","link":"https:\/\/ykim.synology.me\/wordpress\/the-impact-of-variance-components-on-the-coefficient-of-determination-r2-6147\/","title":{"rendered":"Variance Components in $R^2$ (Coefficient of Determination)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/yBarn1\/Images\/main\/diagrams\/variance-components-coefficient-of-determination-r2.png\" alt=\"\" style=\"width:auto;height:500px\"\/><\/figure>\n\n\n<style>.kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .wp-block-kadence-tab{border-top:3px solid #0a6689;border-right:0px solid #0a6689;border-bottom:0px solid #0a6689;border-left:0px solid #0a6689;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);background:var(--global-palette9, #ffffff);}.wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-title-list li{margin-top:0px;margin-right:8px;margin-bottom:0px;margin-left:0px;}.wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-title-list li:last-child{margin-right:0px;}.wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-title-list li .kt-tab-title, .wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title{line-height:1.4em;font-weight:regular;font-style:normal;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;padding-top:8px;padding-right:20px;padding-bottom:8px;padding-left:20px;border-color:var(--global-palette7, #eeeeee);color:var(--global-palette4, #2D3748);background:var(--global-palette7, #eeeeee);}.wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title{margin-top:0px;margin-right:8px;margin-bottom:0px;margin-left:0px;}.wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-title-list li .kt-tab-title:hover, .wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .kt-tabs-accordion-title .kt-tab-title:hover{border-color:var(--global-palette7, #eeeeee);color:var(--global-palette3, #1A202C);background:var(--global-palette8, #F7FAFC);}.wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-title-list li.kt-tab-title-active .kt-tab-title, .wp-block-kadence-tabs .kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .kt-tabs-accordion-title.kt-tab-title-active .kt-tab-title{border-color:var(--global-palette7, #eeeeee);color:#ffffff;background:#0a6689;}@media all and (max-width: 1024px){.kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .wp-block-kadence-tab{border-top:3px solid #0a6689;border-right:0px solid #0a6689;border-bottom:0px solid #0a6689;border-left:0px solid #0a6689;}}@media all and (max-width: 767px){.kt-tabs-id6147_878fa1-10 > .kt-tabs-content-wrap > .wp-block-kadence-tab{border-top:3px solid #0a6689;border-right:0px solid #0a6689;border-bottom:0px solid #0a6689;border-left:0px solid #0a6689;}}<\/style>\n<div class=\"wp-block-kadence-tabs alignnone\"><div class=\"kt-tabs-wrap kt-tabs-id6147_878fa1-10 kt-tabs-has-2-tabs kt-active-tab-2 kt-tabs-layout-tabs kt-tabs-tablet-layout-inherit kt-tabs-mobile-layout-inherit kt-tab-alignment-left \"><ul class=\"kt-tabs-title-list\"><li id=\"tab-english\" class=\"kt-title-item kt-title-item-1 kt-tabs-svg-show-always kt-tabs-icon-side-right kt-tab-title-inactive\"><a href=\"#tab-english\" data-tab=\"1\" class=\"kt-tab-title kt-tab-title-1 \"><span class=\"kt-title-text\">English<\/span><\/a><\/li><li id=\"tab-korean\" class=\"kt-title-item kt-title-item-2 kt-tabs-svg-show-always kt-tabs-icon-side-right kt-tab-title-active\"><a href=\"#tab-korean\" data-tab=\"2\" class=\"kt-tab-title kt-tab-title-2 \"><span class=\"kt-title-text\">Korean<\/span><\/a><\/li><\/ul><div class=\"kt-tabs-content-wrap\">\n<div class=\"wp-block-kadence-tab kt-tab-inner-content kt-inner-tab-1 kt-inner-tab6147_64ae8e-32\"><div class=\"kt-tab-inner-content-inner\"><p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"Metrics\/R2\/R2-SStot\/variance-components.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Variance Components in <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>\n<\/h1><a id=\"user-content-variance-components-in-r2\" class=\"anchor\" aria-label=\"Permalink: Variance Components in $R^2$\" href=\"#variance-components-in-r2\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Version 20 | Created: 2026-04-08 | Updated: 2026-11-07 13:46 UTC<\/p>\n<ul dir=\"auto\">\n<li><a href=\"#1-executive-summary\">1. Executive Summary<\/a><\/li>\n<li><a href=\"#2-mathematical-definition-of-r2\">2. Mathematical Definition Of $R^2$<\/a><\/li>\n<li>\n<a href=\"#3-the-impact-of-increased-error-variance\">3. The Impact Of Increased Error Variance<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#31-the-mathematical-mechanism\">3.1. The Mathematical Mechanism<\/a><\/li>\n<li><a href=\"#32-conceptual-interpretation\">3.2. Conceptual Interpretation<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n<a href=\"#4-the-impact-of-increased-predictor-variance\">4. The Impact Of Increased Predictor Variance<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-the-expansion-of-the-denominator\">4.1. The Expansion Of The Denominator<\/a><\/li>\n<li><a href=\"#42-the-strength-of-the-trend\">4.2. The Strength Of The Trend<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-summary-of-variance-effects-on-r2\">5. Summary Of Variance Effects On $R^2$<\/a><\/li>\n<li><a href=\"#6-practical-implications-for-machine-learning-models\">6. Practical Implications For Machine Learning Models<\/a><\/li>\n<li><a href=\"#7-conclusion\">7. Conclusion<\/a><\/li>\n<li><a href=\"#8-variation-with-sample-distributions-along-the-1-to-1-line\">8. Variation With Sample Distributions Along The 1-To-1 Line<\/a><\/li>\n<li><a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a><\/li>\n<\/ul>\n<blockquote>\n<p dir=\"auto\">A note on why <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> moves with the variance of the residuals and with the variance of the\npredictor, and on reading it as a ratio rather than as an absolute measure of accuracy.<\/p>\n<\/blockquote>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Executive Summary<\/h2><a id=\"user-content-1-executive-summary\" class=\"anchor\" aria-label=\"Permalink: 1. Executive Summary\" href=\"#1-executive-summary\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The coefficient of determination, denoted as <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>, is one of the most widely used metrics for\nassessing the goodness-of-fit in linear regression models. However, its interpretation is often\nfraught with misunderstanding, particularly regarding how it fluctuates not just with the\ncorrectness of a model, but with the underlying distribution of the data. This document explores\nthe mathematical and conceptual reasons why changes in variance \u2014 specifically residual variance\n(<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{\\epsilon}$<\/math-renderer>) and predictor variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{x}$<\/math-renderer>) \u2014 exert a profound influence on\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>. By analyzing the ratio of variances, it demonstrates that <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> is a relative measure of\npower rather than an absolute measure of model accuracy.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Mathematical Definition Of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>\n<\/h2><a id=\"user-content-2-mathematical-definition-of-r2\" class=\"anchor\" aria-label=\"Permalink: 2. Mathematical Definition Of $R^2$\" href=\"#2-mathematical-definition-of-r2\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">To understand why variance dictates the behavior of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>, it must first be defined through the\nlens of analysis of variance (ANOVA). In a standard linear model\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y = \\beta_0 + \\beta_1 X + \\epsilon$<\/math-renderer>, the total variation in the dependent variable <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y$<\/math-renderer> is\npartitioned into two distinct components.<\/p>\n<ul dir=\"auto\">\n<li>Explained variation <code>SS_reg<\/code> is the variation accounted for by the relationship between <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer>\nand <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y$<\/math-renderer>.<\/li>\n<li>Unexplained variation <code>SS_res<\/code> is the variation resulting from the residuals, that is the\nnoise <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\epsilon$<\/math-renderer>.<\/li>\n<\/ul>\n<p dir=\"auto\">The fundamental identity is<\/p>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$$SS_{tot} = SS_{reg} + SS_{res} \\hspace{19em} (1)$$<\/math-renderer><\/p>\n<blockquote>\n<p dir=\"auto\"><strong>Definition: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer><\/strong><br>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> is the proportion of the total variance in <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y$<\/math-renderer> that is explained by <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer>.<\/p>\n<\/blockquote>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$$R^2 = \\frac{SS_{reg}}{SS_{tot}} = 1 - \\frac{SS_{res}}{SS_{tot}} \\hspace{19em} (2)$$<\/math-renderer><\/p>\n<p dir=\"auto\">The two sums of squares are the residual sum of squares and the total sum of squares.<\/p>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$$SS_{res} = \\sum (y_i - \\hat{y}_i)^2, \\qquad SS_{tot} = \\sum (y_i - \\bar{y})^2 \\hspace{19em} (3)$$<\/math-renderer><\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. The Impact Of Increased Error Variance<\/h2><a id=\"user-content-3-the-impact-of-increased-error-variance\" class=\"anchor\" aria-label=\"Permalink: 3. The Impact Of Increased Error Variance\" href=\"#3-the-impact-of-increased-error-variance\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The first scenario involves an increase in the variance of the residuals\n(<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{\\epsilon}$<\/math-renderer>), assuming the true relationship <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\beta_1$<\/math-renderer> and the range of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> remain\nconstant.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1. The Mathematical Mechanism<\/h3><a id=\"user-content-31-the-mathematical-mechanism\" class=\"anchor\" aria-label=\"Permalink: 3.1. The Mathematical Mechanism\" href=\"#31-the-mathematical-mechanism\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">As the noise in the data increases, each observed value <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$y_i$<\/math-renderer> deviates further from the\nregression line <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\hat{y}_i$<\/math-renderer>. This directly inflates the <code>SS_res<\/code> term. In equation (2), as the\nnumerator of that fraction increases, the whole fraction <code>SS_res \/ SS_tot<\/code> grows larger.\nConsequently, when this larger value is subtracted from 1, the resulting <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> decreases.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.2. Conceptual Interpretation<\/h3><a id=\"user-content-32-conceptual-interpretation\" class=\"anchor\" aria-label=\"Permalink: 3.2. Conceptual Interpretation\" href=\"#32-conceptual-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">In the context of information theory and machine learning, the relationship between <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> and <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y$<\/math-renderer>\nis the signal and the residuals are the noise. When the error variance increases, the noise\noverwhelms the signal. Even if the underlying model is correct, that is even if the true\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\beta_1$<\/math-renderer> has been identified, the predictive power is diluted.<\/p>\n<blockquote>\n<p dir=\"auto\">Increased noise or residual variance diminishes the explanatory power of the model, leading to\na lower <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>.<\/p>\n<\/blockquote>\n<p dir=\"auto\">This illustrates that a low <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> does not necessarily mean the model is wrong. It may simply\nmean the environment is inherently noisy, making the dependent variable difficult to predict\nwith high precision.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. The Impact Of Increased Predictor Variance<\/h2><a id=\"user-content-4-the-impact-of-increased-predictor-variance\" class=\"anchor\" aria-label=\"Permalink: 4. The Impact Of Increased Predictor Variance\" href=\"#4-the-impact-of-increased-predictor-variance\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">A more counterintuitive phenomenon occurs when the variance of the independent variable <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer>\nchanges. If the range of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> values is expanded, thereby increasing <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{x}$<\/math-renderer>, the <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>\ntypically increases, even if the error variance <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{\\epsilon}$<\/math-renderer> remains exactly the same.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1. The Expansion Of The Denominator<\/h3><a id=\"user-content-41-the-expansion-of-the-denominator\" class=\"anchor\" aria-label=\"Permalink: 4.1. The Expansion Of The Denominator\" href=\"#41-the-expansion-of-the-denominator\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">In a simple linear regression, the explained variance is expressed as<\/p>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$$SS_{reg} = \\beta_1^2 \\cdot \\sum (x_i - \\bar{x})^2 \\hspace{19em} (4)$$<\/math-renderer><\/p>\n<p dir=\"auto\">When the variance of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> increases, <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sum (x_i - \\bar{x})^2$<\/math-renderer> increases. This causes <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{reg}$<\/math-renderer>\nto grow. Since <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{tot} = SS_{reg} + SS_{res}$<\/math-renderer>, and <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{res}$<\/math-renderer> is assumed constant, the\ndenominator <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{tot}$<\/math-renderer> grows primarily because the explained part is growing.<\/p>\n<p dir=\"auto\">In the fraction <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\frac{SS_{res}}{SS_{tot}}$<\/math-renderer>, the denominator is getting larger while the\nnumerator stays the same. This makes the fraction smaller, and subtracting a smaller number from\n1 results in a higher <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2. The Strength Of The Trend<\/h3><a id=\"user-content-42-the-strength-of-the-trend\" class=\"anchor\" aria-label=\"Permalink: 4.2. The Strength Of The Trend\" href=\"#42-the-strength-of-the-trend\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">When <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> is measured over a wider range, the overall trend, that is the slope, becomes more\ndominant relative to the local fluctuations. The model captures a larger portion of the total\nspread of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y$<\/math-renderer> because that spread is now driven more by the change in <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> than by the random\nerror.<\/p>\n<blockquote>\n<p dir=\"auto\">A wider range or higher variance in the independent variable often inflates the <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>, as the\nmodel captures a larger portion of the overall trend.<\/p>\n<\/blockquote>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Summary Of Variance Effects On <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>\n<\/h2><a id=\"user-content-5-summary-of-variance-effects-on-r2\" class=\"anchor\" aria-label=\"Permalink: 5. Summary Of Variance Effects On $R^2$\" href=\"#5-summary-of-variance-effects-on-r2\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The following table summarizes the relationship between the variance components and the\nresulting coefficient of determination.<\/p>\n<p dir=\"auto\">Table 1. Variance components and their effect on <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer><\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Scenario<\/th>\n<th>Effect on <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>\n<\/th>\n<th>Statistical reason<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Higher residual variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{\\epsilon}$<\/math-renderer>)<\/td>\n<td>Decreases<\/td>\n<td>The unexplained portion <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{res}$<\/math-renderer> of the data becomes a larger fraction of the total.<\/td>\n<\/tr>\n<tr>\n<td>Higher predictor variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$\\sigma^2_{x}$<\/math-renderer>)<\/td>\n<td>Increases<\/td>\n<td>The explained portion <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{reg}$<\/math-renderer> grows, making the noise relatively less significant.<\/td>\n<\/tr>\n<tr>\n<td>Lower total variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{tot}$<\/math-renderer>)<\/td>\n<td>Decreases<\/td>\n<td>When the total spread of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$Y$<\/math-renderer> is small, even minor errors lead to a low <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Practical Implications For Machine Learning Models<\/h2><a id=\"user-content-6-practical-implications-for-machine-learning-models\" class=\"anchor\" aria-label=\"Permalink: 6. Practical Implications For Machine Learning Models\" href=\"#6-practical-implications-for-machine-learning-models\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">In machine learning, relying solely on <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> is misleading because of these variance\ndependencies.<\/p>\n<ul dir=\"auto\">\n<li>Model comparison is not straightforward. The <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> of a model trained on a narrow dataset\ncannot easily be compared with one trained on a diverse, wide-ranging dataset, because the\nlatter will likely have a higher <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> simply due to the variance in <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer>.<\/li>\n<li>High variance in <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$X$<\/math-renderer> sometimes masks poor model performance in specific sub-regions of the\ndata, which is a route to overfitting that the single number does not reveal.<\/li>\n<li>Feature selection is essentially an attempt to increase the explained variance <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$SS_{reg}$<\/math-renderer> so\nthat the relative weight of the residuals falls.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Conclusion<\/h2><a id=\"user-content-7-conclusion\" class=\"anchor\" aria-label=\"Permalink: 7. Conclusion\" href=\"#7-conclusion\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The reason changes in variance affect <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> is that <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> is a ratio. An absolute error measure\nsuch as the mean squared error or the mean absolute error reports the size of the error itself,\nand moving the spread of the data leaves it alone. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> reports the error relative to the total\nspread, so it moves whenever either side of that ratio moves, which is what every scenario in\nTable 1 sets out.<\/p>\n<p dir=\"auto\">Understanding this dynamic prevents the common pitfall of dismissing a model with a low <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> in\na high-noise environment, or over-trusting a model with a high <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> derived from an artificially\nwide range of independent variables.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">8. Variation With Sample Distributions Along The 1-To-1 Line<\/h2><a id=\"user-content-8-variation-with-sample-distributions-along-the-1-to-1-line\" class=\"anchor\" aria-label=\"Permalink: 8. Variation With Sample Distributions Along The 1-To-1 Line\" href=\"#8-variation-with-sample-distributions-along-the-1-to-1-line\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">The chart below sweeps the sigma score, that is the coefficient of variation <code>std \/ mean<\/code>, over\nthe range 0.1 to 4.0 for samples placed along the 1-to-1 line, and records the <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> that each\nsample yields. It shows the same dependence from the data side rather than from the algebra: the\nvalue moves with the spread of the sample even though the underlying relationship never changes.<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Metrics\/R2\/R2-SStot\/variance-components_fig\/sigma_r2.png\"><img src=\"https:\/\/ykim.synology.me\/wordpress\/wp-json\/gh-readme\/v1\/asset?user=ykim2718&#038;repo=AIML&#038;branch=main&#038;path=Metrics\/R2\/R2-SStot\/variance-components_fig\/sigma_r2.png&#038;sig=c411162dc929c682ed007729229ce5b1df5d4231945af13c37c26d18827e0ac0\" alt=\"Fig 1\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">Fig 1. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer> against the sigma score for samples placed along the 1-to-1 line<\/p>\n<p dir=\"auto\">The figure is produced by <code>sigma_r2.py<\/code>, in the folder of this document.<\/p>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>Coefficient of determination<\/strong>: \uacb0\uc815\uacc4\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"c2e94804f1aa1bf54098a215283bc7e3\">$R^2$<\/math-renderer>. The proportion of variance in the dependent\nvariable that is predictable from the independent variable.<\/li>\n<li>\n<strong>Explanatory power<\/strong>: \uc124\uba85\ub825. The capacity of a model to represent the underlying patterns in\nthe data.<\/li>\n<li>\n<strong>Mean absolute error<\/strong>: \ud3c9\uade0 \uc808\ub300 \uc624\ucc28. The mean of the absolute differences between observed\nand predicted values, carrying the unit of the observations.<\/li>\n<li>\n<strong>Mean squared error<\/strong>: \ud3c9\uade0 \uc81c\uacf1 \uc624\ucc28. The mean of the squared differences between observed and\npredicted values.<\/li>\n<li>\n<strong>Residual variance<\/strong>: \uc794\ucc28 \ubd84\uc0b0. The variance of the differences between observed and predicted\nvalues.<\/li>\n<\/ul>\n<\/article><\/div><\/div><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-kadence-tab kt-tab-inner-content kt-inner-tab-2 kt-inner-tab6147_158f10-de\"><div class=\"kt-tab-inner-content-inner\"><p><div class=\"github-readme-container markdown-body\"><div id=\"file\" class=\"md\" data-path=\"Metrics\/R2\/R2-SStot\/variance-components-ko.md\"><article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><div class=\"markdown-heading\" dir=\"auto\"><h1 class=\"heading-element\" dir=\"auto\">Variance Components in <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer>\n<\/h1><a id=\"user-content-variance-components-in-r2\" class=\"anchor\" aria-label=\"Permalink: Variance Components in $R^2$\" href=\"#variance-components-in-r2\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Version 12 | Created: 2026-09-04 | Updated: 2026-11-07 13:46 UTC<\/p>\n<ul dir=\"auto\">\n<li><a href=\"#1-executive-summary\">1. Executive Summary<\/a><\/li>\n<li><a href=\"#2-mathematical-definition-of-r2\">2. Mathematical Definition Of $R^2$<\/a><\/li>\n<li>\n<a href=\"#3-the-impact-of-increased-error-variance\">3. The Impact Of Increased Error Variance<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#31-the-mathematical-mechanism\">3.1. The Mathematical Mechanism<\/a><\/li>\n<li><a href=\"#32-conceptual-interpretation\">3.2. Conceptual Interpretation<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n<a href=\"#4-the-impact-of-increased-predictor-variance\">4. The Impact Of Increased Predictor Variance<\/a>\n<ul dir=\"auto\">\n<li><a href=\"#41-the-expansion-of-the-denominator\">4.1. The Expansion Of The Denominator<\/a><\/li>\n<li><a href=\"#42-the-strength-of-the-trend\">4.2. The Strength Of The Trend<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#5-summary-of-variance-effects-on-r2\">5. Summary Of Variance Effects On $R^2$<\/a><\/li>\n<li><a href=\"#6-practical-implications-for-machine-learning-models\">6. Practical Implications For Machine Learning Models<\/a><\/li>\n<li><a href=\"#7-conclusion\">7. Conclusion<\/a><\/li>\n<li><a href=\"#8-variation-with-sample-distributions-along-the-1-to-1-line\">8. Variation With Sample Distributions Along The 1-To-1 Line<\/a><\/li>\n<li><a href=\"#appendix-a-terminology\">Appendix A. Terminology<\/a><\/li>\n<\/ul>\n<blockquote>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \uc794\ucc28\uc758 \ubd84\uc0b0\uacfc \uc608\uce21\ubcc0\uc218\uc758 \ubd84\uc0b0\uc744 \ub530\ub77c \uc6c0\uc9c1\uc774\ub294 \uc774\uc720, \uadf8\ub9ac\uace0 \uadf8\uac83\uc744 \uc815\ud655\ub3c4\uc758 \uc808\ub300 \ucc99\ub3c4\uac00\n\uc544\ub2c8\ub77c \ube44\uc728\ub85c \uc77d\ub294 \ubc95\uc5d0 \ub300\ud55c \uae30\ub85d.<\/p>\n<\/blockquote>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">1. Executive Summary<\/h2><a id=\"user-content-1-executive-summary\" class=\"anchor\" aria-label=\"Permalink: 1. Executive Summary\" href=\"#1-executive-summary\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Coefficient of determination <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub294 \uc120\ud615\ud68c\uadc0 model \uc758 \uc801\ud569\ub3c4\ub97c \uc7ac\ub294 \ub370 \uac00\uc7a5 \ub110\ub9ac \uc4f0\uc774\ub294 \uc9c0\ud45c \uac00\uc6b4\ub370 \ud558\ub098\uc774\ub2e4. \uadf8\ub7ec\ub098\n\uadf8 \ud574\uc11d\uc5d0\ub294 \uc624\ud574\uac00 \uc7a6\uc740\ub370, \ud2b9\ud788 \uc774 \uac12\uc774 model \uc758 \uc633\uace0 \uadf8\ub984\ub9cc\uc774 \uc544\ub2c8\ub77c \uc790\ub8cc\uc758 \ubd84\ud3ec\ub97c \ub530\ub77c\uc11c\ub3c4\n\ud754\ub4e4\ub9b0\ub2e4\ub294 \uc810\uc774 \uadf8\ub807\ub2e4. \uc774 \ubb38\uc11c\ub294 \ubd84\uc0b0\uc758 \ubcc0\ud654\uac00 \u2014 \uad6c\uccb4\uc801\uc73c\ub85c \uc794\ucc28 \ubd84\uc0b0 (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{\\epsilon}$<\/math-renderer>) \uacfc\n\uc608\uce21\ubcc0\uc218 \ubd84\uc0b0 (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{x}$<\/math-renderer>) \uc774 \u2014 \uc65c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uc5d0 \uae4a\uc740 \uc601\ud5a5\uc744 \ubbf8\uce58\ub294\uc9c0\ub97c \uc218\ud559\uacfc \uac1c\ub150 \uc591\ucabd\uc5d0\uc11c \uc0b4\ud540\ub2e4.\n\ubd84\uc0b0\uc758 \ube44\ub97c \ub72f\uc5b4\ubcf4\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 model \uc815\ud655\ub3c4\uc758 \uc808\ub300 \ucc99\ub3c4\uac00 \uc544\ub2c8\ub77c \uc0c1\ub300\uc801\uc778 \ud798\uc758 \ucc99\ub3c4\uc784\uc774 \ub4dc\ub7ec\ub09c\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">2. Mathematical Definition Of <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer>\n<\/h2><a id=\"user-content-2-mathematical-definition-of-r2\" class=\"anchor\" aria-label=\"Permalink: 2. Mathematical Definition Of $R^2$\" href=\"#2-mathematical-definition-of-r2\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ubd84\uc0b0\uc774 \uc65c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uc758 \uac70\ub3d9\uc744 \uc88c\uc6b0\ud558\ub294\uc9c0 \uc774\ud574\ud558\ub824\uba74 \uba3c\uc800 \uadf8\uac83\uc744 \ubd84\uc0b0\ubd84\uc11d (ANOVA) \uc758 \ub208\uc73c\ub85c \uc815\uc758\ud574\uc57c\n\ud55c\ub2e4. \ud45c\uc900 \uc120\ud615 model <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y = \\beta_0 + \\beta_1 X + \\epsilon$<\/math-renderer> \uc5d0\uc11c \uc885\uc18d\ubcc0\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y$<\/math-renderer> \uc758 \ucd1d\ubcc0\ub3d9\uc740 \uc11c\ub85c \ub2e4\ub978\n\ub450 \uc131\ubd84\uc73c\ub85c \ub098\ub25c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>\uc124\uba85\ub41c \ubcc0\ub3d9 <code>SS_reg<\/code> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y$<\/math-renderer> \uc758 \uad00\uacc4\uac00 \uac10\ub2f9\ud558\ub294 \ubcc0\ub3d9\uc774\ub2e4.<\/li>\n<li>\uc124\uba85\ub418\uc9c0 \uc54a\uc740 \ubcc0\ub3d9 <code>SS_res<\/code> \ub294 \uc794\ucc28, \uace7 \uc7a1\uc74c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\epsilon$<\/math-renderer> \uc5d0\uc11c \uc624\ub294 \ubcc0\ub3d9\uc774\ub2e4.<\/li>\n<\/ul>\n<p dir=\"auto\">\uae30\ubcf8\uc774 \ub418\ub294 \ud56d\ub4f1\uc2dd\uc740 \uc544\ub798\uc774\ub2e4.<\/p>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$$SS_{tot} = SS_{reg} + SS_{res} \\hspace{19em} (1)$$<\/math-renderer><\/p>\n<blockquote>\n<p dir=\"auto\"><strong>Definition: <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer><\/strong><br>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y$<\/math-renderer> \uc758 \ucd1d\ubd84\uc0b0 \uac00\uc6b4\ub370 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uac00 \uc124\uba85\ud558\ub294 \ube44\uc728\uc774\ub2e4.<\/p>\n<\/blockquote>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$$R^2 = \\frac{SS_{reg}}{SS_{tot}} = 1 - \\frac{SS_{res}}{SS_{tot}} \\hspace{19em} (2)$$<\/math-renderer><\/p>\n<p dir=\"auto\">\ub450 \uc81c\uacf1\ud569\uc740 \uc794\ucc28\uc81c\uacf1\ud569\uacfc \ucd1d\uc81c\uacf1\ud569\uc774\ub2e4.<\/p>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$$SS_{res} = \\sum (y_i - \\hat{y}_i)^2, \\qquad SS_{tot} = \\sum (y_i - \\bar{y})^2 \\hspace{19em} (3)$$<\/math-renderer><\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">3. The Impact Of Increased Error Variance<\/h2><a id=\"user-content-3-the-impact-of-increased-error-variance\" class=\"anchor\" aria-label=\"Permalink: 3. The Impact Of Increased Error Variance\" href=\"#3-the-impact-of-increased-error-variance\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uccab \ubc88\uc9f8 \uacbd\uc6b0\ub294 \ucc38\uc778 \uad00\uacc4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\beta_1$<\/math-renderer> \uacfc <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc758 \ubc94\uc704\uac00 \uadf8\ub300\ub85c\uc77c \ub54c \uc794\ucc28\uc758 \ubd84\uc0b0\n(<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{\\epsilon}$<\/math-renderer>) \uc774 \ucee4\uc9c0\ub294 \uac83\uc774\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.1. The Mathematical Mechanism<\/h3><a id=\"user-content-31-the-mathematical-mechanism\" class=\"anchor\" aria-label=\"Permalink: 3.1. The Mathematical Mechanism\" href=\"#31-the-mathematical-mechanism\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc790\ub8cc\uc758 \uc7a1\uc74c\uc774 \ucee4\uc9c0\uba74 \uac01 \uad00\uce21\uac12 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$y_i$<\/math-renderer> \uac00 \ud68c\uadc0\uc120 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\hat{y}_i$<\/math-renderer> \uc5d0\uc11c \ub354 \uba40\uc5b4\uc9c4\ub2e4. \uc774\uac83\uc774 <code>SS_res<\/code> \ud56d\uc744\n\uace7\ubc14\ub85c \ubd80\ud480\ub9b0\ub2e4. \uc2dd (2) \uc5d0\uc11c \uadf8 \ubd84\uc218\uc758 \ubd84\uc790\uac00 \ucee4\uc9c0\uba74 \ubd84\uc218 <code>SS_res \/ SS_tot<\/code> \uc804\uccb4\uac00 \ucee4\uc9c4\ub2e4. \uadf8 \ucee4\uc9c4\n\uac12\uc744 1 \uc5d0\uc11c \ube7c\ubbc0\ub85c \uacb0\uacfc\uc778 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub294 \uc791\uc544\uc9c4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">3.2. Conceptual Interpretation<\/h3><a id=\"user-content-32-conceptual-interpretation\" class=\"anchor\" aria-label=\"Permalink: 3.2. Conceptual Interpretation\" href=\"#32-conceptual-interpretation\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc815\ubcf4\uc774\ub860\uacfc machine learning \uc758 \ub9e5\ub77d\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc640 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y$<\/math-renderer> \uc758 \uad00\uacc4\ub294 \uc2e0\ud638\uc774\uace0 \uc794\ucc28\ub294 \uc7a1\uc74c\uc774\ub2e4. \uc624\ucc28 \ubd84\uc0b0\uc774\n\ucee4\uc9c0\uba74 \uc7a1\uc74c\uc774 \uc2e0\ud638\ub97c \ub36e\ub294\ub2e4. \ubc14\ud0d5\uc758 model \uc774 \uc633\ub354\ub77c\ub3c4, \uace7 \ucc38\uc778 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\beta_1$<\/math-renderer> \uc744 \ucc3e\uc544\ub0c8\ub354\ub77c\ub3c4 \uc608\uce21\ub825\uc740\n\ubb3d\uc5b4\uc9c4\ub2e4.<\/p>\n<blockquote>\n<p dir=\"auto\">\uc7a1\uc74c \ub610\ub294 \uc794\ucc28 \ubd84\uc0b0\uc774 \ucee4\uc9c0\uba74 model \uc758 explanatory power \uac00 \uc904\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ub0ae\uc544\uc9c4\ub2e4.<\/p>\n<\/blockquote>\n<p dir=\"auto\">\uc774\uac83\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ub0ae\ub2e4\uace0 \ud574\uc11c \ubc18\ub4dc\uc2dc model \uc774 \ud2c0\ub838\ub2e4\ub294 \ub73b\uc740 \uc544\ub2d8\uc744 \ubcf4\uc5ec \uc900\ub2e4. \ud658\uacbd \uc790\uccb4\uac00 \ubcf8\ub798\n\uc2dc\ub044\ub7ec\uc6cc \uc885\uc18d\ubcc0\uc218\ub97c \ub192\uc740 \uc815\ubc00\ub3c4\ub85c \uc608\uce21\ud558\uae30 \uc5b4\ub824\uc6b4 \uac83\uc77c \uc218\ub3c4 \uc788\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">4. The Impact Of Increased Predictor Variance<\/h2><a id=\"user-content-4-the-impact-of-increased-predictor-variance\" class=\"anchor\" aria-label=\"Permalink: 4. The Impact Of Increased Predictor Variance\" href=\"#4-the-impact-of-increased-predictor-variance\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub3c5\ub9bd\ubcc0\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc758 \ubd84\uc0b0\uc774 \ub2ec\ub77c\uc9c8 \ub54c\ub294 \ub354 \ub73b\ubc16\uc758 \uc77c\uc774 \ubc8c\uc5b4\uc9c4\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uac12\uc758 \ubc94\uc704\ub97c \ub113\ud600 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{x}$<\/math-renderer> \ub97c\n\ud0a4\uc6b0\uba74, \uc624\ucc28 \ubd84\uc0b0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{\\epsilon}$<\/math-renderer> \uc774 \uc815\ud655\ud788 \uadf8\ub300\ub85c\uc5ec\ub3c4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub294 \ub300\uac1c \ucee4\uc9c4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.1. The Expansion Of The Denominator<\/h3><a id=\"user-content-41-the-expansion-of-the-denominator\" class=\"anchor\" aria-label=\"Permalink: 4.1. The Expansion Of The Denominator\" href=\"#41-the-expansion-of-the-denominator\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ub2e8\uc21c \uc120\ud615\ud68c\uadc0\uc5d0\uc11c \uc124\uba85\ub41c \ubd84\uc0b0\uc740 \uc544\ub798\ucc98\ub7fc \uc801\ud78c\ub2e4.<\/p>\n<p dir=\"auto\"><math-renderer class=\"js-display-math\" style=\"display: block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$$SS_{reg} = \\beta_1^2 \\cdot \\sum (x_i - \\bar{x})^2 \\hspace{19em} (4)$$<\/math-renderer><\/p>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc758 \ubd84\uc0b0\uc774 \ucee4\uc9c0\uba74 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sum (x_i - \\bar{x})^2$<\/math-renderer> \uac00 \ucee4\uc9c4\ub2e4. \uc774\uac83\uc774 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{reg}$<\/math-renderer> \ub97c \ud0a4\uc6b4\ub2e4.\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{tot} = SS_{reg} + SS_{res}$<\/math-renderer> \uc774\uace0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{res}$<\/math-renderer> \ub294 \uadf8\ub300\ub85c\ub77c\uace0 \ub450\uc5c8\uc73c\ubbc0\ub85c, \ubd84\ubaa8 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{tot}$<\/math-renderer> \uac00\n\ucee4\uc9c0\ub294 \uac83\uc740 \uc8fc\ub85c \uc124\uba85\ub41c \ucabd\uc774 \ucee4\uc9c0\uae30 \ub54c\ubb38\uc774\ub2e4.<\/p>\n<p dir=\"auto\">\ubd84\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\frac{SS_{res}}{SS_{tot}}$<\/math-renderer> \uc5d0\uc11c \ubd84\uc790\ub294 \uadf8\ub300\ub85c\uc778\ub370 \ubd84\ubaa8\uac00 \ucee4\uc9c4\ub2e4. \uadf8\ub7ec\uba74 \ubd84\uc218\uac00 \uc791\uc544\uc9c0\uace0, \ub354\n\uc791\uc740 \uc218\ub97c 1 \uc5d0\uc11c \ube7c\ubbc0\ub85c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ub192\uc544\uc9c4\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h3 class=\"heading-element\" dir=\"auto\">4.2. The Strength Of The Trend<\/h3><a id=\"user-content-42-the-strength-of-the-trend\" class=\"anchor\" aria-label=\"Permalink: 4.2. The Strength Of The Trend\" href=\"#42-the-strength-of-the-trend\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\"><math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \ub97c \ub354 \ub113\uc740 \ubc94\uc704\uc5d0\uc11c \uc7ac\uba74 \uc804\uccb4 \ucd94\uc138, \uace7 \uae30\uc6b8\uae30\uac00 \uad6d\uc18c\uc801\uc778 \ud754\ub4e4\ub9bc\uc5d0 \uacac\uc8fc\uc5b4 \ub354 \uc9c0\ubc30\uc801\uc774 \ub41c\ub2e4.\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y$<\/math-renderer> \uc758 \ucd1d\uc0b0\ud3ec\uac00 \uc774\uc81c \ubb34\uc791\uc704 \uc624\ucc28\ubcf4\ub2e4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc758 \ubcc0\ud654\uc5d0 \ub354 \uc774\ub04c\ub9ac\ubbc0\ub85c, model \uc774 \uadf8 \uc0b0\ud3ec\uc758 \ub354 \ud070 \ubaab\uc744\n\ubd99\uc7a1\ub294\ub2e4.<\/p>\n<blockquote>\n<p dir=\"auto\">\ub3c5\ub9bd\ubcc0\uc218\uc758 \ubc94\uc704\uac00 \ub113\uac70\ub098 \ubd84\uc0b0\uc774 \ud06c\uba74 model \uc774 \uc804\uccb4 \ucd94\uc138\uc758 \ub354 \ud070 \ubaab\uc744 \ubd99\uc7a1\uac8c \ub418\uc5b4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ud754\ud788\n\ubd80\ud480\ub824\uc9c4\ub2e4.<\/p>\n<\/blockquote>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">5. Summary Of Variance Effects On <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer>\n<\/h2><a id=\"user-content-5-summary-of-variance-effects-on-r2\" class=\"anchor\" aria-label=\"Permalink: 5. Summary Of Variance Effects On $R^2$\" href=\"#5-summary-of-variance-effects-on-r2\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc544\ub798 \ud45c\ub294 \ubd84\uc0b0 \uc131\ubd84\uacfc \uadf8\ub85c\ubd80\ud130 \ub098\uc624\ub294 coefficient of determination \uc758 \uad00\uacc4\ub97c \uc815\ub9ac\ud55c \uac83\uc774\ub2e4.<\/p>\n<p dir=\"auto\">Table 1. Variance components and their effect on <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer><\/p>\n<markdown-accessiblity-table><table>\n<thead>\n<tr>\n<th>Scenario<\/th>\n<th>Effect on <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer>\n<\/th>\n<th>Statistical reason<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Higher residual variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{\\epsilon}$<\/math-renderer>)<\/td>\n<td>Decreases<\/td>\n<td>\uc790\ub8cc\uc5d0\uc11c \uc124\uba85\ub418\uc9c0 \uc54a\ub294 \ubaab <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{res}$<\/math-renderer> \uac00 \uc804\uccb4\uc5d0\uc11c \ucc28\uc9c0\ud558\ub294 \ube44\uc728\uc774 \ucee4\uc9c4\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>Higher predictor variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$\\sigma^2_{x}$<\/math-renderer>)<\/td>\n<td>Increases<\/td>\n<td>\uc124\uba85\ub418\ub294 \ubaab <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{reg}$<\/math-renderer> \uac00 \ucee4\uc838 \uc7a1\uc74c\uc774 \uc0c1\ub300\uc801\uc73c\ub85c \ub35c \uc911\uc694\ud574\uc9c4\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>Lower total variance (<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{tot}$<\/math-renderer>)<\/td>\n<td>Decreases<\/td>\n<td>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$Y$<\/math-renderer> \uc758 \ucd1d\uc0b0\ud3ec\uac00 \uc791\uc73c\uba74 \uc0ac\uc18c\ud55c \uc624\ucc28\uc5d0\ub3c4 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ub0ae\uc544\uc9c4\ub2e4.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/markdown-accessiblity-table>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">6. Practical Implications For Machine Learning Models<\/h2><a id=\"user-content-6-practical-implications-for-machine-learning-models\" class=\"anchor\" aria-label=\"Permalink: 6. Practical Implications For Machine Learning Models\" href=\"#6-practical-implications-for-machine-learning-models\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">Machine learning \uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ud558\ub098\uc5d0\ub9cc \uae30\ub300\ub294 \uac83\uc740 \uc774\ub7f0 \ubd84\uc0b0 \uc758\uc874\uc131 \ub54c\ubb38\uc5d0 \uc0ac\ub78c\uc744 \uc624\ub3c4\ud55c\ub2e4.<\/p>\n<ul dir=\"auto\">\n<li>Model \ube44\uad50\uac00 \uac04\ub2e8\ud558\uc9c0 \uc54a\ub2e4. \uc881\uc740 \uc790\ub8cc\uc5d0\uc11c \ud559\uc2b5\ud55c model \uc758 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub294 \ub2e4\uc591\ud558\uace0 \ub113\uc740 \uc790\ub8cc\uc5d0\uc11c \ud559\uc2b5\ud55c\nmodel \uc758 \uac83\uacfc \uace7\ubc14\ub85c \uacac\uc8fc\uae30 \uc5b4\ub835\ub2e4. \ub4a4\uc758 \uac83\uc740 \uc624\ub85c\uc9c0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc758 \ubd84\uc0b0 \ub54c\ubb38\uc5d0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ub192\uc744 \uac00\ub2a5\uc131\uc774\n\ud06c\uae30 \ub54c\ubb38\uc774\ub2e4.<\/li>\n<li>\n<math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$X$<\/math-renderer> \uc758 \ubd84\uc0b0\uc774 \ud06c\uba74 \uc790\ub8cc\uc758 \ud2b9\uc815 \uad6c\uac04\uc5d0\uc11c\uc758 \ub098\uc05c \uc131\ub2a5\uc774 \uac00\ub824\uc9c0\uae30\ub3c4 \ud558\uba70, \uc774\ub294 \uc218 \ud558\ub098\ub85c\ub294 \ub4dc\ub7ec\ub098\uc9c0\n\uc54a\ub294 overfitting \uc758 \ud1b5\ub85c\uc774\ub2e4.<\/li>\n<li>Feature selection \uc740 \ubcf8\uc9c8\uc801\uc73c\ub85c \uc124\uba85\ub41c \ubd84\uc0b0 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$SS_{reg}$<\/math-renderer> \ub97c \ud0a4\uc6cc \uc794\ucc28\uc758 \uc0c1\ub300\uc801 \ube44\uc911\uc744 \ub5a8\uc5b4\ub728\ub9ac\ub824\ub294\n\uc2dc\ub3c4\uc774\ub2e4.<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">7. Conclusion<\/h2><a id=\"user-content-7-conclusion\" class=\"anchor\" aria-label=\"Permalink: 7. Conclusion\" href=\"#7-conclusion\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\ubd84\uc0b0\uc758 \ubcc0\ud654\uac00 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uc5d0 \uc601\ud5a5\uc744 \uc8fc\ub294 \uc774\uc720\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ube44\uc728\uc774\uae30 \ub54c\ubb38\uc774\ub2e4. Mean squared error \ub098 mean absolute error\n\uac19\uc740 \uc808\ub300 \uc624\ucc28 \ucc99\ub3c4\ub294 \uc624\ucc28 \uc790\uccb4\uc758 \ud06c\uae30\ub97c \ubcf4\uace0\ud558\ubbc0\ub85c \uc790\ub8cc\uc758 \uc0b0\ud3ec\ub97c \uc62e\uaca8\ub3c4 \uadf8\ub300\ub85c \uc788\ub2e4. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub294\n\uc624\ucc28\ub97c \ucd1d\uc0b0\ud3ec\uc5d0 \uacac\uc8fc\uc5b4 \ubcf4\uace0\ud558\ubbc0\ub85c \uadf8 \ube44\uc758 \uc5b4\ub290 \ucabd\uc774 \uc6c0\uc9c1\uc774\ub4e0 \ud568\uaed8 \uc6c0\uc9c1\uc774\uba70, Table 1 \uc758 \ubaa8\ub4e0 \uacbd\uc6b0\uac00\n\ubc14\ub85c \uadf8\uac83\uc744 \uc801\uc5b4 \ub193\uc740 \uac83\uc774\ub2e4.<\/p>\n<p dir=\"auto\">\uc774 \uc5ed\ud559\uc744 \uc774\ud574\ud558\uba74 \uc7a1\uc74c\uc774 \ud070 \ud658\uacbd\uc5d0\uc11c <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \uac00 \ub0ae\uc740 model \uc744 \ub0b4\uce58\uac70\ub098, \ub3c5\ub9bd\ubcc0\uc218\uc758 \ubc94\uc704\ub97c \uc778\uc704\uc801\uc73c\ub85c\n\ub113\ud600 \uc5bb\uc740 \ub192\uc740 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub97c \uc9c0\ub098\uce58\uac8c \ubbff\ub294 \ud754\ud55c \ud568\uc815\uc744 \ud53c\ud560 \uc218 \uc788\ub2e4.<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">8. Variation With Sample Distributions Along The 1-To-1 Line<\/h2><a id=\"user-content-8-variation-with-sample-distributions-along-the-1-to-1-line\" class=\"anchor\" aria-label=\"Permalink: 8. Variation With Sample Distributions Along The 1-To-1 Line\" href=\"#8-variation-with-sample-distributions-along-the-1-to-1-line\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<p dir=\"auto\">\uc544\ub798 chart \ub294 1 \ub300 1 \uc120 \uc704\uc5d0 \ub193\uc778 \ud45c\ubcf8\uc5d0 \ub300\ud574 sigma score, \uace7 \ubcc0\ub3d9\uacc4\uc218 <code>std \/ mean<\/code> \uc744 0.1 \uc5d0\uc11c\n4.0 \uae4c\uc9c0 \ud6d1\uc73c\uba70 \uac01 \ud45c\ubcf8\uc774 \ub0b4\ub294 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> \ub97c \uae30\ub85d\ud55c \uac83\uc774\ub2e4. \ub300\uc218\uc2dd\uc774 \uc544\ub2c8\ub77c \uc790\ub8cc \ucabd\uc5d0\uc11c \uac19\uc740 \uc758\uc874\uc131\uc744\n\ubcf4\uc5ec \uc900\ub2e4. \ubc14\ud0d5\uc758 \uad00\uacc4\ub294 \uc804\ud600 \ubcc0\ud558\uc9c0 \uc54a\ub294\ub370\ub3c4 \uac12\uc774 \ud45c\ubcf8\uc758 \uc0b0\ud3ec\ub97c \ub530\ub77c \uc6c0\uc9c1\uc778\ub2e4.<\/p>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/ykim2718\/AIML\/blob\/main\/Metrics\/R2\/R2-SStot\/variance-components_fig\/sigma_r2.png\"><img src=\"https:\/\/ykim.synology.me\/wordpress\/wp-json\/gh-readme\/v1\/asset?user=ykim2718&#038;repo=AIML&#038;branch=main&#038;path=Metrics\/R2\/R2-SStot\/variance-components_fig\/sigma_r2.png&#038;sig=c411162dc929c682ed007729229ce5b1df5d4231945af13c37c26d18827e0ac0\" alt=\"Fig 1\" style=\"max-width: 100%;\"><\/a><\/p>\n<p dir=\"auto\">Fig 1. <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer> against the sigma score for samples placed along the 1-to-1 line<\/p>\n<p dir=\"auto\">\uadf8\ub9bc\uc740 \uc774 \ubb38\uc11c\uc640 \uac19\uc740 folder \uc5d0 \uc788\ub294 <code>sigma_r2.py<\/code> \uac00 \ub9cc\ub4e0\ub2e4.<\/p>\n<hr>\n<div class=\"markdown-heading\" dir=\"auto\"><h2 class=\"heading-element\" dir=\"auto\">Appendix A. Terminology<\/h2><a id=\"user-content-appendix-a-terminology\" class=\"anchor\" aria-label=\"Permalink: Appendix A. Terminology\" href=\"#appendix-a-terminology\"><svg data-component=\"Octicon\" class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"><\/path><\/svg><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<strong>Coefficient of determination<\/strong>: \uacb0\uc815\uacc4\uc218 <math-renderer class=\"js-inline-math\" style=\"display: inline-block\" data-run-id=\"139ab218464ae3a8c5383c9f41b33d8a\">$R^2$<\/math-renderer>. \ub3c5\ub9bd\ubcc0\uc218\ub85c\ubd80\ud130 \uc608\uce21\ub418\ub294 \uc885\uc18d\ubcc0\uc218 \ubd84\uc0b0\uc758 \ube44\uc728.<\/li>\n<li>\n<strong>Explanatory power<\/strong>: \uc124\uba85\ub825. \uc790\ub8cc\uc5d0 \uae54\ub9b0 pattern \uc744 model \uc774 \ub098\ud0c0\ub0bc \uc218 \uc788\ub294 \uc815\ub3c4.<\/li>\n<li>\n<strong>Mean absolute error<\/strong>: \ud3c9\uade0 \uc808\ub300 \uc624\ucc28. \uad00\uce21\uac12\uacfc \uc608\uce21\uac12\uc758 \uc808\ub300 \ucc28\uc774\uc758 \ud3c9\uade0\uc774\uba70, \uad00\uce21\uac12\uc758 \ub2e8\uc704\ub97c\n\uac00\uc9c4\ub2e4.<\/li>\n<li>\n<strong>Mean squared error<\/strong>: \ud3c9\uade0 \uc81c\uacf1 \uc624\ucc28. \uad00\uce21\uac12\uacfc \uc608\uce21\uac12\uc758 \ucc28\uc774\ub97c \uc81c\uacf1\ud55c \uac83\uc758 \ud3c9\uade0.<\/li>\n<li>\n<strong>Residual variance<\/strong>: \uc794\ucc28 \ubd84\uc0b0. \uad00\uce21\uac12\uacfc \uc608\uce21\uac12\uc758 \ucc28\uc774\uac00 \uac00\uc9c0\ub294 \ubd84\uc0b0.<\/li>\n<\/ul>\n<\/article><\/div><\/div><\/p>\n<\/div><\/div>\n<\/div><\/div><\/div>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\ud83c\uddfa\ud83c\uddf8\ud83c\uddf0\ud83c\uddf7 R\u00b2 is a ratio, not an absolute measure of accuracy, so it moves with the spread of the data rather than with the correctness of the model alone. Higher residual variance drives it down, a wider range of the predictor pushes it up, and a narrow target range makes even small errors look like failure.<\/p>\n","protected":false},"author":4,"featured_media":6150,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","fifu_image_url":"","fifu_image_alt":"","iawp_total_views":18,"footnotes":""},"categories":[56,369],"tags":[386,388],"class_list":["post-6147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-science-slug","category-evalutaion-metric-slug","tag-github-hosted","tag-r2"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"jetpack_featured_media_url":"https:\/\/ykim.synology.me\/wordpress\/wp-content\/uploads\/2026\/04\/the-coefficient-of-determination-R^2-300x200px.png","_links":{"self":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/6147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/comments?post=6147"}],"version-history":[{"count":14,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/6147\/revisions"}],"predecessor-version":[{"id":7477,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/posts\/6147\/revisions\/7477"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media\/6150"}],"wp:attachment":[{"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/media?parent=6147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/categories?post=6147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykim.synology.me\/wordpress\/wp-json\/wp\/v2\/tags?post=6147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}