Does anyone know of a predictive model that can combine the linear regression model and time series model?

I have some data about some products. The data has two parts, some attributes about the products themselves, and some time series data of month-by-month sales amounts for each product. We want to predict future month-by-month sales amount for each product. with the products attributes data, we can build a regression model, or an svm model, to predict sales amounts. With the time series sales amount, we can build a time series model to predict sales amount, but is there any predictive model that can combine the regression, svm, and time series models to do the prediction?

  • $\begingroup$ One naive solution is to simply combine the time series data over some fixed window (say the last N months) with the immutable product features and train on that feature set. $\endgroup$
    – jamesmf
    Dec 9, 2015 at 23:03
  • $\begingroup$ found this, panel data analysis:imai.princeton.edu/teaching/files/panel.pdf $\endgroup$
    – zezi
    Dec 9, 2015 at 23:36

1 Answer 1


You can use time as an additional attribute of the data. If you are having monthly data then your time feature could have 12 different values from 0 to 11. If you are having quarterly data your time attribute could have 4 different value from 0 to 3. You can refer Forecasting: Principles and Practice for more clarification. It's a good book.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.