Hello everyone,

I have a fairly simple question and hope you guys can help me out. I already studied quiet a lot questions/answers here in the forum, but most of them had a different, more sophisticated problem at hand.

To my question; I want to figure out the correlation between y and x for which I have time-series data available (for example y=unemployment and x=CPI).

I already exponentially smoothed x=CPI (tssmooth exponential).

Now, as I am only interested in the correlation between y and x ( yt01xt+ut), I was wondering if the simple - reg yt xt - would aim for the desired results.

I am trapped in my own thoughts right now and actually need some clarity, as this approach seems way too simple.

I am very thankful for every reply.