Chapter page 12 / 38Regression modeling
English

Regression modeling

Among the most ubiquitous methods used to model a response variable given one or more predictor variables is regression. Linear regression is most commonly used when the response variable is numeric (and even better, continuous); logistic regression is used when the response variable is binary.

  • In Chapter 7  Linear regression with a single predictor you are introduced to finding a best fit line using a least squares method. Additionally, the correlation and coefficient of determination are presented as a way to describe the strength of the linear model.
  • In Chapter 8  Linear regression with multiple predictors the linear model is expanded to include multiple predictor variables in a single model. We discuss the benefits as well as the pitfalls that can arise when using multiple predictors.
  • In Chapter 9  Logistic regression the response variable is constrained to be binary which changes the entire structure and produces the logistic regression model. The similarities between the regression models (namely, linear combinations of the predictors) are presented. Additionally, you see that the logistic regression predictions are now probabilities.
  • Chapter 10  Applications: Model includes an application on the Houses for sale case study where the topics from this part of the book are fully developed.

Later on in the textbook, in the Inferential modeling part, we will consider how a regression model built on a sample may or may not describe a particular population of interest.

中文

回归建模

在给定一个或多个预测变量来对响应变量建模时,回归是最常用的方法之一。当响应变量为数值型(尤其是连续型)时,最常用的是线性回归;当响应变量为二元变量时,则使用逻辑回归。

  • 第 7 单预测变量的线性回归 你将学习使用最小二乘法寻找最佳拟合直线。此外,还将介绍相关系数和决定系数,用于描述线性模型的强度。
  • 第 8 多预测变量的线性回归 线性模型被扩展为在单个模型中包含多个预测变量。我们讨论使用多个预测变量的好处以及可能出现的陷阱。
  • 第 9 逻辑回归 响应变量被限定为二元变量,这改变了整个模型结构,从而产生逻辑回归模型。本章介绍了各回归模型之间的相似之处(即预测变量的线性组合)。此外,你还会看到逻辑回归的预测值现在是概率。
  • 第 10 应用:建模 包含一个关于待售房屋案例研究的应用,本书这一部分的主题将在其中得到充分展开。

在本书后面的 推断性建模 部分中,我们将探讨基于样本构建的回归模型是否能够描述感兴趣的特定总体。