1
$\begingroup$

I know that linear regression is used for calculating price elasticity. If my objective is to estimate the parameters of a causal relationship, can i use machine learning techniques like Random Forest or lets say ARIMA with regressors? Has anyone done this before? I tried searching in jstor.org but didn't find any.

$\endgroup$
1
$\begingroup$

There are typically two ways to go about estimating causal relationships in the data: by using exogenous variation in the "right-hand-side" variable, or by using structural estimation.

Unless there's an experiment or a quasi-experiment of some sort, the technique economist's apply is instrumental variable (IV) estimation. The idea is that to find the causal impact of x on y in a situation in which x is partly determined by y itself or by a third variable that also affects y, is to find a source of variation that only has a direct effect on x.

Machine learning techniques are not typically used to estimate causal relationships. Instead, they are often used for forecasting.

Mixing the two: machine learning and causal inference is a focus of current research, but apparently there are no solid, off-the-shelf methods to use. Intuitively, the issue is that in the example above, you will need all of x to produce the best forecast of y, but you want only the exogenous par of x to get a sense of the causal relationship between x and y.

$\endgroup$
  • $\begingroup$ I have 2 points 1) Isn't linear regression a means to an end? My objective is to be able to predict accurately future demand at a given price and other exogenous variables. So if a machine learning technique is accurate on multiple samples of hold out data and in comparison linear regression performs poorly, then shouldn't i be using machine learning? And to be fair this is what happening for my case. I have quantity demanded, my price, social media reputation and competitor price, competitor social media reputation. It turns out that Random Forest is performing better than linear regression. $\endgroup$ – Enthusiast Mar 15 '16 at 4:47
  • $\begingroup$ 2) Unfortunately i do not have any instrumental variable to to consider an IV regression. So the only option i am left with is to use linear regression. and if i compare predictive accuracy of linear regression with machine learning technique, then machine learning outperforms linear regression on holdout sample. So if any other technique can better measure relationship between quantity demanded and price i.e. causality, then why can't we use that? I mean why restrict to linear regression, IV regression and SEM only? $\endgroup$ – Enthusiast Mar 15 '16 at 4:52
  • $\begingroup$ Re: (1 and 2) Yes, estimation is a means to an end. If your end is forecasting under relatively stable conditions, then you are better off with machine learning. If you do it correctly to avoid over-fitting, it will almost certainly will be a better predictor fo the future unless the circumstances change a lot. However, in changing circumstances you are better off understanding the deep parameters driving the economy. For example, if you are thinking of changing tax rates to a level never seen before, machine learning will typically not be a good way to find the potential effect of this policy $\endgroup$ – Fix.B. Mar 15 '16 at 4:58
  • $\begingroup$ So to be precise, we will need IV regression when our goal is to get exogenous component of predictors and when data is unstable and faces lot of changing circumstances? $\endgroup$ – Enthusiast Mar 15 '16 at 6:34
  • 1
    $\begingroup$ Thanks a lot! Forgot to add that the recent work by Susan Athey is a good starting point for current research relating to these issues. $\endgroup$ – Fix.B. Mar 16 '16 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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