Basic bounded statistics. In the following, a bound `n`

is given stating
the number of periods over which to compute the statistic (`n == 1`

computes
it only over the current period).

Basic bounded statistics. In the following, a bound `n`

is given stating
the number of periods over which to compute the statistic (`n == 1`

computes
it only over the current period).