I have read related questions about linear regression models with hour of day variable, but they didnt help me at all, so I want to describe my doubt exactly:
I am facing a linear regression problem, where I have a several variables just to predict another related with pollution degree. I have doubts with two of these variables, they are: "hour of day" and "number of cars in these hour". Before the model, just thinking about the physical sense of the problem, we can think that simply the hour of the day cannot be related with the pollution at all, the hour variable is more related with the number of cars, the number of cars increases in day hours and decreases at night. Am I doing the regression model right if I include the numbers of cars variable, knowing that this variable is related with the hour of day in which the pollution variable was measured?