You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

Linear regression is a powerful statistical tool for understanding relationships between variables. It helps us predict one variable based on another, using a simple equation that captures their connection. This method is crucial for business decisions, from sales forecasting to understanding customer behavior.

The key components of linear regression include the , , and . By interpreting these elements and assessing the model's fit through R-squared values, we can gauge how well our predictions match reality and make informed business choices.

Components and Interpretation of Simple Linear Regression

Components of linear regression

Top images from around the web for Components of linear regression
Top images from around the web for Components of linear regression
  • Simple linear regression model expressed as y=β0+β1x+ϵy = \beta_0 + \beta_1x + \epsilon
    • yy (response variable) being predicted or explained
    • xx (explanatory variable) used to predict or explain changes in yy
    • β0\beta_0 y-intercept, value of yy when xx equals zero
    • β1\beta_1 slope, change in yy for a one-unit increase in xx
    • ϵ\epsilon random error term, accounts for variability in yy not explained by linear relationship with xx

Interpretation of slope vs y-intercept

  • Slope (β1\beta_1) change in dependent variable (yy) for one-unit increase in independent variable (xx)
    • Interpretation depends on context and units of variables
      • Sales (yy) and advertising expenditure (xx), slope of 50 means 1,000increaseinadvertisingleadsto1,000 increase in advertising leads to 50 increase in sales
  • Y-intercept (β0\beta_0) value of dependent variable (yy) when independent variable (xx) equals zero
    • Interpretation depends on context and whether x=0x = 0 is meaningful
      • Number of employees (xx), β0\beta_0 might not have practical interpretation, as company cannot have zero employees

Equation and Prediction in Simple Linear Regression

Equation of regression models

  • Least squares method estimates slope (β1\beta_1) and y-intercept (β0\beta_0) from data points
    • Calculate slope: β1=i=1n(xixˉ)(yiyˉ)i=1n(xixˉ)2\beta_1 = \frac{\sum_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})}{\sum_{i=1}^{n}(x_i - \bar{x})^2}
      • xix_i and yiy_i individual data points
      • xˉ\bar{x} and yˉ\bar{y} means of xx and yy
      • nn number of data points
    • Calculate y-intercept: β0=yˉβ1xˉ\beta_0 = \bar{y} - \beta_1\bar{x}
  • Substitute estimated slope and y-intercept into simple linear regression model equation: y^=β0+β1x\hat{y} = \beta_0 + \beta_1x
    • y^\hat{y} predicted value of dependent variable

Predictions from regression equations

  • Use estimated simple linear regression model equation y^=β0+β1x\hat{y} = \beta_0 + \beta_1x to predict value of dependent variable (y^\hat{y}) for given value of independent variable (xx)
    1. Substitute given value of xx into equation
    2. Calculate predicted value of y^\hat{y}
      • Estimated regression equation y^=100+50x\hat{y} = 100 + 50x and x=2x = 2, predicted value of y^\hat{y} is y^=100+50(2)=200\hat{y} = 100 + 50(2) = 200

Goodness of Fit in Simple Linear Regression

Goodness of fit assessment

  • Assess using coefficient of determination (R-squared)
    • R-squared proportion of variance in dependent variable (yy) predictable from independent variable (xx)
    • Formula: R2=SSRSST=1SSESSTR^2 = \frac{SSR}{SST} = 1 - \frac{SSE}{SST}
      • SSRSSR sum of squares regression (explained variation)
      • SSESSE sum of squares error (unexplained variation)
      • SSTSST total sum of squares (total variation)

Meaning of R-squared values

  • R-squared ranges from 0 to 1, higher values indicate better fit, lower values indicate poorer fit
    • R-squared of 0 none of variance in yy explained by xx
    • R-squared of 1 all of variance in yy explained by xx
    • R-squared of 0.75 means 75% of variance in dependent variable explained by independent variable, 25% unexplained
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary