2
$\begingroup$

I am faced with quite a challenge.
I would like to run a regression to see if variable X can predict variable Y.
Variable Y (DV) is continuous (0-100) and I have 120 data points, so it's all simple here.
Variable X (IV), however, is trickier. Each of the 120 data points of X is actually a time series.

Of course, I could just get the (weighted) average of each of the time series and use those values as the IV. The problem here is that, I suspect, the trends in the time series of X have an impact on Y, so a lot of potentially very insightful data would be lost if I were to simply use the average values of the time series.

Does anyone know of an analysis that could account for the trends in the time series? Or perhaps there is a smart way of summarizing a time series into a single value?

I've also considered building a machine learning model and see if I can predict Y better than chance based on the time series values of X. That could perhaps serve as some kind of indicator of the relationship between the variables, if they exist. But it'd be great if there was a more 'statistical' approach.

I'd really appreciate any input you have!

Vlad

$\endgroup$
1
  • $\begingroup$ @RichardHardy, hi! Sorry, completely forgot to do that. The answer is exactly what I was looking for (: $\endgroup$ Commented May 4, 2020 at 15:32

1 Answer 1

0
$\begingroup$

Without subject-matter knowledge of the problem it is impossible to say what summary (be it a scalar or a vector one) of the time series is the most relevant. What can one do then?

You could expand $X$ as $X_1, X_2, \dots, X_n$ where $X_j$ is the value of $X$ at time period $j$. This way your problem turns into a general regression problem with multiple predictors. The problem can be tackled by a variety of statistical and machine learning tools for regression. If the time series are not too short, you will have a high-dimensional problem and some regularization and/or variable selection will be needed.

$\endgroup$

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.