1
$\begingroup$

Is it acceptable to run a regression with several independent variable datasets whose base years are different? I.e., predicting some variable y using Q4 2007 = 100 vs. Q1 1980 = 100, not in a multiple regression but using each indexed dataset as the independent variable of y one at a time? Or do you want to always have same base year?

Is it acceptable to regress indexed values with non indexed values? Q4 2007 = 100 data regressed with average quarterly data? Any issues?

My thinking is the index base years should be irrelevant. I can interpret a regression coefficient in the same way with dependent variable y and independent variable some index. A one unit increase in the particular index used corresponds to an x unit increase/decrease in y. Correct? In this sense the base years of any indexes used as independent variables should not matter, and it also should not matter if y is an index or not.

$\endgroup$
2
  • 1
    $\begingroup$ what do you mean with "not in a multiple regression but using each indexed dataset as the independent variable of y one at a time". If you mean not $y = \alpha +\beta_1 x_1 + \beta_2 x_2 + ...$ but $y = \alpha +\beta_1 x_1 $ and $y = \alpha +\beta_2 x_2$ separately, that makes a huge difference. Similarly if one is an index (presumably a value) and the other a growth rate, that also makes a big difference. If both are values (that grow over time), your regression parameters will be wrong. $\endgroup$
    – AKdemy
    Jul 1, 2021 at 3:04
  • $\begingroup$ I mean if I did two separate regressions, yes. How does it matter at all? If my y is an interest rate and my independent variable is the Wilshire 5000 Index, wouldn’t my regression coefficient simply represent the unit movement in my interest rate given a one unit movement in the Wilshire 5000 Index? Even if I’m using a Q4 2007 = 100 my coefficient just represent movement in y given one unit movement in that particular representation of the Wilshire 5000, right? $\endgroup$ Jul 1, 2021 at 4:28

1 Answer 1

2
$\begingroup$

I pointed out some issues with regression in time series data in a previous answer.

While my HIV example used there is about causality, I did not actually think too much about causality with regards to writing the general answer.

Whatever series you use, it must be stationary. There is an interesting towardsdatascience article called How (not) to use Machine Learning for time series forecasting: Avoiding the pitfalls which shows some of the issues.

Setting TS issues aside, comparing simple and multiple regressions estimates is in itself interesting. There are only two special cases where simple regression of $y$ on $x_1$ will produce the same OLS estimate on $x_1$ as regressing $y$ on $x_1$ and $x_2$. Let's see why.

$\tilde{y}=\tilde{\beta_o}+\tilde{\beta_1}x_1$ and the multiple regression analog $\hat{y}=\hat{\beta_o}+\hat{\beta_1}x_1+\hat{\beta_2}x_2$. There is the following relationship between $\tilde {\beta_1}$ and $\hat{\beta_1}$: $$\tilde{\beta_1}=\hat{\beta_1}+\hat{\beta_2}\tilde{\phi_1}$$ where $\tilde{\phi_1}$ is the slope coefficient of the simple regression of $x_{i2}$ on $x_{i1}$, $i=1,...n$. Therefore, $\tilde{\beta_1}$ differs from the partial effect of $x_1$ on $\hat{y}$. The confounding term is the partial effect of $x_2$ on $\hat{y}$ times the slope in the sample regression of $x_2$ on $x_1$.

There are two distinct cases where they are equal:

  • the partial effect of $x_2$ on $\hat{y}$ is zero in the sample ($\hat{\beta_2}=0$)
  • $x_1$ and $x_2$ are uncorrelated in the sample ($\tilde{\phi_1}=0$)

Showing this omitted variable bias in general requires a bit of matrix algebra and is not important here. All I want to show is that if you assume that both play a role, leaving either out, will lead in biased estimates. That is why defining an appropriate model is actually quite difficult. Not because of causality (alone) but really because correlation alone is not what matters in regression analysis. The simple regression result of $$\frac{sample \ covariance \ of \ x \ and \ y}{sample \ variance \ of \ x}$$ only works if the two conditions above are fulfilled. Otherwise, your estimator is biased.

Base year should not matter much generally speaking as this is mainly a transformation of the data set only (as far as I know).

For interest rate modelling, I think An Investigation into Interest Rate Modelling: PCA and Vasicek is an interesting read. The best explanation of PCA I came across is found here. It shows nicely in a dynamic chart how PCA minimizes the error orthogonal (perpendicular) to the model line. OLS residuals are orthogonal to the regressors, which is an implication of the strict exogeneity assumption $E(\epsilon_i|x_1,....,x_n) =0$ which is not restrictive as long as the regressors include a constant term. It means the cross moment $E(x,y)$ of two random variables x and y is zero (which means x is orthogonal to y and vice versa). In time series (TS), this is rephrased that the regressors are orthogonal to the past, current and future regressors. For the vast majority of time series models, this condition is not satisfied. This is mainly impacting finite sample theory and it can be shown that the estimator still possesses good large-sample properties.

Edit

If your independent variable is Wilshire 5000 as the index, I would say that in itself is a big concern. This is identical to the previous question. Correlation will almost always exist and vary over time. However, this is not regression analysis.

Generally, posing a question and answering it with statistics is a delicate and complex task. I usually follow something along the line of:

  • What do I try to achieve? a forecast? explain past movements in variables? value a property or firm?

  • What is my hypothesis? What is the (economic) theory behind it?

  • Has this been asked before somewhere? If so, what did they use and why?

  • What kind of model will I need to use? GLM (OLS), ML, ARIMA,... and what functional form is best suited for this.

  • What data will be needed to answer this (and satisfy the assumptions of the model of choice)

  • How do I need to clean, transform and check my data before I can use it. Is it stationary? Is it noisy? Any structural breaks (Paul Volker, Great Moderation, Dot.com bubble, Subprime crisis, Covid crises to name a few)? How do I account for these regime switches?

  • Is there a different factor influencing this.

  • Am I at risk of omitted variable bias? Or multicollinearity?

  • What tests are best suited to check for the problems above? How to check for stationarity, collinearity, ...

  • Once a model is setup, data is collected and appropriately transformed, you check your results. For example, is my error term uncorrelated with me explanatory variable(s). If not, what did I miss. Redo the above.

  • Am I overdoing it now (data mining)?

  • How do the results compare to existing findings? How do I interpret them?

$\endgroup$
1
  • $\begingroup$ Thanks!! So in some ways what you’re saying is it’s better to use multiple regression than do simple linear regression for each variable? $\endgroup$ Jul 1, 2021 at 14:55

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.