Using Categorical Variables In Multiple Regression. An experienced user of multiple regression knows how to include curvilinear components in a regression model when it is needed. Next we explain how to deal with categorical variables in the context of linear regression.
Lets Discuss Multiple Linear Regression using Python. It can readily use as independent variables categorical variables. For the examples on this page we will be using the hsb2 data set.
Categorical variables represent a qualitative method of scoring data ie.
It is used when we want to predict the value of a variable based on the value of two or more other variables. We first describe Multiple Regression in an intuitive way by moving from a straight line in a single predictor case to a 2d plane in the case of two predictors. As an example lets say one of your categorical variable is temperature defined into three categories. All of the above binary logistic regression modelling can be extended to categorical outcomes eg blood type.