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.

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.