PDF and CDF of sample size