How to do regression when there is a mix of numerical and non-numerical predictor variables? I am working on a problem where I need to do regression and I have a mix of about 40 numerical variables and 40 non-numerical (aka categorical/factors) variables. Are there any established algorithms for such problems? I don't think converting the non-numerical variables into numerical variables is a good idea in this problem as they are just "labels". They don't measure anything.
 A: First off, it depends what your dependent variable (Y) is. If it is numerical then most multiple regression models would be sufficient. If it (Y) is categorical then you need a logistic regression or a similar categorical regression model.
As for how to handle independent variables, the numerical ones will fit neatly into almost any regression model. The categorical ones will need to be "factored". I use R. In R, you specify categorical variable "k" in a data frame by running 

Data.Object[DollarSign]k <- factor(Data.Object[DollarSign]k)

In other languages/softwares you do it differently. But definitely make sure the categorical data is being treated as such regardless of which software you use. No, there is no magic algorithm or software that lets you wave a magic wand and factors all these for you. This is a common problem, and if you think 40 is bad, consider the problem with 100.
As for the "best" regression to run when thrown a data set like yours?...well, it depends on what you/your bosses are looking for. 
The tricky part for you is interpreting the labels into something meaningful. Say you have a variable "What is your political party?" If 1 is "republican", 2 is "democrat" and 3 is "independent" then you won't have a variable for each. You'll have a variable for "democrat" and "independent" and both values equaling zero would mean "not democrat and not independent". In this case, the regression coefficient of "democrat" will show the change in Y if the individual is a democrat. The coefficient for "independent" would show the change in Y if the person is independent.
Most importantly, the base case, for all other coefficients, is a republican. So any interpretations you make for other variables should adjust for that base case. There ARE algorithms to make that adjustment easier, but I don't know any off the top of my head.
A: Almost all the regression algorithms take care of both numerical and categorical variables. For categorical variables, there are different "coding" can be used.
The Simple example is binary coding. For example, for gender, you can use $0$ to represent male and $1$ to represent female. If the variables has more then $2$ values, one hot coding can be used.
Details can be found
http://www.ats.ucla.edu/stat/r/library/contrast_coding.htm
