Test statistic
The test statistic relies on dividing the observation window into m subregions.
For each subregion i we compare:
- the observed number of events ni,obs
- the – under CSR – expected number of events ni,exp.
For subregions of equal size, this is: ni,exp=n/m