Average Predictability Time. Part I: Theory