1
$\begingroup$

Considering the data is received from a streaming source each second.How to distinguish if both the line graphs 'look' same/different in real time, statically, like the picture given below enter image description here


Edit:
1.Not sure if there is something as real-time periodic correlation mechanism then cross-correlation would perhaps be an ideal solution ?
2. Comparing slope of the two Line is the last option I would go with. 3. If statistically there is no way to solve this then I would look at machine learning to solve this

$\endgroup$
0
$\begingroup$

I am unsure on how to do this statistically apart from using the slope. However, there are some interesting ways to think about time series in a given time period to find similarity. You could do as follows:

  1. Use the characteristics of the signal in a given time window and construct an n dimensional vector.
  2. You could use similarity measures or distance measures like cosine, manhattan etc to evaluate the similarity between them.
$\endgroup$
  • $\begingroup$ even with slope methods ,considering both the signals donot rise or fall by equal slopes , how to detect if they are similar? $\endgroup$ – Rai Bose Nov 15 '18 at 18:47
  • $\begingroup$ I am not quite sure, maybe finding the average of the slope and comparing helps. Here is how you could find the average of the slope : searchink.atlassian.net/wiki/spaces/PROJ/pages/282329252/… I still think finding a vector representation and using other metrics/measures will help you evaluate this better. $\endgroup$ – Nischal Hp Nov 15 '18 at 18:58

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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