Define cumulative frequency distribution