Set the initial values for interval and stat.