0
$\begingroup$

I am very new to this data analytics field, so bit confused about what to do. I have 2 time series datasets of two different products that have the same attributes. I want to find trend similarity between both the time series. Which one will be best to use, correlation, covariance, mutual information or Euclidean distance?

$\endgroup$

1 Answer 1

0
$\begingroup$

what do you mean by "trend similarity". if the data has a trend assuming it's linear you can run the regression of data on the index and then judge if the coefficients are significant or not. but this won't give any insight on similarity of the trends; maybe you can compare the slopes for equality.

you cannot really apply correlation or covariance because I do not think your data is stationary in presence of a trend

$\endgroup$
2
  • $\begingroup$ by trend similarity I mean the similarity of the trend of both the series over time, like one is moving down then another one is also moving down and vice versa. $\endgroup$ Commented Jun 9, 2023 at 9:44
  • $\begingroup$ as i said you can regress on the "index" (an increasing sequence from 1 to n) and then judge the slope based on t stats. $\endgroup$
    – pppp_prs
    Commented Jun 9, 2023 at 17:49

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.