1. A method of determining a seasonal effect in temporal data, comprising: receiving the temporal data relating to an aspect of an enterprise; for each of a plurality of candidate seasons, performing, by a computer: defining an interval for the corresponding candidate season, dividing the interval into plural buckets containing respective sets of the temporal data, computing statistical measures for corresponding buckets, and using the computed statistical measures to compute an error score for the corresponding candidate season, wherein computing the error score comprises: within each of the buckets, applying a mathematical function based on temporal data values in the bucket and the statistical measure for the bucket to produce an output value; and aggregating the output values produced for the buckets to compute the error score, wherein scores computed for corresponding candidate seasons are used for identifying which of the candidate seasons represents the seasonal effect of the temporal data.