HomePapersPdf and pmf function example