{"id":45660,"date":"2023-08-16T06:19:52","date_gmt":"2023-08-16T06:19:52","guid":{"rendered":"https:\/\/analystprep.com\/cfa-level-1-exam\/?p=45660"},"modified":"2026-04-06T07:06:00","modified_gmt":"2026-04-06T07:06:00","slug":"introduction-to-linear-regression","status":"publish","type":"post","link":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/","title":{"rendered":"Introduction to Linear Regression"},"content":{"rendered":"\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"VideoObject\",\n  \"name\": \"Simple Linear Regression \u2013 Part I (2025 CFA\u00ae Level I Exam \u2013 Quantitative Methods \u2013 Learning Module 10)\",\n  \"description\": \"CFA\u00ae Level I Quantitative Methods video lesson by AnalystPrep covering Simple Linear Regression \u2013 Part I (Learning Module 10). This lecture explains the simple linear regression model, estimation of regression coefficients using the least squares criterion, and interpretation of slope and intercept. It also reviews the key assumptions of the regression model, how residuals and residual plots reveal assumption violations, and how to calculate and interpret measures of fit and hypothesis tests for regression coefficients, with exam-focused examples.\",\n  \"uploadDate\": \"2023-09-21T00:00:00+00:00\",\n  \"thumbnailUrl\": \"https:\/\/img.youtube.com\/vi\/46f00c-jDkA\/default.jpg\",\n  \"contentUrl\": \"https:\/\/www.youtube.com\/watch?v=46f00c-jDkA\",\n  \"embedUrl\": \"https:\/\/www.youtube.com\/embed\/46f00c-jDkA\",\n  \"duration\": \"PT38M27S\"\n}\n<\/script>\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"QAPage\",\n  \"mainEntity\": {\n    \"@type\": \"Question\",\n    \"name\": \"The independent variable in a regression model is most likely the:\",\n    \"text\": \"The independent variable in a regression model is most likely the:\",\n    \"answerCount\": 3,\n    \"acceptedAnswer\": {\n      \"@type\": \"Answer\",\n      \"text\": \"Predicting variable.\"\n    },\n    \"suggestedAnswer\": [\n      {\n        \"@type\": \"Answer\",\n        \"text\": \"Predicted variable.\"\n      },\n      {\n        \"@type\": \"Answer\",\n        \"text\": \"Endogenous variable.\"\n      }\n    ]\n  }\n}\n<\/script>\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"url\": \"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg\",\n  \"caption\": \"Illustration of the relationship between variables in a simple linear regression model\",\n  \"width\": 1024,\n  \"height\": 611,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  }\n}\n<\/script>\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"ImageObject\",\n  \"url\": \"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2-1024x806.jpg\",\n  \"caption\": \"Graphical illustration of a fitted simple linear regression line and residuals\",\n  \"width\": 1024,\n  \"height\": 806,\n  \"copyrightNotice\": \"\u00a9 2024 AnalystPrep\",\n  \"acquireLicensePage\": \"https:\/\/analystprep.com\/license-info\",\n  \"creditText\": \"AnalystPrep Design Team\",\n  \"creator\": {\n    \"@type\": \"Organization\",\n    \"name\": \"AnalystPrep\"\n  }\n}\n<\/script>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/46f00c-jDkA?si=D4jdIJk3R7ReQ4Sl\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\n\n\n<p>Linear regression is a mathematical method used for analyzing how the variation in one variable can explain the variation in another variable.<\/p>\n\n\n\n<p>Let \\(Y\\) be the variable we wish to explain. As such, the observation of this variable is \\(Y_i\\), and \\(\\bar{Y}\\) is the mean of the sample size \\(n\\). The variation of \\(Y\\) is given by:<\/p>\n\n\n\n<p>$$ \\text{Variation of } Y= \\sum_{i=1}^{n}\\left(Y_i-\\bar{Y}\\right)^2 $$<\/p>\n\n\n\n<p>Our main objective is to explain what causes this variation, usually called the sum of squares total (SST).<\/p>\n\n\n\n<p>By definition of the regression, we need to explain the variation of \\(Y\\) with another variable. Let \\(X\\) be the explanatory variable. As such, the observations of \\(X\\) will be denoted by \\(X_i\\) and \\(\\bar{X}\\) sample mean of size \\(n\\). The variation of X is given by:<\/p>\n\n\n\n<p>$$ \\text{Variation of } X= \\sum_{i=1}^{n}\\left(X_i-\\bar{X}\\right)^2 $$<\/p>\n\n\n\n<p>To visualize the relationship between variables X and Y, you can use a scatter plot, also known as a scattergram. In this type of plot, the variable you want to explain (Y) is usually plotted on the vertical axis. In contrast, the explanatory variable (X) is placed on the horizontal axis to show the relationship between their variations.<\/p>\n\n\n\n<p>For example, consider the following table. We wish to use linear regression analysis to forecast inflation, given unemployment data from 2011 to 2020.<\/p>\n\n\n\n<p>$$ \\begin{array}{c|c|c}<br>\\text{Year} &amp; \\text{Unemployment Rate} &amp; \\text{Inflation Rate} \\\\ \\hline<br>2011 &amp; 6.1\\% &amp; 1.7\\% \\\\ \\hline<br>2012 &amp; 7.4\\% &amp; 1.2\\% \\\\ \\hline<br>2013 &amp; 6.2\\% &amp; 1.3\\% \\\\ \\hline<br>2014 &amp; 6.2\\% &amp; 1.3\\% \\\\ \\hline<br>2015 &amp; 5.7\\% &amp; 1.4\\% \\\\ \\hline<br>2016 &amp; 5.0\\% &amp; 1.8\\% \\\\ \\hline<br>2017 &amp; 4.2\\% &amp; 3.3\\% \\\\ \\hline<br>2018 &amp; 4.2\\% &amp; 3.1\\% \\\\ \\hline<br>2019 &amp; 4.0\\% &amp; 4.7\\% \\\\ \\hline<br>2020 &amp; 3.9\\% &amp; 3.6\\%<br>\\end{array} $$<\/p>\n\n\n\n<p>In this scenario, the \\(Y\\) variable is the inflation rate, and the \\(X\\) axis is the unemployment rate. A scatter plot of the inflation rates against unemployment rates from 2011 to 2020 is shown in the following figure.<\/p>\n\n\n\n<div style=\"margin:20px 0\">\n<a href=\"https:\/\/analystprep.com\/free-trial\/\" target=\"_blank\"\nstyle=\"display:block;width:100%;text-align:center;padding:10px;border:2px solid #2f5bea;border-radius:40px;font-size:16px;color:#2f5bea;text-decoration:none\">\nPractice linear regression questions with our free trial.\n<\/a>\n<\/div>\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"611\" class=\"aligncenter size-large wp-image-45668\" style=\"max-width: 100%;\" src=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg\" alt=\"\" srcset=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg 1024w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-300x179.jpg 300w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-768x458.jpg 768w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-400x239.jpg 400w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg 1430w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2>Dependent and Independent Variables<\/h2>\n<p>A dependent variable, often denoted as <span class=\"math math-inline\"><span class=\"katex\"><span class=\"katex-mathml\">YY<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">Y<\/span><\/span><\/span><\/span><\/span>, is the variable we want to explain. In contrast, an independent variable, typically denoted as <span class=\"math math-inline\"><span class=\"katex\"><span class=\"katex-mathml\">XX<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">X<\/span><\/span><\/span><\/span><\/span>, explains variations in the dependent variable. The independent variable is also referred to as the exogenous, explanatory, or predicting variable.<\/p>\n<p>In our example above, the inflation rate is the dependent variable, and the unemployment rate is the independent variable.<\/p>\n<p>To understand the relationship between dependent and independent variables, we estimate a linear relationship, usually a straight line. When there&#8217;s one independent variable, we use simple linear regression. If there are multiple independent variables, we use multiple regression.<\/p>\n<p>This reading focuses on linear regression.<\/p>\n<h2>Least Squares Criterion<\/h2>\n<p>In simple linear regression, we assume linear relationships exist between the dependent and independent variables. The aim is to fit a line to the observations of X \\((X_is)\\) and Y \\((Y_is)\\) to minimize the squared deviations from the line. To accomplish this, we use the least squares criterion.<\/p>\n<p>The following is a simple linear regression equation:<\/p>\n<p>$$ Y=b_0+b_1X_1+\\varepsilon_i,\\ \\ i=1,2,\\ldots,n $$<\/p>\n<p>Where:<\/p>\n<p>\\(Y\\) = Dependent variable.<\/p>\n<p>\\(b_0\\) = Intercept.<\/p>\n<p>\\(b_1\\) = Slope coefficient.<\/p>\n<p>\\(X\\) = Independent variable.<\/p>\n<p>\\(\\varepsilon\\) = Error term (Noise).<\/p>\n<p>\\(b_0\\) and \\(b_1\\) are known as <strong>regression coefficients<\/strong>. The equation above implies that the dependent is equivalent to the intercept \\((b_0)\\) plus the product of the slope coefficient \\((b_1)\\) and the independent variable plus the error term.<\/p>\n<p>The error term is equal to the difference between the observed value of \\(Y\\) and the one expected from the underlying population relation between \\(X\\) and \\(Y\\)<\/p>\n<p>Below is an illustration of a simple linear regression model.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"806\" class=\"aligncenter size-large wp-image-45669\" style=\"max-width: 100%;\" src=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2-1024x806.jpg\" alt=\"\" srcset=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2-1024x806.jpg 1024w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2-300x236.jpg 300w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2-768x604.jpg 768w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2-400x315.jpg 400w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG2.jpg 1430w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>As stated earlier, linear regression calculates a line that best fits the observations. In the following image, the line that best fits the regression is clearly the blue one:<br \/><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"777\" class=\"aligncenter size-large wp-image-45670\" style=\"max-width: 100%;\" src=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG3-1024x777.jpg\" alt=\"\" srcset=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG3-1024x777.jpg 1024w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG3-300x228.jpg 300w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG3-768x583.jpg 768w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG3-400x303.jpg 400w, https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG3.jpg 1430w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Note that we cannot directly observe the population parameters \\(b_0\\) and \\(b_1\\). As such, we observe their estimates, \\({\\hat{b}}_0\\) and \\({\\hat{b}}_1\\). They are the estimated parameters of the population using a sample. In simple linear regression, \\({\\hat{b}}_0\\) and \\({\\hat{b}}_1\\) are such that the sum of squared vertical distances is minimized.<\/p>\n<p>Specifically, we concentrate on the sum of the squared differences between observations \\(Y_i\\) and the respective estimated value \\({\\hat{Y}}_i\\) on the regression line, also called the sum of squares error (SSE).<\/p>\n<p>Note that,<\/p>\n<p>$$ {\\hat{Y}}_i={\\hat{b}}_0+{\\hat{b}}_1X_i+e_i^2 $$<\/p>\n<p>As such,<\/p>\n<p>$$ SSE=\\sum_{i=1}^{n}\\left(Y_i-{\\hat{b}}_0-{\\hat{b}}_1X_i\\right)^2=\\sum_{i=1}^n{(Y_i-\\hat Y_i)}^2=\\sum_{i=1}^n e_i^2 $$<\/p>\n<p>Note that the residual for the ith observation \\((e_i=Y_i-\\hat{Y}_i)\\) is different from the error term \\((\\varepsilon_i)\\). The error term is based on the underlying population, while the residual term results from regression analysis on a sample.<\/p>\n<p>Conventionally, the sum of the residuals is zero. As such, the aim is to fit the regression line in a simple linear regression that minimizes the sum of squared residual terms.<\/p>\n<h2>Estimation and Interpretation of Regression Coefficients<\/h2>\n<h3>The Slope Coefficient \\({\\hat{{\\beta}}}_{1}\\)<\/h3>\n<p>For a simple linear regression, the slope coefficient is estimated as the ratio of the \\(Cov(X, Y)\\) and \\(Var (X)\\):<\/p>\n<p>$$<br \/>{\\hat{b}}_1=\\frac{Cov\\left(X,Y\\right)}{Var\\left(X\\right)}=\\frac{\\frac{\\sum_{i=1}^{n}\\left(Y_i-\\bar{Y}\\right)\\left(X_i-\\bar{X}\\right)}{n-1}}{\\frac{\\sum_{i=1}^{n}\\left(X_i-\\bar{X}\\right)^2}{n-1}}=\\frac{\\sum_{i=1}^{n}\\left(Y_i-\\bar{Y}\\right)\\left(X_i-\\bar{X}\\right)}{\\sum_{i=1}^{n}\\left(X_i-\\bar{X}\\right)^2} $$<\/p>\n<p>The slope coefficient is defined as the change in the dependent variable caused by a one-unit change in the value of the independent variable.<\/p>\n<h3>The Intercept \\({\\hat{{\\beta}}}_{0}\\)<\/h3>\n<p>The intercept is estimated using the mean of \\(X\\) and \\(Y\\) as follows:<\/p>\n<p>$$ {\\hat{b}}_0=\\bar{Y}-{\\hat{b}}_1\\bar{X} $$<\/p>\n<p>Where:<\/p>\n<p>\\(\\hat{Y}\\) = Mean of \\(Y\\).<\/p>\n<p>\\(\\hat{X}\\) = Mean of \\(X\\).<\/p>\n<p>The intercept is the estimated value of the dependent variable when the independent variable is zero. The fitted regression line passes through the point equivalent to the means of the dependent and the independent variables in a linear regression model.<\/p>\n<p><strong>Example: Estimating Regression Line<\/strong><\/p>\n<p>Let us consider the following table. We wish to estimate a regression line to forecast inflation, given unemployment data from 2011 to 2020.<\/p>\n<p>$$ \\begin{array}{c|c|c}<br \/>\\text{Year} &amp; {\\text{Unemployment Rate}\\% \\ (X_is)} &amp; {\\text{Inflation Rate}\\% \\ (Y_is)} \\\\ \\hline<br \/>2011 &amp; 6.1 &amp; 1.7 \\\\ \\hline<br \/>2012 &amp; 7.4 &amp; 1.2 \\\\ \\hline<br \/>2013 &amp; 6.2 &amp; 1.3 \\\\ \\hline<br \/>2014 &amp; 6.2 &amp; 1.3 \\\\ \\hline<br \/>2015 &amp; 5.7 &amp; 1.4 \\\\ \\hline<br \/>2016 &amp; 5.0 &amp; 1.8 \\\\ \\hline<br \/>2017 &amp; 4.2 &amp; 3.3 \\\\ \\hline<br \/>2018 &amp; 4.2 &amp; 3.1 \\\\ \\hline<br \/>2019 &amp; 4.0 &amp; 4.7 \\\\ \\hline<br \/>2020 &amp; 3.9 &amp; 3.6<br \/>\\end{array} $$<\/p>\n<p>We can create the following table:<\/p>\n<p>$$ \\begin{array}{c|c|c|c|c|c}<br \/>\\text{Year} &amp; \\text{Unemployment} &amp; \\text{Inflation} &amp; \\left(Y_i-\\bar{Y}\\right)^2 &amp; \\left(X_i-\\bar{X}\\right)^2 &amp; (Y_i-\\bar{Y}) \\\\<br \/>&amp; {\\text{Rate}\\% \\ (X_is)} &amp; { \\text{Rate}\\% \\ (Y_is)} &amp; &amp; &amp; (X_i-\\bar{X}) \\\\ \\hline<br \/>2011 &amp; 6.1 &amp; 1.7 &amp; 0.410 &amp; 0.656 &amp; -0.518 \\\\ \\hline<br \/>2012 &amp; 7.4 &amp; 1.2 &amp; 1.300 &amp; 4.452 &amp; -2.405 \\\\ \\hline<br \/>2013 &amp; 6.2 &amp; 1.3 &amp; 1.082 &amp; 0.828 &amp; -0.946 \\\\ \\hline<br \/>2014 &amp; 6.2 &amp; 1.3 &amp; 1.082 &amp; 0.828 &amp; -0.946 \\\\ \\hline<br \/>2015 &amp; 5.7 &amp; 1.4 &amp; 0.884 &amp; 0.168 &amp; -0.385 \\\\ \\hline<br \/>2016 &amp; 5.0 &amp; 1.8 &amp; 0.292 &amp; 0.084 &amp; 0.157 \\\\ \\hline<br \/>2017 &amp; 4.2 &amp; 3.3 &amp; 0.922 &amp; 1.188 &amp; -1.046 \\\\ \\hline<br \/>2018 &amp; 4.2 &amp; 3.1 &amp; 0.578 &amp; 1.188 &amp; -0.828 \\\\ \\hline<br \/>2019 &amp; 4.0 &amp; 4.7 &amp; 5.570 &amp; 1.664 &amp; -3.044 \\\\ \\hline<br \/>2020 &amp; 3.9 &amp; 3.6 &amp; 1.588 &amp; 1.932 &amp; -1.751 \\\\ \\hline<br \/>\\textbf{Sum} &amp; \\bf{52.90} &amp; \\bf{ 23.4} &amp; \\bf{13.704} &amp; \\bf{12.989} &amp; \\bf{-11.716} \\\\ \\hline<br \/>\\textbf{Arithmetic} &amp; \\bf{5.29} &amp; \\bf{2.34} &amp; &amp; &amp; \\\\<br \/>\\textbf{Mean}<br \/>\\end{array} $$<\/p>\n<p>From the table above, we estimate the regression coefficients:<\/p>\n<p>$$ \\begin{align*} {\\hat{b}}_1 &amp; =\\frac{Cov\\left(X,Y\\right)}{Var\\left(X\\right)}=\\frac{\\sum_{i=1}^{n}\\left(Y_i-\\bar{Y}\\right)\\left(X_i-\\bar{X}\\right)}{\\sum_{i=1}^{n}\\left(X_i-\\bar{X}\\right)^2}=\\frac{-11.716}{12.989}=-0.9020 \\\\ {\\hat{b}}_0 &amp; =\\bar{Y}-{\\hat{b}}_1\\bar{X}=2.34-(-0.9020)\\times5.29=7.112 \\end{align*} $$<\/p>\n<p>As such, the regression model is given by:<\/p>\n<p>$$ \\hat{Y}=7.112-0.9020X_i+\\varepsilon_i $$<\/p>\n<p>From the above regression model, we can note the following:<\/p>\n<ul>\n<li>The inflation rate is 7.112% if the unemployment rate is 0% (theoretically speaking).<\/li>\n<li>If the unemployment rate increases (decreases) by one unit, say, from 2% to 3%\u2013the inflation rate decreases(increases) by 0.9020%.<\/li>\n<\/ul>\n<p>In general,<\/p>\n<ul>\n<li>If the slope is positive, a unit increase(decrease) in the independent variable results in an increase(decrease) in the dependent variable.<\/li>\n<li>If the slope is negative, a one-unit increase(decrease) in the independent variable results in a decrease(increase) in the dependent variable.<\/li>\n<\/ul>\n<p>Furthermore, with the estimated regression model, we can predict the values of the dependent variable based on the value of the independent variable. For instance, if the unemployment rate is 4.5%, then the predicted value of the dependent variable is:<\/p>\n<p>$$ \\hat{Y}=7.112-0.9020\\times4.5=3.05\\% $$<\/p>\n<p>In practice, analysts perform regression analysis using statistical functions in software like Excel, statistical tools like R, or programming languages such as Python.<\/p>\n<h2>Cross-sectional and Time Series Regressions<\/h2>\n<p>Regression analysis is commonly used with cross-sectional and time series data. In cross-sectional analysis, you compare X and Y observations from different entities, like various companies in the same time period. For instance, you might analyze the link between a company&#8217;s R&amp;D spending and stock returns across multiple firms in a year.<\/p>\n<p>Time-series regression analysis involves using data from various time periods for the same entity, like a company or an asset class. For instance, an analyst might examine how a company&#8217;s quarterly dividend payouts relate to its stock price over multiple years.<\/p>\n<blockquote>\n<h2>Question<\/h2>\n<p>The independent variable in a regression model is <em>most likely<\/em> the:<\/p>\n<ol type=\"A\">\n<li>Predicted variable.<\/li>\n<li>Predicting variable.<\/li>\n<li>Endogenous variable.<\/li>\n<\/ol>\n<p><strong>Solution<\/strong><\/p>\n<p><strong>The correct answer is B<\/strong>.<\/p>\n<p>An independent variable explains the variation of the dependent variable. It is also called the explanatory variable, exogenous variable, or the <strong>predicting variable<\/strong>.<\/p>\n<p><strong>A and C are incorrect<\/strong>. A dependent variable is a variable predicted by the independent variable. It is also known as the <strong>predicted variable<\/strong>, explained variable, or <strong>endogenous variable<\/strong>.<\/p>\n<\/blockquote>\n\n\n<div style=\"text-align:center;margin:40px 0\">\n<a href=\"https:\/\/analystprep.com\/free-trial\/\" target=\"_blank\"\nstyle=\"display:inline-block;padding:10px 26px;background:#3f78d7;color:#fff;border-radius:40px;font-size:16px;text-decoration:none\">\nStart Free Trial \u2192\n<\/a>\n<p style=\"margin-top:10px;max-width:600px;margin-left:auto;margin-right:auto;font-size:14px\">\nSolve CFA-style questions on simple linear regression, hypothesis testing, and interpreting relationships between variables.\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linear regression is a mathematical method used for analyzing how the variation in one variable can explain the variation in another variable. Let \\(Y\\) be the variable we wish to explain. As such, the observation of this variable is \\(Y_i\\),&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-45660","post","type-post","status-publish","format-standard","hentry","category-quantitative-methods","blog-post","no-post-thumbnail","animate"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linear Regression Basics | CFA Level 1<\/title>\n<meta name=\"description\" content=\"Explore linear regression fundamentals, analyzing relationships between variables and interpreting regression line slopes in financial contexts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linear Regression Basics | CFA Level 1\" \/>\n<meta property=\"og:description\" content=\"Explore linear regression fundamentals, analyzing relationships between variables and interpreting regression line slopes in financial contexts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\" \/>\n<meta property=\"og:site_name\" content=\"AnalystPrep | CFA\u00ae Exam Study Notes\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-16T06:19:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-06T07:06:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1430\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kajal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kajal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\"},\"author\":{\"name\":\"Kajal\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/3cde53d128c8d0cfdd46d8732e8c3048\"},\"headline\":\"Introduction to Linear Regression\",\"datePublished\":\"2023-08-16T06:19:52+00:00\",\"dateModified\":\"2026-04-06T07:06:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\"},\"wordCount\":1691,\"image\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg\",\"articleSection\":[\"Quantitative Methods\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\",\"url\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\",\"name\":\"Linear Regression Basics | CFA Level 1\",\"isPartOf\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg\",\"datePublished\":\"2023-08-16T06:19:52+00:00\",\"dateModified\":\"2026-04-06T07:06:00+00:00\",\"author\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/3cde53d128c8d0cfdd46d8732e8c3048\"},\"description\":\"Explore linear regression fundamentals, analyzing relationships between variables and interpreting regression line slopes in financial contexts.\",\"breadcrumb\":{\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage\",\"url\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg\",\"contentUrl\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg\",\"width\":1430,\"height\":853},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to Linear Regression\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/#website\",\"url\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/\",\"name\":\"AnalystPrep | CFA\u00ae Exam Study Notes\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/3cde53d128c8d0cfdd46d8732e8c3048\",\"name\":\"Kajal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2016\/12\/tarryn-150x150.png\",\"contentUrl\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2016\/12\/tarryn-150x150.png\",\"caption\":\"Kajal\"},\"url\":\"https:\/\/analystprep.com\/cfa-level-1-exam\/author\/kajal\/\"}]}<\/script>\n<meta property=\"og:video\" content=\"https:\/\/www.youtube.com\/embed\/46f00c-jDkA\" \/>\n<meta property=\"og:video:type\" content=\"text\/html\" \/>\n<meta property=\"og:video:duration\" content=\"2308\" \/>\n<meta property=\"og:video:width\" content=\"480\" \/>\n<meta property=\"og:video:height\" content=\"270\" \/>\n<meta property=\"ya:ovs:adult\" content=\"false\" \/>\n<meta property=\"ya:ovs:upload_date\" content=\"2023-08-16T06:19:52+00:00\" \/>\n<meta property=\"ya:ovs:allow_embed\" content=\"true\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linear Regression Basics | CFA Level 1","description":"Explore linear regression fundamentals, analyzing relationships between variables and interpreting regression line slopes in financial contexts.","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:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/","og_locale":"en_US","og_type":"article","og_title":"Linear Regression Basics | CFA Level 1","og_description":"Explore linear regression fundamentals, analyzing relationships between variables and interpreting regression line slopes in financial contexts.","og_url":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/","og_site_name":"AnalystPrep | CFA\u00ae Exam Study Notes","article_published_time":"2023-08-16T06:19:52+00:00","article_modified_time":"2026-04-06T07:06:00+00:00","og_image":[{"width":1430,"height":853,"url":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg","type":"image\/jpeg"}],"author":"Kajal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kajal","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#article","isPartOf":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/"},"author":{"name":"Kajal","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/3cde53d128c8d0cfdd46d8732e8c3048"},"headline":"Introduction to Linear Regression","datePublished":"2023-08-16T06:19:52+00:00","dateModified":"2026-04-06T07:06:00+00:00","mainEntityOfPage":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/"},"wordCount":1691,"image":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage"},"thumbnailUrl":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg","articleSection":["Quantitative Methods"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/","url":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/","name":"Linear Regression Basics | CFA Level 1","isPartOf":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/#website"},"primaryImageOfPage":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage"},"image":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage"},"thumbnailUrl":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1-1024x611.jpg","datePublished":"2023-08-16T06:19:52+00:00","dateModified":"2026-04-06T07:06:00+00:00","author":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/3cde53d128c8d0cfdd46d8732e8c3048"},"description":"Explore linear regression fundamentals, analyzing relationships between variables and interpreting regression line slopes in financial contexts.","breadcrumb":{"@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#primaryimage","url":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg","contentUrl":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2023\/08\/LM10_IMG1.jpg","width":1430,"height":853},{"@type":"BreadcrumbList","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/quantitative-methods\/introduction-to-linear-regression\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/analystprep.com\/cfa-level-1-exam\/"},{"@type":"ListItem","position":2,"name":"Introduction to Linear Regression"}]},{"@type":"WebSite","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/#website","url":"https:\/\/analystprep.com\/cfa-level-1-exam\/","name":"AnalystPrep | CFA\u00ae Exam Study Notes","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/analystprep.com\/cfa-level-1-exam\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/3cde53d128c8d0cfdd46d8732e8c3048","name":"Kajal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/analystprep.com\/cfa-level-1-exam\/#\/schema\/person\/image\/","url":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2016\/12\/tarryn-150x150.png","contentUrl":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-content\/uploads\/2016\/12\/tarryn-150x150.png","caption":"Kajal"},"url":"https:\/\/analystprep.com\/cfa-level-1-exam\/author\/kajal\/"}]},"og_video":"https:\/\/www.youtube.com\/embed\/46f00c-jDkA","og_video_type":"text\/html","og_video_duration":"2308","og_video_width":"480","og_video_height":"270","ya_ovs_adult":"false","ya_ovs_upload_date":"2023-08-16T06:19:52+00:00","ya_ovs_allow_embed":"true"},"_links":{"self":[{"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/posts\/45660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/comments?post=45660"}],"version-history":[{"count":45,"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/posts\/45660\/revisions"}],"predecessor-version":[{"id":60315,"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/posts\/45660\/revisions\/60315"}],"wp:attachment":[{"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/media?parent=45660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/categories?post=45660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/analystprep.com\/cfa-level-1-exam\/wp-json\/wp\/v2\/tags?post=45660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}