My independent variables include continuous (Age, weight), binary (Smokes or not) and count data (number of visits to doctors 0-5), while the dependent variable is continuous. Should I use dummy variables for all the binary and the count variables to fit a linear regression? What are the pros and cons?
In another scenario, the dependent variable is binary with the same type of mixed (continuous, binary, count) variables. Should I use dummy variables just like linear regression?