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.
Thanks,
Arushi
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.
Thanks,
Arushi
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.