It always create a doubt to me, whether we can apply linear or non linear multiple regression on time series data. If yes, should I consider year also an independent variable.
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.Sign up to join this community
Yes, you can. The forecast::tslm function was written to help you with that. You may also read on generalized least squares to fight correlations in residuals that are common and expected in time series regression problems. This should give you better estimates of the standard errors of the regression parameters.