Answer:
By running multiple regression with dummy variables
Step-by-step explanation:
A dummy variable is a variable that takes on the value 1 or 0. Dummy variables are also called binary
variables. Multiple regression expresses a dependent, or response, variable as a linear
function of two or more independent variables. The slope is the change in the response variable. Therefore, we have to run a multiple regression analysis when the variables are measured in the same measurement.The number of dummy variables you will need to capture a categorical variable
will be one less than the number of categories. When there is no obvious order to the categories or when there are three or more categories and differences between them are not all assumed to be equal, such variables need to be coded as dummy variables for inclusion into a regression model.