1
$\begingroup$

I have 2 timeseries representing the energy expenditure of 2 group of patients. Data are sampled every hour. The resulting plots represent indeed the hourly pattern of the EE of the 2 groups.

Is there a statistical test in order to compare (and emphatize differences) between 2 hourly patterns?

Thanks!

$\endgroup$

closed as unclear what you're asking by Silverfish, Sven Hohenstein, gung, kjetil b halvorsen, Peter Flom Nov 3 '15 at 21:28

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

0
$\begingroup$

Coherence will indicate whether two series have the same frequencies. Phase shift will show what is the phase shift at these frequencies.

$\endgroup$
  • $\begingroup$ Would it work if I have only 24 data points (one each hour). $\endgroup$ – gabboshow Nov 2 '15 at 15:04
  • $\begingroup$ It depends on the pattern. It will certainly not work for any kind of pattern repeating daily or monthly. You can only detect frequencies between once in half hour and once a day. $\endgroup$ – Aksakal Nov 2 '15 at 15:16
  • $\begingroup$ Could you please have a look at this question? stats.stackexchange.com/questions/179947/… I asked to close the current one since it is very unclear... $\endgroup$ – gabboshow Nov 3 '15 at 10:05
0
$\begingroup$

You could use Hodrick-Prescott filter to detect trends and cycles (daily or weekly) and compare among the two data series.

$\endgroup$
  • 1
    $\begingroup$ He has just one day data, 24 hourly observations. $\endgroup$ – Aksakal Nov 2 '15 at 18:06
  • $\begingroup$ Well, in this case one could just make H0: the two have same mean and apply a t-test. Better ideas? $\endgroup$ – Davide C Nov 3 '15 at 16:10

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