The simple and multiple linear regression methods we studied in Chapters 10 and 11 are used to model the relationship between a quantitative response variable and one or more explanatory variables. In this chapter, we describe similar methods that are used when the response variable is a categorical variable with two possible values.
The methods detailed in this chapter will help us answer questions such as
In general, we call the two outcomes of the response variable
“success” and “failure” and represent them by 1 (for a success) and 0
(for a failure). The mean is then the proportion of 1s or
If our data are n independent observations, we have the binomial setting, and we can use the inference methods of Chapter 8. What is new in this chapter is that the data now include at least one explanatory variable x, and the probability p depends on the value of x.
For example, suppose that we are studying whether a student
applicant receives