r/econometrics • u/DataScienceHype • Aug 18 '19
Forecasting with Econometrics vs Machine Learning
https://towardsdatascience.com/machine-learning-vs-econometrics-in-the-real-world-4058095b1013
Pros and cons of econometrics and machine learning for forecasting purposes. Only concerned with out of sample forecasting accuracy in the experiment.
Pro: Econometrics still has better forecasting accuracy over short to medium horizons
Con: Econometrics takes a long time to run a bunch of models
Pro: Machine learning can significantly reduce build and run times for multiple series
Con: Machine learning can compete on forecast accuracy over longer horizons but still lacking on short to medium horizons
I built the functions from the article and they are available in the open source package listed there. I have plans to continue enhancing the functions.
Note: the article title from link is click-baity because that's what gets views (wish it weren't the case)
4
u/plutostar Aug 18 '19
Along with some of the other criticisms given, I think my main criticism is that you haven’t really compared ML to econometrics.
You’ve compared ML to a lighter form of ML.
A true econometric approach would be to build the correct model for each of the series (without using the data itself to choose the model), then estimate the model and forecast from it.
You are comparing two different methods of automatic forecasting, which is a worthy approach, but isn’t really true econometrics.
-1
u/DataScienceHype Aug 18 '19
I welcome you to join the competition. I mention that in the article as well and I provide all the data and code to reproduce the experiment. The ML models replicate an ARMA forecasting process in an automated way, similar to the econometric models.
Let me know if you're interested.
3
u/plutostar Aug 18 '19
Appreciate the offer, but I am already comfortable with the pros and cons of ML, semi-ML and true econometric methods.
I’m happy to help you correct and rewrite your blog post though.
1
u/DataScienceHype Aug 18 '19
Why don't you leave your comments on the blog post if you disagree with it? I know it would be embarrassing if your suggestions were terrible as they'd be associated with you personally but you sound so confident.
3
u/plutostar Aug 18 '19
You're taking unnatural offense at people trying to help. It is your article, and your face on it. If you want to leave the mistakes up there, that's up to you.
You should read through this though: https://robjhyndman.com/hyndsight/statistics-vs-econometrics/
1
u/DataScienceHype Aug 18 '19
Tell me that with the AutoTS() function where I'm violating his principles? https://otexts.com/fpp2/
4
u/plutostar Aug 18 '19
You’re not, but given that the author of the packages you are using claims he is not an econometrician, and that they are not econometric packages, is it really fair for you to use them as econometrics?
0
u/DataScienceHype Aug 19 '19
I'm sure you didn't make it to the comments so I'll just leave this here. It's always the econ student who doesn't listen...
4
u/plutostar Aug 18 '19
One more thing you should probably mention - you are only looking at univariate “econometric” models, where the vast majority of econometrics deals with multivariate models.
1
u/DataScienceHype Aug 18 '19
If you read the article you would've seen that I clearly define the purpose of the experiment. You obviously didn't but nonetheless felt compelled to add irrelevant talking points. Like I said, comment on the post if you think what I did was wrong.
4
u/plutostar Aug 18 '19
Read it a few times. Nowhere do you mention that you are hamstringing “econometrics” to univariate models.
You do mention that Econometrics is not as good as ML when forecasting multiple series, but that seems an odd claim when you don’t use multivariate forecasts.
3
Aug 18 '19
Where's the article?
1
u/DataScienceHype Aug 18 '19
Sorry, I pasted in the link to the sub tab called "Link". I'm new to reddit so my apologies. I just edited the post with the link
7
-2
u/Savory_Statistics Aug 18 '19
Thanks for the post! Not sure why others are giving you a hard time. I think the experiment you ran was really interesting. I've taken my share of time series modeling courses and I'd be interested in seeing how prophet compares to the models you tested.
0
u/DataScienceHype Aug 18 '19
Thanks for that! I originally had Facebook's prophet model in AutoTS. Originally I was planning to submit my package to CRAN AND USING prophet was making that a bit too challenging. However, now that I'm using catboost models CRAN won't accept the package so I can add prophet back in the mix. I'm probably going to update the experiment in a few months once I'm done making the next set of feature enhancements and I'll have prophet in the mix. Thanks for asking.
2
u/eknanrebb Aug 18 '19
OMF Gawd! I'm just waiting for "Doug" to chime in now! OP replying to himself is just 2 funny.
5
u/plutostar Aug 19 '19
Brand new account created just to make that post!
3
11
u/[deleted] Aug 18 '19
One thing I don't find very valid here is the data you used is hardly the kind of time series that most economics models are built for. You might want to look at the more traditional macroeconomic time series such as inflation, consumption, production, interest rates. The big thing you will find here is that there is simply not a lot of data by machine learning standards (most macro data is monthly or quarterly, financial markets time series are an exception as you can get high frequency data). That said, there are more attempts to use fat/short (rather than thin/tall) datasets in macro these days. You won't be able to do truly out-of-sample validation tests (as all the data has been examined very intensively in the literature).
Also it seems to me that you neglect the entire point of models in econometrics. Economists have a primary concern of hypothesis testing and take their models "seriously" (in the structural modeling sense). They sometimes also look at prediction but that is often a secondary issue. On the other hand machine learning people don't care about hypothesis testing, theory, or parameter estimates. The primary focus of ML is on prediction.