11

I have the total number of calls received each week and have plotted them on a chart, going back nearly 3 years.

By eye it seems that there was a massive drop over Christmas, that doesn't seem to have recovered, it seems that there has been a step change in requests.

Is there a test I can do that can quantify this difference?

Cheers

Ben

Jeromy Anglim
  • 42,044
  • 23
  • 146
  • 250
oharab
  • 211
  • 1
  • 3
  • 2
    Exploring the [change-point](http://stats.stackexchange.com/questions/tagged/change-point) tag might give you some ideas. – whuber Apr 14 '11 at 14:59

1 Answers1

11

A very similar example is used in the tutorial of PyMC. If you assume that the daily amount of requests was constant until some point in time (maybe exactly Christmas) and after that it was constant again, all you need to do is substitute the numbers in the example: http://pymc.googlecode.com/svn/doc/tutorial.html

As this is the Bayesian approach you won't (easily) get p values. However, the size of the step down and its credible interval (this is a Bayesian interval, similar to a confidence interval) may be equally useful.

GaBorgulya
  • 3,253
  • 15
  • 19
  • Question for all: does the idea of doing a simple *T*-test, before vs. after, get compromised by the fact that the researcher had the benefit of seeing the entire series before choosing that Christmas split point? Beyond that, are there methods simpler than GaBorgulya's that you would recommend? And I'm not sure that fitting 2 ARIMA models would be much simpler. – rolando2 Apr 17 '11 at 02:46