Skip to main content
Reverted to original question
Source Link
famargar
  • 859
  • 1
  • 9
  • 24

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical? And if that is the case, how to deal with the fact that a linear regression on categorical input will provide a discrete output, instead of the continuous one I would like to have?

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical? And if that is the case, how to deal with the fact that a linear regression on categorical input will provide a discrete output, instead of the continuous one I would like to have?

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical?

Added a corollary question
Source Link
famargar
  • 859
  • 1
  • 9
  • 24

What regression Regression for categorical independent variables and a continuous dependent one?

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical? And if that is the case, how to deal with the fact that a linear regression on categorical input will provide a discrete output, instead of the continuous one I would like to have?

What regression for categorical independent variables and a continuous dependent one?

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical?

Regression for categorical independent variables and a continuous dependent one

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical? And if that is the case, how to deal with the fact that a linear regression on categorical input will provide a discrete output, instead of the continuous one I would like to have?

Source Link
famargar
  • 859
  • 1
  • 9
  • 24

What regression for categorical independent variables and a continuous dependent one?

I just realized I have always worked regression problem where the independent variables were always numerical. Can I use linear regression in the case where all independent variables are categorical?