cumulative frequency probability function